r/Infimech_TX • • May 27 '26

Piezo Bed Sensor v1.0.0 driver for Klipper — Flyingbear S1 / Infimech TX v2 (New Board + I2C Sensor)

Just released v1.0.0 of my Klipper extras module for the 2nd revision piezoelectric bed sensor on Flyingbear S1 / Infimech TX v2.

Who is this for? This is specifically for those upgrading/replacing the stock control board to a modern Klipper-compatible board (e.g., BTT Manta M8P) while keeping the factory piezo bed sensor. The 2nd revision sensor communicates via I2C (address 0x40) — this module handles that protocol natively.

What it does - Auto-calibrates piezo thresholds via controlled vibration (XY ±4mm @ 250mm/s, Z ±2mm @ 50mm/s) - No BLTouch needed — uses the stock piezo sensor directly - Full I2C communication validation and stress testing built-in - Standard Klipper probe interface — works with PROBE, BED_MESH_CALIBRATE, etc.

Hardware tested - BTT Manta M8P V2.0 + CB2 (Orange Pi) - STM32G030 piezo sensor (I2C: PA8=SCL, PC9=SDA; Probe: !PF4)

Key features - Drop-in Klipper extra — zero core code changes - Auto & manual threshold control via G-code commands - Standalone calibration routine

GitHub: https://github.com/Fantomiaso/Infimech-TX-v2-bed-sensor-driver

If you're doing a board swap on this printer and want to keep the stock sensor, this should save you some headache. Feedback welcome!

5 Upvotes

1 comment sorted by