Changes for Mini 2 w/ EinsyRetro.

- Pins adjusted for new EinsyRetro boards from Ultimachine.
- Disabled inactivity timeout on Z axis.
- Require rehoming after motors deactivate.
master
Marcio Teixeira 7 years ago
parent 6894765b68
commit 0dc86c383f

@ -13,7 +13,7 @@
* got disabled. * got disabled.
*/ */
#define LULZBOT_FW_VERSION ".50" // Change this with each update #define LULZBOT_FW_VERSION ".51" // Change this with each update
#if ( \ #if ( \
!defined(LULZBOT_Gladiola_Mini) && \ !defined(LULZBOT_Gladiola_Mini) && \
@ -124,7 +124,7 @@
#define LULZBOT_IS_MINI #define LULZBOT_IS_MINI
#define LULZBOT_MINI_BED #define LULZBOT_MINI_BED
#define LULZBOT_USE_EINSYRAMBO #define LULZBOT_USE_EINSYRAMBO
#define LULZBOT_USE_EARLY_EINSY #define LULZBOT_USE_EINSY_RETRO
#define LULZBOT_TWO_PIECE_BED #define LULZBOT_TWO_PIECE_BED
#define LULZBOT_USE_AUTOLEVELING #define LULZBOT_USE_AUTOLEVELING
#define LULZBOT_SENSORLESS_HOMING #define LULZBOT_SENSORLESS_HOMING
@ -142,7 +142,7 @@
#define LULZBOT_IS_MINI #define LULZBOT_IS_MINI
#define LULZBOT_MINI_BED #define LULZBOT_MINI_BED
#define LULZBOT_USE_EINSYRAMBO #define LULZBOT_USE_EINSYRAMBO
#define LULZBOT_USE_EARLY_EINSY #define LULZBOT_USE_EINSY_RETRO
#define LULZBOT_USE_LCD_DISPLAY #define LULZBOT_USE_LCD_DISPLAY
#define LULZBOT_TWO_PIECE_BED #define LULZBOT_TWO_PIECE_BED
#define LULZBOT_USE_AUTOLEVELING #define LULZBOT_USE_AUTOLEVELING
@ -379,6 +379,18 @@
#define LULZBOT_AFTER_Z_HOME_ACTION #define LULZBOT_AFTER_Z_HOME_ACTION
#endif #endif
/************************ STEPPER INACTIVITY TIMEOUT ****************************/
#if !defined(LULZBOT_USE_MAX_ENDSTOPS)
#define LULZBOT_HOME_AFTER_DEACTIVATE
#endif
#if defined(LULZBOT_USE_Z_BELT)
#define LULZBOT_DISABLE_INACTIVE_Z false
#else
#define LULZBOT_DISABLE_INACTIVE_Z true
#endif
/*********************** AUTOLEVELING / BED PROBE *******************************/ /*********************** AUTOLEVELING / BED PROBE *******************************/
#if defined(LULZBOT_USE_AUTOLEVELING) && defined(LULZBOT_MINI_BED) #if defined(LULZBOT_USE_AUTOLEVELING) && defined(LULZBOT_MINI_BED)
@ -1178,8 +1190,11 @@
#if defined(LULZBOT_USE_EINSYRAMBO) #if defined(LULZBOT_USE_EINSYRAMBO)
#define LULZBOT_HAVE_TMC2130 #define LULZBOT_HAVE_TMC2130
// EinsyRambo uses a 0.1 mOhm sense resistor #if defined(LULZBOT_USE_EINSY_RETRO)
#define LULZBOT_R_SENSE 0.12
#else
#define LULZBOT_R_SENSE 0.1 #define LULZBOT_R_SENSE 0.1
#endif
#define LULZBOT_HOLD_MULTIPLIER 0.5 #define LULZBOT_HOLD_MULTIPLIER 0.5

@ -382,13 +382,13 @@
#define DEFAULT_STEPPER_DEACTIVE_TIME 120 #define DEFAULT_STEPPER_DEACTIVE_TIME 120
#define DISABLE_INACTIVE_X true #define DISABLE_INACTIVE_X true
#define DISABLE_INACTIVE_Y true #define DISABLE_INACTIVE_Y true
#define DISABLE_INACTIVE_Z true // set to false if the nozzle will fall down on your printed part when print has finished. #define DISABLE_INACTIVE_Z LULZBOT_DISABLE_INACTIVE_Z // set to false if the nozzle will fall down on your printed part when print has finished.
#define DISABLE_INACTIVE_E true #define DISABLE_INACTIVE_E true
#define DEFAULT_MINIMUMFEEDRATE 0.0 // minimum feedrate #define DEFAULT_MINIMUMFEEDRATE 0.0 // minimum feedrate
#define DEFAULT_MINTRAVELFEEDRATE 0.0 #define DEFAULT_MINTRAVELFEEDRATE 0.0
//#define HOME_AFTER_DEACTIVATE // Require rehoming after steppers are deactivated #define HOME_AFTER_DEACTIVATE LULZBOT_HOME_AFTER_DEACTIVATE // Require rehoming after steppers are deactivated
// @section lcd // @section lcd

@ -59,12 +59,18 @@
#define BOARD_Y_MAX_PIN 24 #define BOARD_Y_MAX_PIN 24
#define BOARD_Z_MAX_PIN 23 #define BOARD_Z_MAX_PIN 23
#endif #endif
#if defined(LULZBOT_USE_EINSY_RETRO)
// Einsy Rambo Retro 0.0b
#define BOARD_X_MAX_PIN 81
#define BOARD_Y_MAX_PIN 57
#define BOARD_Z_MAX_PIN 7
#endif
// //
// Limit Switches // Limit Switches
// //
// EINY 0-.1 - EINSY 0.3 have MAX switches // EINY 0-.1 - EINSY 0.3 have MAX switches
#if defined(LULZBOT_USE_EARLY_EINSY) && defined(LULZBOT_SENSORLESS_HOMING) #if (defined(LULZBOT_USE_EARLY_EINSY) || defined(LULZBOT_USE_EINSY_RETRO)) && defined(LULZBOT_SENSORLESS_HOMING)
#define X_MIN_PIN BOARD_X_DIAG_PIN #define X_MIN_PIN BOARD_X_DIAG_PIN
#define Y_MIN_PIN BOARD_Y_MIN_PIN #define Y_MIN_PIN BOARD_Y_MIN_PIN
#define X_MAX_PIN BOARD_X_MAX_PIN #define X_MAX_PIN BOARD_X_MAX_PIN
@ -78,7 +84,7 @@
#define Z_MAX_PIN BOARD_Z_MAX_PIN #define Z_MAX_PIN BOARD_Z_MAX_PIN
#endif #endif
#elif defined(LULZBOT_USE_EARLY_EINSY) #elif (defined(LULZBOT_USE_EARLY_EINSY) || defined(LULZBOT_USE_EINSY_RETRO))
#define X_MIN_PIN BOARD_X_MIN_PIN #define X_MIN_PIN BOARD_X_MIN_PIN
#define Y_MIN_PIN BOARD_Y_MIN_PIN #define Y_MIN_PIN BOARD_Y_MIN_PIN
#define Z_MIN_PIN BOARD_Z_MIN_PIN #define Z_MIN_PIN BOARD_Z_MIN_PIN
@ -154,15 +160,15 @@
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 0 // Analog Input #define TEMP_0_PIN 0 // Analog Input
#define TEMP_1_PIN 1 // Analog Input //#define TEMP_1_PIN 1 // Analog Input
#define TEMP_BED_PIN 2 // Analog Input #define TEMP_BED_PIN 2 // Analog Input
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 3 #define HEATER_0_PIN 3
#define HEATER_1_PIN 7 //#define HEATER_1_PIN 7
#define HEATER_2_PIN 6 //#define HEATER_2_PIN 6
#define HEATER_BED_PIN 4 #define HEATER_BED_PIN 4
#define FAN_PIN 8 #define FAN_PIN 8
@ -171,8 +177,8 @@
// //
// Misc. Functions // Misc. Functions
// //
#if defined(LULZBOT_USE_EARLY_EINSY) #if defined(LULZBOT_USE_EARLY_EINSY) || defined(LULZBOT_USE_EINSY_RETRO)
#define SDSS 53 // EINY 0-.1 - EINSY 0.3 #define SDSS 53 // EINY 0-.1, EINSY 0.3, EinsyRetro
#else #else
#define SDSS 77 // EINSY 0.4 #define SDSS 77 // EINSY 0.4
#endif #endif
@ -191,8 +197,8 @@
#define BEEPER_PIN 84 #define BEEPER_PIN 84
#define LCD_PINS_RS 82 #define LCD_PINS_RS 82
#if defined(LULZBOT_USE_EARLY_EINSY) #if defined(LULZBOT_USE_EARLY_EINSY) || defined(LULZBOT_USE_EINSY_RETRO)
// EINY 0.1- EINSY-0.3 // EINY 0.1, EINSY-0.3, EinsyRetro
#define LCD_PINS_ENABLE 18 #define LCD_PINS_ENABLE 18
#define LCD_PINS_D4 19 #define LCD_PINS_D4 19
#else #else

Loading…
Cancel
Save