Configurazione Firmware Megatronics v3.0 [Risolto] February 08, 2014 06:09PM |
Registered: 10 years ago Posts: 94 |
Re: 4) Quarta regola "la banalità" February 08, 2014 06:43PM |
Registered: 11 years ago Posts: 514 |
Quote
/****************************************************************************************
* MegaTronics v3.0
*
****************************************************************************************/
#if MOTHERBOARD == 703
#define KNOWN_BOARD 1
#ifndef __AVR_ATmega2560__
#error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
#endif
#define LARGE_FLASH true
#define X_STEP_PIN 58
#define X_DIR_PIN 57
#define X_ENABLE_PIN 59
#define X_MIN_PIN 37
#define X_MAX_PIN 40 //2 //Max endstops default to disabled "-1", set to commented value to enable.
#define Y_STEP_PIN 5 // A6
#define Y_DIR_PIN 17 // A0
#define Y_ENABLE_PIN 4
#define Y_MIN_PIN 41
#define Y_MAX_PIN 38 //15
#define Z_STEP_PIN 16 // A2
#define Z_DIR_PIN 11 // A6
#define Z_ENABLE_PIN 3 // A1
#define Z_MIN_PIN 18
#define Z_MAX_PIN 19
#define E0_STEP_PIN 28
#define E0_DIR_PIN 27
#define E0_ENABLE_PIN 29
#define E1_STEP_PIN 25
#define E1_DIR_PIN 24
#define E1_ENABLE_PIN 26
#define E2_STEP_PIN 22
#define E2_DIR_PIN 60
#define E2_ENABLE_PIN 23
#define SDPOWER -1
#define SDSS 53
#define LED_PIN 13
#define FAN_PIN 7
#define FAN2_PIN 6
#define PS_ON_PIN 12
#define KILL_PIN -1
#define HEATER_0_PIN 8
#define HEATER_1_PIN 9
#define HEATER_2_PIN 10
#define HEATER_3_PIN 2
#if TEMP_SENSOR_0 == -1
#define TEMP_0_PIN 4 // ANALOG NUMBERING
#else
#define TEMP_0_PIN 15 // ANALOG NUMBERING
#endif
#if TEMP_SENSOR_1 == -1
#define TEMP_1_PIN 8 // ANALOG NUMBERING
#else
#define TEMP_1_PIN 13 // ANALOG NUMBERING
#endif
#define TEMP_2_PIN 12 // ANALOG NUMBERING
#define HEATER_BED_PIN 10 // BED
#if TEMP_SENSOR_BED == -1
#define TEMP_BED_PIN 8 // ANALOG NUMBERING
#else
#define TEMP_BED_PIN 14 // ANALOG NUMBERING
#endif
#define BEEPER 61
#define LCD_PINS_RS 32
#define LCD_PINS_ENABLE 31
#define LCD_PINS_D4 14
#define LCD_PINS_D5 30
#define LCD_PINS_D6 39
#define LCD_PINS_D7 15
#define SHIFT_CLK 43
#define SHIFT_LD 35
#define SHIFT_OUT 34
#define SHIFT_EN 44
//buttons are directly attached using keypad
#define BTN_EN1 44
#define BTN_EN2 45
#define BTN_ENC 33 //the click
#define BLEN_C 2
#define BLEN_B 1
#define BLEN_A 0
#define SDCARDDETECT -1 // Megatronics does not use this port
//encoder rotation values
#define encrot0 0
#define encrot1 2
#define encrot2 3
#define encrot3 1
#endif
Re: 4) Quarta regola "la banalità" February 08, 2014 07:34PM |
Registered: 10 years ago Posts: 94 |
Re: 4) Quarta regola "la banalità" February 09, 2014 04:27AM |
Registered: 11 years ago Posts: 514 |
Re: 4) Quarta regola "la banalità" February 09, 2014 04:47AM |
Registered: 10 years ago Posts: 261 |
Re: 4) Quarta regola "la banalità" February 09, 2014 04:51AM |
Registered: 10 years ago Posts: 94 |
Re: 4) Quarta regola "la banalità" February 09, 2014 04:56AM |
Registered: 10 years ago Posts: 261 |
Re: 4) Quarta regola "la banalità" February 09, 2014 05:40AM |
Registered: 10 years ago Posts: 94 |
Re: 4) Quarta regola "la banalità" February 09, 2014 06:34AM |
Registered: 10 years ago Posts: 94 |
Re: 4) Quarta regola "la banalità" February 09, 2014 07:55AM |
Admin Registered: 11 years ago Posts: 954 |
---- "Let me make my move" ---- |
Re: 4) Quarta regola "la banalità" February 09, 2014 10:37AM |
Registered: 10 years ago Posts: 94 |
Re: 4) Quarta regola "la banalità" February 09, 2014 11:51AM |
Registered: 10 years ago Posts: 94 |
Quote
#define X_STEP_PIN 58
#define X_DIR_PIN 57
#define X_ENABLE_PIN 59
#define X_MIN_PIN 37
#define X_MAX_PIN 40 //2 //Max endstops default to disabled "-1", set to commented value to enable.
Quote
#define X_STEP_PIN A4
#define X_DIR_PIN A3
#define X_ENABLE_PIN A5
#define X_MIN_PIN 37
#define X_MAX_PIN 40 //2 //Max endstops default to disabled "-1", set to commented value to enable.
Re: 4) Quarta regola "la banalità" February 09, 2014 12:12PM |
Registered: 11 years ago Posts: 514 |
Re: 4) Quarta regola "la banalità" February 09, 2014 12:19PM |
Registered: 10 years ago Posts: 94 |
Re: Configurazione Firmware Megatronics v3.0 February 09, 2014 09:26PM |
Admin Registered: 11 years ago Posts: 954 |
Re: Configurazione Firmware Megatronics v3.0 February 10, 2014 05:55AM |
Registered: 10 years ago Posts: 110 |
Quote
Gordie
Mi piacerebbe un po' di chiarezza.
1) Stai usando sia termistori che termocoppie per le tue prove? Se sì quali? Parli di termocoppia pt100 ma poi parli di "Si la k e ok"... ("è" o "e"??)
2) Stai facendo le prove sostituendo i valori del motore per l'asse X. Io sto guardando i due Firmware, il Test e quello che ti abbiamo linkato, nel Test vediamo che i pin sono differenti SOLO per l'asse X quindi io ti consiglio di cambiare le cifre nel Firmware linkato SENZA fare copia incolla del codice dal Test ma semplicemente sostituendo le cifre:
58 = A4
57 = A3
59 = A5
Questo per favore fallo con un Firmware scaricato NUOVO, in questo modo siamo sicuri che è pulito da tuoi eventuali errori di copia incolla.
Intanto lavora sul motore in X e poi quando avrai spiegato se e quali termocoppie o termistori stai usando proveremo a sistemarle/i.
Per favore ogni tanto usa le virgole, grazie.
Re: Configurazione Firmware Megatronics v3.0 February 10, 2014 10:37AM |
Admin Registered: 11 years ago Posts: 954 |
Quote
Marlin_main.cpp: In function 'void process_commands()':
Marlin_main.cpp:1608: error: 'DIOA5_RPORT' was not declared in this scope
Marlin_main.cpp:1608: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:1608: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:1608: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:1608: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:1608: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:1608: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:1608: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:1608: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:2076: error: 'DIOA5_RPORT' was not declared in this scope
Marlin_main.cpp:2076: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:2076: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:2076: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:2076: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:2076: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:2076: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:2076: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:2076: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp: In function 'void manage_inactivity()':
Marlin_main.cpp:3275: error: 'DIOA5_RPORT' was not declared in this scope
Marlin_main.cpp:3275: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:3275: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:3275: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:3275: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:3275: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:3275: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:3275: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:3275: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp: In function 'void kill()':
Marlin_main.cpp:3331: error: 'DIOA5_RPORT' was not declared in this scope
Marlin_main.cpp:3331: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:3331: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:3331: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:3331: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:3331: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:3331: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:3331: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:3331: error: 'DIOA5_PIN' was not declared in this scope
Re: Configurazione Firmware Megatronics v3.0 February 10, 2014 12:32PM |
Registered: 10 years ago Posts: 110 |
Quote
Gordie
Ho provato a fare la modifica e a verificare ed infatti l'errore che ho ricevuto è quello che non sono state dichiarate A3 A4 e A5. Bo, a questo punto aspetterei la risposta di RRW. Non so se riguarda fastio.h.
Quote
Marlin_main.cpp: In function 'void process_commands()':
Marlin_main.cpp:1608: error: 'DIOA5_RPORT' was not declared in this scope
Marlin_main.cpp:1608: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:1608: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:1608: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:1608: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:1608: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:1608: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:1608: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:1608: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:2076: error: 'DIOA5_RPORT' was not declared in this scope
Marlin_main.cpp:2076: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:2076: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:2076: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:2076: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:2076: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:2076: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:2076: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:2076: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp: In function 'void manage_inactivity()':
Marlin_main.cpp:3275: error: 'DIOA5_RPORT' was not declared in this scope
Marlin_main.cpp:3275: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:3275: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:3275: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:3275: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:3275: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:3275: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:3275: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:3275: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp: In function 'void kill()':
Marlin_main.cpp:3331: error: 'DIOA5_RPORT' was not declared in this scope
Marlin_main.cpp:3331: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:3331: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:3331: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:3331: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:3331: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:3331: error: 'DIOA5_PIN' was not declared in this scope
Marlin_main.cpp:3331: error: 'DIOA5_WPORT' was not declared in this scope
Marlin_main.cpp:3331: error: 'DIOA5_PIN' was not declared in this scope
Re: Configurazione Firmware Megatronics v3.0 February 10, 2014 04:51PM |
Registered: 10 years ago Posts: 94 |
Re: Configurazione Firmware Megatronics v3.0 February 10, 2014 04:55PM |
Registered: 10 years ago Posts: 94 |
Re: Configurazione Firmware Megatronics v3.0 February 11, 2014 12:15PM |
Registered: 10 years ago Posts: 94 |
Re: Configurazione Firmware Megatronics v3.0 RISOLTO February 11, 2014 12:16PM |
Registered: 10 years ago Posts: 94 |
Re: Configurazione Firmware Megatronics v3.0 February 16, 2014 04:38PM |
Registered: 10 years ago Posts: 110 |
Re: Configurazione Firmware Megatronics v3.0 February 16, 2014 04:52PM |
Registered: 10 years ago Posts: 94 |
Re: Configurazione Firmware Megatronics v3.0 February 16, 2014 06:21PM |
Registered: 10 years ago Posts: 110 |
Re: Configurazione Firmware Megatronics v3.0 February 17, 2014 06:44AM |
Registered: 10 years ago Posts: 94 |
Re: Configurazione Firmware Megatronics v3.0 February 17, 2014 07:10AM |
Registered: 10 years ago Posts: 110 |
ciao ho collegato tutto se uso il firmware test parte la stampante si muove solo l'asse X,se uso il Marlin non si muove niente,non è che riesci a mandarmi la tua configurazione del marlin grazie te ne sarei gratoQuote
acktung77
Se usi il firmware di test e sufficente ... Se usi il marlin devi collegare anche i termistori e gli end stop
Re: Configurazione Firmware Megatronics v3.0 [Risolto] February 17, 2014 12:15PM |
Registered: 10 years ago Posts: 94 |
Re: Configurazione Firmware Megatronics v3.0 [Risolto] February 17, 2014 01:28PM |
Registered: 10 years ago Posts: 110 |
Re: Configurazione Firmware Megatronics v3.0 [Risolto] February 17, 2014 04:05PM |
Registered: 11 years ago Posts: 514 |