Skip to content
An AVR/ARM based piezoelectric sensor for use in ultra-precise applications
Branch: master
Clone or download


The Pyr0-Piezo Z-Axis Sensor

What's this for?

This is a Z-axis sensor for 3D printers.

This design incorporates two different enhancements:

  1. An Ultra-Sensitive Z-Axis sensor utilizing the mechanical force of the nozzle touching the bed, giving a direct measurement with no offsets or referential assumptions to consider

  2. (Optional) An FFC Cable chain (Flat Flexible Cable) that can carry the entire print-head's signals and current in a clean and organized way

Why is this better than X sensor?

  • Vs. Inductive / capacitative sensors: No Offset, more accurate, doesn't require special surface

  • Vs. Mechanical touch (BL-Touch, servo mounted endstops): No Offset, more accurate

  • Vs. removable pressure sensor: More accurate, no need for attaching a device only for levelling

  • Vs. Optical rangefinder / Time of Flight: Much more accurate, doesnt require specific surface

  • Vs. Mechanical endstops: All the things

  • Vs PrecisionPiezoUK version: No potentiometer calibration required, better false-signal filtering


  • Self-calibrating (no more fiddling with tiny potentiometers!)
  • Ultra-precise z-height measurements
  • Zero offset (The nozzle itself is the sensor!)
  • Compatible with ALL surface types
  • No plugging in removable sensors for leveling
  • FFC Cable chain for a clean connection between print head and controller
  • Onboard switchable DC buck converter for 12v or 5v fan operation
  • LED Feedback on all PWM components
  • Standalone version available for drop-in installation

Credit must be given to for getting me started on this project and giving me a place to start. I did build a version of the FFC cable chain based on their electrical designs but found the calibration of the circuit to be very fiddly, as the range of value on the potentiometers that was acceptable was very narrow.

I've since started from scratch using my own BOM and designs, while including an onboard microcontroller to handle auto-calibration. Given that every 3D printer is different, I wanted this sensor to be as easy and stable as other sensors available on the market, but with the increased performance of a piezo sensor.

Discord for support and discussion

Legacy links:

Original Mount (Doesn't work as well as I'd like)

Original Mount v1 (Doesnt work at all)

Original Piezo + FFC board

This is a complete redesign from the ground up, but was based on principles and methodologies developed by PrecisionPiezoUK

Original FFC Cable Chain designs can be found on my Thingiverse:

Please refer to for license information

You can’t perform that action at this time.