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.
*/
#define LULZBOT_FW_VERSION ".50" // Change this with each update
#define LULZBOT_FW_VERSION ".51" // Change this with each update
#if ( \
!defined(LULZBOT_Gladiola_Mini) && \
@ -124,7 +124,7 @@
#define LULZBOT_IS_MINI
#define LULZBOT_MINI_BED
#define LULZBOT_USE_EINSYRAMBO
#define LULZBOT_USE_EARLY_EINSY
#define LULZBOT_USE_EINSY_RETRO
#define LULZBOT_TWO_PIECE_BED
#define LULZBOT_USE_AUTOLEVELING
#define LULZBOT_SENSORLESS_HOMING
@ -142,7 +142,7 @@
#define LULZBOT_IS_MINI
#define LULZBOT_MINI_BED
#define LULZBOT_USE_EINSYRAMBO
#define LULZBOT_USE_EARLY_EINSY
#define LULZBOT_USE_EINSY_RETRO
#define LULZBOT_USE_LCD_DISPLAY
#define LULZBOT_TWO_PIECE_BED
#define LULZBOT_USE_AUTOLEVELING
@ -379,6 +379,18 @@
#define LULZBOT_AFTER_Z_HOME_ACTION
#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 *******************************/
#if defined(LULZBOT_USE_AUTOLEVELING) && defined(LULZBOT_MINI_BED)
@ -1178,8 +1190,11 @@
#if defined(LULZBOT_USE_EINSYRAMBO)
#define LULZBOT_HAVE_TMC2130
// EinsyRambo uses a 0.1 mOhm sense resistor
#define LULZBOT_R_SENSE 0.1
#if defined(LULZBOT_USE_EINSY_RETRO)
#define LULZBOT_R_SENSE 0.12
#else
#define LULZBOT_R_SENSE 0.1
#endif
#define LULZBOT_HOLD_MULTIPLIER 0.5

@ -382,13 +382,13 @@
#define DEFAULT_STEPPER_DEACTIVE_TIME 120
#define DISABLE_INACTIVE_X 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 DEFAULT_MINIMUMFEEDRATE 0.0 // minimum feedrate
#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

@ -59,12 +59,18 @@
#define BOARD_Y_MAX_PIN 24
#define BOARD_Z_MAX_PIN 23
#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
//
// 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 Y_MIN_PIN BOARD_Y_MIN_PIN
#define X_MAX_PIN BOARD_X_MAX_PIN
@ -78,7 +84,7 @@
#define Z_MAX_PIN BOARD_Z_MAX_PIN
#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 Y_MIN_PIN BOARD_Y_MIN_PIN
#define Z_MIN_PIN BOARD_Z_MIN_PIN
@ -154,15 +160,15 @@
// Temperature Sensors
//
#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
//
// Heaters / Fans
//
#define HEATER_0_PIN 3
#define HEATER_1_PIN 7
#define HEATER_2_PIN 6
//#define HEATER_1_PIN 7
//#define HEATER_2_PIN 6
#define HEATER_BED_PIN 4
#define FAN_PIN 8
@ -171,8 +177,8 @@
//
// Misc. Functions
//
#if defined(LULZBOT_USE_EARLY_EINSY)
#define SDSS 53 // EINY 0-.1 - EINSY 0.3
#if defined(LULZBOT_USE_EARLY_EINSY) || defined(LULZBOT_USE_EINSY_RETRO)
#define SDSS 53 // EINY 0-.1, EINSY 0.3, EinsyRetro
#else
#define SDSS 77 // EINSY 0.4
#endif
@ -191,8 +197,8 @@
#define BEEPER_PIN 84
#define LCD_PINS_RS 82
#if defined(LULZBOT_USE_EARLY_EINSY)
// EINY 0.1- EINSY-0.3
#if defined(LULZBOT_USE_EARLY_EINSY) || defined(LULZBOT_USE_EINSY_RETRO)
// EINY 0.1, EINSY-0.3, EinsyRetro
#define LCD_PINS_ENABLE 18
#define LCD_PINS_D4 19
#else

Loading…
Cancel
Save