Cambiare socket estrusore da E0 a E1 su Ramps April 12, 2020 05:48AM |
Registered: 9 years ago Posts: 54 |
Quote
bilanciamist
ho scaricato due versioni di MK che differiscono solo per il socket dell'estrusore. Le uniche differenze sono queste:
"E0motor": { "name": "Extruder 0", "step": "ORIG_E0_STEP_PIN", "dir": "ORIG_E0_DIR_PIN", "enable": "ORIG_E0_ENABLE_PIN"diventa
"E0motor": { "name": "Extruder 1", "step": "ORIG_E1_STEP_PIN", "dir": "ORIG_E1_DIR_PIN", "enable": "ORIG_E1_ENABLE_PIN"e nel file configuration_pins
// E axis pins #if DRIVER_EXTRUDERS > 0 #define E0_STEP_PIN ORIG_E0_STEP_PIN #define E0_DIR_PIN ORIG_E0_DIR_PIN #define E0_ENABLE_PIN ORIG_E0_ENABLE_PINdiventa
// E axis pins #if DRIVER_EXTRUDERS > 0 #define E0_STEP_PIN ORIG_E1_STEP_PIN #define E0_DIR_PIN ORIG_E1_DIR_PIN #define E0_ENABLE_PIN ORIG_E1_ENABLE_PIN
Re: Cambiare socket estrusore da E0 a E1 su Ramps April 12, 2020 08:18AM |
Registered: 11 years ago Posts: 6,409 |
Re: Cambiare socket estrusore da E0 a E1 su Ramps April 12, 2020 09:03AM |
Registered: 9 years ago Posts: 54 |
Ti ringrazio per la pronta risposta: speravo proprio di riuscire ad intercettarti aprendo un thread quiQuote
MagoKimbra
Il firmware in tuo possesso è diverso dagli attuali... Apri il file pin.h e trova la sezione della tua scheda, la 33 se non sbaglio e li inverti i pin di e0 con E1 e viceversa...
Re: Cambiare socket estrusore da E0 a E1 su Ramps April 12, 2020 10:56AM |
Registered: 11 years ago Posts: 6,409 |
Re: Cambiare socket estrusore da E0 a E1 su Ramps April 12, 2020 11:11AM |
Registered: 9 years ago Posts: 54 |
/**************************************************************************************** * 33 * RAMPS 1.3 / 1.4 * RAMPS_13_EFB (Extruder, Fan, Bed) ****************************************************************************************/ #if MB(RAMPS_13_EF#define KNOWN_BOARD 1 #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__) #error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu. #endif #define LARGE_FLASH true //X axis pins #define ORIG_X_STEP_PIN 54 #define ORIG_X_DIR_PIN 55 #define ORIG_X_ENABLE_PIN 38 #define X_MIN_PIN 3 #define X_MAX_PIN 2 //Y axis pins #define ORIG_Y_STEP_PIN 60 #define ORIG_Y_DIR_PIN 61 #define ORIG_Y_ENABLE_PIN 56 #define Y_MIN_PIN 14 #define Y_MAX_PIN 15 #define Y2_STEP_PIN 36 #define Y2_DIR_PIN 34 #define Y2_ENABLE_PIN 30 //Z axis pins #define ORIG_Z_STEP_PIN 46 #define ORIG_Z_DIR_PIN 48 #define ORIG_Z_ENABLE_PIN 62 #define Z_MIN_PIN 18 #define Z_MAX_PIN -1 #define Z_PROBE_PIN 19 #define Z2_STEP_PIN 36 #define Z2_DIR_PIN 34 #define Z2_ENABLE_PIN 30 //E axis pins #define ORIG_E0_STEP_PIN 36 #define ORIG_E0_DIR_PIN 34 #define ORIG_E0_ENABLE_PIN 30 #define ORIG_E1_STEP_PIN 26 #define ORIG_E1_DIR_PIN 28 #define ORIG_E1_ENABLE_PIN 24
Arduino:1.6.6 (Windows 10), Scheda:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)" C:\Users\Luca\AppData\Local\Temp\buildbc470fc2830dffe401c06fd026c26534.tmp/core\core.a(main.cpp.o): In function `main': C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/main.cpp:37: undefined reference to `setup' C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/main.cpp:47: undefined reference to `loop' collect2.exe: error: ld returned 1 exit status exit status 1 Errore durante la compilazione Questo report potrebbe essere più ricco di informazioni con "Mostra un output dettagliato durante la compilazione" abilitato in "File > Impostazioni"
Re: Cambiare socket estrusore da E0 a E1 su Ramps April 12, 2020 11:17AM |
Registered: 11 years ago Posts: 6,409 |
Re: Cambiare socket estrusore da E0 a E1 su Ramps April 12, 2020 11:28AM |
Registered: 9 years ago Posts: 54 |
Re: Cambiare socket estrusore da E0 a E1 su Ramps April 12, 2020 01:27PM |
Registered: 9 years ago Posts: 54 |
Arduino:1.8.12 (Windows 10), Scheda:"Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)" In file included from sketch\MK4duo.h:133:0, from C:\Users\Luca\Downloads\MK4duo_12-04-2020_192321\MK4duo\MK4duo.ino:359: sketch\src/core/sdcard/sdcard.h:26:10: fatal error: SdFat.h: No such file or directory #include ^~~~~~~~~ compilation terminated. exit status 1 Errore durante la compilazione per la scheda Arduino Mega or Mega 2560. Questo report potrebbe essere più ricco di informazioni abilitando l'opzione "Mostra un output dettagliato durante la compilazione" in "File -> Impostazioni"
Re: Cambiare socket estrusore da E0 a E1 su Ramps April 12, 2020 04:50PM |
Registered: 11 years ago Posts: 6,409 |
Re: Cambiare socket estrusore da E0 a E1 su Ramps April 13, 2020 08:23AM |
Registered: 9 years ago Posts: 54 |
Re: Cambiare socket estrusore da E0 a E1 su Ramps April 13, 2020 01:37PM |
Registered: 7 years ago Posts: 1,059 |