32bit board with LPC1768, support marlin2.0 and smoothieware, support lcd2004/12864, On-board TMC2130 SPI interface and TMC2208 UART interface no additional wiring is required
999
stars
1.15k
forks
source link
skr 1.4 turbo tmc2209// Marlin Z endstop inverted at all times #513
Hey, so I was setting up my new SKR1.4T with tmc2209 drivers for my Ender 3 pro. Everything was running smoothly until the first homing. I'm using sensorless homing on the X and Y axis and that's working perfectly. When I tried to home the Z-axis it just went a Lil bit up. I typed M119 in Pronterface to see if the endstop is triggered, and it was. When I tried to press it manually with my finger it said open. So obviously I tried to invert my Z Min endstop in marlin, did this for like 4 times and all the times it was the same, always inverted. I have cut the UART pin on the z driver as shown in the instruction manual.
Thanks, Sam
// Specify here all the endstop connectors that are connected to any endstop or probe.
// Almost all printers will be using one per axis. Probes will use one or more of the
// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
// Enable this feature if all enabled endstop pins are interrupt-capable.
// This will remove the need to poll the interrupt pins, saving many CPU cycles.
//#define ENDSTOP_INTERRUPTS_FEATURE
/**
Endstop Noise Threshold
Enable if your probe or endstops falsely trigger due to noise.
Higher values may affect repeatability or accuracy of some bed probes.
To fix noise install a 100nF ceramic capacitor inline with the switch.
This feature is not required for common micro-switches mounted on PCBs
based on the Makerbot design, which already have the 100nF capacitor.
Hey, so I was setting up my new SKR1.4T with tmc2209 drivers for my Ender 3 pro. Everything was running smoothly until the first homing. I'm using sensorless homing on the X and Y axis and that's working perfectly. When I tried to home the Z-axis it just went a Lil bit up. I typed M119 in Pronterface to see if the endstop is triggered, and it was. When I tried to press it manually with my finger it said open. So obviously I tried to invert my Z Min endstop in marlin, did this for like 4 times and all the times it was the same, always inverted. I have cut the UART pin on the z driver as shown in the instruction manual. Thanks, Sam
`//=========================================================================== //============================== Endstop Settings =========================== //===========================================================================
// @section homing
// Specify here all the endstop connectors that are connected to any endstop or probe. // Almost all printers will be using one per axis. Probes will use one or more of the // extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
define USE_XMIN_PLUG
define USE_YMIN_PLUG
define USE_ZMIN_PLUG
//#define USE_XMAX_PLUG //#define USE_YMAX_PLUG //#define USE_ZMAX_PLUG
// Enable pullup for all endstops to prevent a floating state
define ENDSTOPPULLUPS
if DISABLED(ENDSTOPPULLUPS)
// Disable ENDSTOPPULLUPS to set pullups individually //#define ENDSTOPPULLUP_XMAX //#define ENDSTOPPULLUP_YMAX //#define ENDSTOPPULLUP_ZMAX //#define ENDSTOPPULLUP_XMIN //#define ENDSTOPPULLUP_YMIN //#define ENDSTOPPULLUP_ZMIN //#define ENDSTOPPULLUP_ZMIN_PROBE
endif
// Enable pulldown for all endstops to prevent a floating state //#define ENDSTOPPULLDOWNS
if DISABLED(ENDSTOPPULLDOWNS)
// Disable ENDSTOPPULLDOWNS to set pulldowns individually //#define ENDSTOPPULLDOWN_XMAX //#define ENDSTOPPULLDOWN_YMAX //#define ENDSTOPPULLDOWN_ZMAX //#define ENDSTOPPULLDOWN_XMIN //#define ENDSTOPPULLDOWN_YMIN //#define ENDSTOPPULLDOWN_ZMIN //#define ENDSTOPPULLDOWN_ZMIN_PROBE
endif
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
define X_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
define Y_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
define Z_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
define X_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
define Y_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
define Z_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
define Z_MIN_PROBE_ENDSTOP_INVERTING false // Set to true to invert the logic of the probe.
/**
define X_DRIVER_TYPE TMC2209
define Y_DRIVER_TYPE TMC2209
define Z_DRIVER_TYPE TMC2209
//#define X2_DRIVER_TYPE A4988 //#define Y2_DRIVER_TYPE A4988 //#define Z2_DRIVER_TYPE A4988 //#define Z3_DRIVER_TYPE A4988 //#define Z4_DRIVER_TYPE A4988
define E0_DRIVER_TYPE TMC2209
//#define E1_DRIVER_TYPE A4988 //#define E2_DRIVER_TYPE A4988 //#define E3_DRIVER_TYPE A4988 //#define E4_DRIVER_TYPE A4988 //#define E5_DRIVER_TYPE A4988 //#define E6_DRIVER_TYPE A4988 //#define E7_DRIVER_TYPE A4988
// Enable this feature if all enabled endstop pins are interrupt-capable. // This will remove the need to poll the interrupt pins, saving many CPU cycles. //#define ENDSTOP_INTERRUPTS_FEATURE
/**