Skip to content
This repository has been archived by the owner on Oct 1, 2022. It is now read-only.

Commit

Permalink
U1.R2.9 Pre-release
Browse files Browse the repository at this point in the history
Ender 4 Support
BL Touch Support
Anet + EZABL Bugfix
Control > Motion > Steps/mm & Jerk Brought Back for 1284p boards
  • Loading branch information
Timothy Hoogland committed Mar 3, 2019
1 parent c8d3f95 commit 05a5bdd
Show file tree
Hide file tree
Showing 5 changed files with 104 additions and 6 deletions.
20 changes: 19 additions & 1 deletion TH3DUF_R2/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,24 @@
// If you are using a dual hotend with dual nozzles uncomment the below line
//#define DUAL_HOTEND_DUAL_NOZZLES

//===========================================================================
// Creality Ender 4 Options - Select 'Arduino Mega 2560' from Tools > Board
//===========================================================================
//#define ENDER4

// If you have the filament sensor from Creality uncomment the below line
//#define ENDER4_FIL

// If you are using our EZOut V2 (connected to X+ connector) filament sensor kit please follow the install guide
// and then uncomment the #define EZOUT_ENABLE line below.
// Do NOT ever connect our filament sensor without the supplied adapter board.
//#define EZOUTV2_ENABLE

// EZABL Probe Mounts
//#define ENDER4_OEM_LEFT
//#define ENDER4_OEM_RIGHT //need to design
//#define CUSTOM_PROBE

//===========================================================================
// Creality Ender 5 Options - Select 'Sanguino 1284p' from Tools > Board
//===========================================================================
Expand Down Expand Up @@ -676,6 +694,6 @@

#include "Configuration_backend.h"

#define UNIFIED_VERSION "TH3D U1.R2.8a"
#define UNIFIED_VERSION "TH3D U1.R2.9"

#endif // CONFIGURATION_H
6 changes: 3 additions & 3 deletions TH3DUF_R2/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -272,15 +272,15 @@
#else
#define BABYSTEP_MULTIPLICATOR 10
#endif
#if ENABLED(EZABL_ENABLE)
#if ENABLED(EZABL_ENABLE) && DISABLED(LCD2004)
#define BABYSTEP_ZPROBE_OFFSET
#define BABYSTEP_ZPROBE_GFX_OVERLAY
#define BABYSTEP_ZPROBE_GFX_OVERLAY
#endif
#define DOUBLECLICK_FOR_Z_BABYSTEPPING
#define DOUBLECLICK_MAX_INTERVAL 2000

#if ENABLED(EZABL_ENABLE) && DISABLED(LCD2004)

#define BABYSTEP_ZPROBE_OFFSET
#endif
#endif

Expand Down
76 changes: 75 additions & 1 deletion TH3DUF_R2/Configuration_backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
#define DISABLE_BOOT
#endif
#endif
#if ENABLED(ENDER4_OEM_LEFT)
#define X_PROBE_OFFSET_FROM_EXTRUDER -53
#define Y_PROBE_OFFSET_FROM_EXTRUDER -19
#define EZABL_ENABLE
#endif
#if ENABLED(ADIM_I3P_OEM)
#define X_PROBE_OFFSET_FROM_EXTRUDER 33
#define Y_PROBE_OFFSET_FROM_EXTRUDER -60
Expand Down Expand Up @@ -151,6 +156,75 @@
#define DISABLE_BOOT
#endif

//Ender 4 Settings
#if ENABLED(ENDER4)
#define BAUDRATE 115200

#ifndef MOTHERBOARD
#define MOTHERBOARD BOARD_RAMPS_ENDER_4
#endif

#define X_MIN_ENDSTOP_INVERTING true
#define Y_MIN_ENDSTOP_INVERTING false
#define Z_MIN_ENDSTOP_INVERTING false
#define X_MAX_ENDSTOP_INVERTING false
#define Y_MAX_ENDSTOP_INVERTING false
#define Z_MAX_ENDSTOP_INVERTING false
#define Z_MIN_PROBE_ENDSTOP_INVERTING false

#if ENABLED(TITAN_EXTRUDER)
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, TITAN_EXTRUDER_STEPS }
#else
#if ENABLED(CUSTOM_ESTEPS)
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, CUSTOM_ESTEPS_VALUE }
#else
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 95 }
#endif
#endif

#define REPRAP_DISCOUNT_SMART_CONTROLLER
#define LCD2004

#define DEFAULT_MAX_FEEDRATE { 400, 400, 15, 50 }

#define DEFAULT_MAX_ACCELERATION { 1000, 1000, 50, 5000 }

#define DEFAULT_ACCELERATION 1000
#define DEFAULT_RETRACT_ACCELERATION 1000
#define DEFAULT_TRAVEL_ACCELERATION 1000

#define COREXY

#define X_BED_SIZE 220
#define Y_BED_SIZE 220
#define Z_MAX_POS 310

#if ENABLED(HOME_ADJUST)
#define X_MIN_POS X_HOME_LOCATION
#define Y_MIN_POS Y_HOME_LOCATION
#else
#define X_MIN_POS 0
#define Y_MIN_POS 0
#endif

#define DEFAULT_XJERK 10.0
#define DEFAULT_YJERK 10.0
#define DEFAULT_ZJERK 0.4
#define DEFAULT_EJERK 5.0

#define INVERT_X_DIR true
#define INVERT_Y_DIR true
#define INVERT_Z_DIR true

#if ENABLED(TITAN_EXTRUDER)
#define INVERT_E0_DIR false
#else
#define INVERT_E0_DIR true
#endif

#define PRINTER_ENABLED_CHECK
#endif //end ender 4 settings

//Tronxy X5S Settings
#if ENABLED(TRONXY_X5S)
#define SLIM_1284P
Expand Down Expand Up @@ -2019,7 +2093,7 @@
#define MAX_SOFTWARE_ENDSTOP_Z
#endif

#if ENABLED(EZOUT_ENABLE) || ENABLED(EZOUTV2_ENABLE) || (ENABLED(CR10S) && DISABLED(CR10S_NOFILAMENTSENSOR)) || (ENABLED(CR10S_MINI) && DISABLED(CR10S_NOFILAMENTSENSOR)) || (ENABLED(CR10S_S4) && DISABLED(CR10S_NOFILAMENTSENSOR)) || (ENABLED(CR10S_S5) && DISABLED(CR10S_NOFILAMENTSENSOR)) || ENABLED(ALFAWISE_U10) || ENABLED(ADIM_GANTRY_I3_PLUS)
#if ENABLED(EZOUT_ENABLE) || ENABLED(EZOUTV2_ENABLE) || (ENABLED(CR10S) && DISABLED(CR10S_NOFILAMENTSENSOR)) || (ENABLED(CR10S_MINI) && DISABLED(CR10S_NOFILAMENTSENSOR)) || (ENABLED(CR10S_S4) && DISABLED(CR10S_NOFILAMENTSENSOR)) || (ENABLED(CR10S_S5) && DISABLED(CR10S_NOFILAMENTSENSOR)) || ENABLED(ALFAWISE_U10) || ENABLED(ADIM_GANTRY_I3_PLUS) || ENABLED(ENDER4_FIL)
#define FILAMENT_RUNOUT_SENSOR
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
#if ENABLED(EZOUT_ENABLE) || ENABLED(EZOUTV2_ENABLE) || ENABLED(ADIM_GANTRY_I3_PLUS)
Expand Down
4 changes: 4 additions & 0 deletions TH3DUF_R2/SanityCheck.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
#error "Only use one type of EZOut sensor at a time. Please read the EZOut installation guide for details."
#endif

#if ENABLED(EZOUTV2_ENABLE) && ENABLED(ENDER4_FIL)
#error "Only use one type of filament sensor at a time on the Ender 4. Please enable the one you have and disable the other."
#endif

#if ENABLED(TH3D_HOTEND_THERMISTOR) && ENABLED(V6_HOTEND)
#error "Only select one type of hotend thermistor setting."
#endif
Expand Down
4 changes: 3 additions & 1 deletion TH3DUF_R2/pins_RAMPS.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@
#ifndef X_MAX_PIN
#if ENABLED(EZOUTV2_ENABLE)
#define X_MAX_PIN -1
#elif ENABLED(ENDER4_FIL)
#define X_MAX_PIN -1
#else
#define X_MAX_PIN 2
#endif
Expand Down Expand Up @@ -286,7 +288,7 @@
#endif

// define digital pin 4 for the filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector
#if ENABLED(EZOUTV2_ENABLE)
#if ENABLED(EZOUTV2_ENABLE) || ENABLED(ENDER4_FIL)
#if ENABLED(TIM_SMARTT)
#define FIL_RUNOUT_PIN 57
#else
Expand Down

0 comments on commit 05a5bdd

Please sign in to comment.