You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal is to run Bambulab's proprietary extruder servo motor from the P2S 3D printer on Klipper-based 3D printers. Uses an ESP32 and a FOC driver to translate step/dir commands from standard printer mainboards (e.g. Manta M8P) into closed-loop FOC control.
Bambulab's extruder servo uses a proprietary interface. This adapter makes it work with any Klipper mainboard that outputs step/dir signals.
How it works:
Klipper mainboard sends step/dir pulses to ESP32
ESP32 counts pulses using hardware PCNT and converts to target angle
SimpleFOC library drives the BLDC motor with closed-loop FOC control
MT6835 magnetic encoder provides position feedback
Quick Start
# Build and upload using platformio
pio run -e main -t upload
# Monitor serial output
pio device monitor -b 115200