BLTouch is a contact-type bed probe with a small retractable pin that a 3D printer lowers onto the print surface to measure its height at many points. In 3D printer hardware, it is one of the most widely installed upgrades for automatic bed leveling, and it can also serve as the Z endstop for homing.
Because the pin physically touches the bed, the BLTouch works on glass, PEI, textured steel and almost any other surface, unlike inductive or capacitive sensors that depend on the bed material. Its typical repeatability of a few micrometers is good enough to compensate for warped beds and uneven gantries in 3D printing & making.
How the BLTouch pin and sensor work
The BLTouch combines a push pin, a small electromagnet and a Hall effect sensor in one housing. A magnet on top of the pin holds it either retracted or extended; a short current pulse through the coil flips it between those positions. When the extended pin touches the bed, it is pushed upward and the Hall sensor detects the magnet moving, which triggers the signal output.
The controller treats the probe much like a hobby servo. It sends PWM pulses on a control wire to deploy, stow, self-test or reset the probe, and it reads a separate trigger signal wired to the Z-min input or a dedicated probe pin. After each trigger, the pin retracts automatically to protect itself from being dragged across the bed.
The common firmware commands map to specific pulse widths. The table below lists the states that matter in daily use, expressed as the Marlin servo angles most configurations use.
| Command | Marlin servo value | Result |
|---|---|---|
| Deploy pin | M280 P0 S10 | Pin extends for probing |
| Stow pin | M280 P0 S90 | Pin retracts into housing |
| Self-test | M280 P0 S120 | Pin cycles up and down |
| Alarm release | M280 P0 S160 | Clears the error state |
When the pin cannot deploy or stow correctly, the probe enters an alarm state and its red LED blinks. The alarm protects the mechanism and must be cleared by a reset command or a power cycle before probing can continue.
Wiring, versions and configuration
A BLTouch uses five wires: three for power and control (5 V, ground and the PWM signal) and two for the trigger output (signal and ground). Mainboards with a dedicated probe header accept all five on one connector, while older boards route the trigger pair to the Z-min endstop input.
Hardware revisions differ mainly in their logic level and electronics. Newer versions offer a selectable 3.3 V or 5 V open-drain output, which matters because many 32-bit boards cannot accept a 5 V signal safely. The comparison below covers the variants most likely to be encountered.
| Variant | Output logic | Typical use |
|---|---|---|
| BLTouch Classic | 5 V | Older 8-bit boards |
| BLTouch Smart V3.x | Selectable 3.3 V or 5 V | Most current 32-bit boards |
| Third-party clones | Varies by maker | Budget printers, inconsistent quality |
Firmware setup requires three essentials: enabling the probe type, entering the probe offset from the nozzle in X, Y and Z, and choosing a leveling method such as bilinear or unified bed leveling. In Marlin the Z offset is set with M851 and saved with M500, while Klipper uses a [bltouch] section in its configuration file.
How BLTouch compares with other bed probes
A BLTouch is one of several approaches to measuring the bed position. Its strength is surface independence; its weaknesses are mechanical wear, a slower probing cycle and the need for space beside the hotend.
| Probe type | Sensing principle | Bed surfaces | Main limitation |
|---|---|---|---|
| BLTouch | Pin contact with Hall sensor | Any rigid surface | Moving parts, slower cycles |
| Inductive probe | Eddy currents in metal | Steel or iron only | Temperature drift |
| Capacitive probe | Change in capacitance | Most surfaces | Humidity and temperature drift |
| Nozzle load cell | Force on the nozzle | Any surface | Requires clean nozzle, special hardware |
| Mechanical endstop | Microswitch contact | Not a mesh probe | Measures only one point |
Many modern printers from manufacturers such as Prusa Research and Bambu Lab now use nozzle-based sensing, which removes the probe offset entirely. The BLTouch remains popular as a retrofit for Cartesian and bed slinger printers that shipped without any probe.
Practical use and limitations
A BLTouch measures the bed but does not correct a badly trammed gantry. Mesh compensation works best when the bed is already within about 0.2 to 0.3 mm of flat and the X gantry is parallel to it, because large corrections cause visible changes in layer thickness across the part.
Accuracy depends heavily on mounting. A rigid bracket, a probe height of roughly 2 to 3 mm above the nozzle tip when stowed, and a probe position inside the printable area all reduce errors. Probing at printing temperature captures thermal expansion of the bed.
Repeatability can be verified rather than assumed. Marlin offers M48 probe repeatability testing, which probes one point several times and reports the standard deviation; a healthy unit typically stays in the range of a few micrometers to about 0.01 mm. Klipper provides a similar PROBE_ACCURACY command. Values well above that range usually indicate a loose mount, worn pin or electrical noise on the signal lines rather than a faulty sensor.
Probe density is another trade-off. A denser mesh describes a complex bed shape more precisely but adds time before every print, so many users store one mesh and reload it, re-probing only after changing the build plate or the bed temperature.
- A loose mount causes inconsistent readings that look like a warped bed.
- A wrong Z offset is the most common cause of a first layer that is too high or too low.
- Strong magnetic fields from nearby fans or magnetic beds can disturb some units.
- Probing at too high speed reduces repeatability and wears the pin.
In plain words
A 3D printer needs to know exactly where its bed is. Beds are never perfectly flat. The BLTouch is a tiny feeler that measures this.
Before a print, it pokes the bed with a small pin at many spots. It records how high or low each spot is. The printer then adjusts the nozzle height as it moves. Think of a person tapping a table with a pencil to find the dips. The result is a more even first layer that sticks well.
A real-world example
A maker owns an older bed slinger printer with a slightly warped aluminum bed. Prints often fail in one corner, where the first layer barely touches the surface. Manual leveling with paper takes twenty minutes and never holds for long.
The maker installs a BLTouch on a printed bracket, wires it to the probe header of a 32-bit board in 3.3 V mode, and enables bilinear leveling with a 5 by 5 grid in Marlin. After setting the Z offset to -1.85 mm with a paper test, the printer probes the bed at 60 °C before each job.
The mesh shows a 0.22 mm low corner, which the firmware now compensates. First layers become even across the whole plate, and failed starts drop to nearly zero over the following months.