An FSR (force-sensing resistor) under the bed can tell Smoothie when the nozzle touches the bed. FSRs can be used as bed leveling sensors with Smoothieboard to provide automatic bed leveling for 3D printers.
To use FSRs with the Smoothieboard, an auxiliary board is needed to interface the FSRs to the Smoothieboard’s endstop input. Smoothieware will accept this input as if it were a simple mechanical switch.
Connect the FSRs to an FSR controller. The controller turns the change in resistance into a switch signal that Smoothie can read on a Z-probe input. Check the controller’s supply and output voltage against your board pinout before connecting it.
JohnSL on GitHub has created an FSR controller board specifically for this purpose. It is powered directly from the endstop pins, which makes installation straightforward.
See the JohnSL board files and wiring and John’s write-up. The board can get power from an endstop connector if the supply and pin order match. See the AndOrNot FSR pad design for a delta printer mounting example.
The original suppliers included AndOrNot, TriD Printing, and UltiBots.
For a square bed on a Cartesian printer, see the four-input Toucher controller and its FSR mounts.
The Deltabot group is where most discussion on using FSRs is located. Look there for mounting examples and other controllers, including alternative boards like the Arduino Mini, WingWong’s Trinket-derived design, and FSR mounting techniques and best practices.
Set up the input as a Z probe. These examples use 5 mm/s for probing and start 5 mm above the bed. Set the pin to the one you actually wired and set the speeds and height for your machine. The ^ turns on the pull-up and ! inverts the input. Check the trigger state before moving the nozzle. The probe pin depends on which endstop connector you use, so refer to the Smoothieboard pinout to find the correct pin for your setup. For example, on V1 1.28!^ means pin 1.28, inverted (!), with the pull-up enabled (^).
zprobe.enable true
zprobe.probe_pin 1.28!^
zprobe.slow_feedrate 5
zprobe.fast_feedrate 100
zprobe.return_feedrate 50
zprobe.probe_height 5
[zprobe]
enable = true
probe_pin = PB10^
slow_feedrate = 5
fast_feedrate = 100
return_feedrate = 50
probe_height = 5
To use the probe for leveling, add a leveling strategy. This is an example for three-point leveling, with points the nozzle can reach inside a 200 mm bed (change them for your bed):
leveling-strategy.three-point-leveling.enable true
leveling-strategy.three-point-leveling.point1 10.0,10.0
leveling-strategy.three-point-leveling.point2 190.0,10.0
leveling-strategy.three-point-leveling.point3 100.0,190.0
[zprobe]
leveling = three point
[three point leveling strategy]
point1 = 10.0, 10.0
point2 = 190.0, 10.0
point3 = 100.0, 190.0
For a Cartesian printer, see three-point leveling or grid leveling. Pick probe points the nozzle can reach inside the bed. For a delta printer, see delta calibration.
FSR not triggering:
! (inversion) flag in the pin configuration.False triggers:
debounce_ms in the probe options to filter electrical noise.Intermittent detection:
With the nozzle clear of the bed, send
With FSRs, the nozzle touches the bed directly, so the bed needs mounts that pass that force to the sensors. A BLTouch-style probe mounts on the print head and touches the bed with its own pin. Set its offset from the nozzle when you configure it.
FSRs:
BLTouch:
For more information about BLTouch, see the probe documentation.
See the 3D printer guide for machine setup and Endstops for the switches used in homing.
This comes from the older wiki page and has not been checked against the current firmware. The current firmware has no debounce_count setting for the Z probe (the V1 source uses debounce_ms, see probe options), and V2 pin names for the STM32H745 board are not the P1_28 style used below. The text is kept so nothing from the older page is lost; use the examples in Configuration for current settings.
# Z probe configuration for FSR
zprobe.enable true
zprobe.probe_pin 1.28!^ # Pin connected to FSR controller output
zprobe.slow_feedrate 5 # Slow probe speed in mm/sec
zprobe.fast_feedrate 100 # Fast probe speed in mm/sec
zprobe.return_feedrate 50 # Speed to return after probe
zprobe.probe_height 5 # Height above bed to start probe
zprobe.debounce_count 10 # Number of samples for debouncing
# Leveling strategy
leveling-strategy.three-point-leveling.enable true
leveling-strategy.three-point-leveling.point1 10.0,10.0 # First probe point
leveling-strategy.three-point-leveling.point2 190.0,10.0 # Second probe point
leveling-strategy.three-point-leveling.point3 100.0,190.0 # Third probe point
Pin syntax:
1.28!^ means pin 1.28, inverted (!), with pull-up enabled (^)[zprobe]
enable = true
probe_pin = P1_28!^ # Pin connected to FSR controller output
slow_feedrate = 5 # Slow probe speed in mm/sec
fast_feedrate = 100 # Fast probe speed in mm/sec
return_feedrate = 50 # Speed to return after probe
probe_height = 5 # Height above bed to start probe
debounce_count = 10 # Number of samples for debouncing
[leveling_strategy.three_point]
enable = true
point1 = 10.0, 10.0 # First probe point
point2 = 190.0, 10.0 # Second probe point
point3 = 100.0, 190.0 # Third probe point
Pin syntax:
P1_28!^ means pin P1.28, inverted (!), with pull-up enabled (^)The older page also advised, for false triggers, to increase zprobe.debounce_count to filter electrical noise, and to try different values (typically 5-20) if the probe triggers intermittently. With the current setting, try different debounce_ms values instead.