CNC Milling Machine Control

Armin Rehberger has implemented a Teensy-Raspberry Pi hybrid overhaul of a CNC mill. The Raspberry Pi provides the user interface, then transfers the selected G-code to a Teensy 4.0 (up to 7,500 steps) for real-time control of the system.

Manual mode allows nudging in each direction on each axis. Spindle, coolant, clamp, light, and the 0-10V that determines speed can also be controlled.

The system also features an automatic tool length sensor and emergency stop. Source code and documentation can be found on GitHub, and a demonstration of the system can be seen in the video below.