Synchronizing a Milling Machine Dividing Head with Arduino

Subscribe to the channelNew chapters of the restoration and LinuxCNC projects
I built this synchronized dividing head as a gift for a friend. An Arduino and a stepper motor coordinate the divider’s rotation with the mill’s travel. I show the wiring, setup and a machining test.
A stepper motor on the dividing head and an Arduino that reads the mill's DRO scale signal: the dividing head turns in sync with the X-axis feed. I explain the wiring (control module, power box, motor and the Y cable from the scale, which still goes to the DRO) and the menu settings: degrees per millimetre, motor speed, backlash in steps, microstepping and the dividing head's reduction. In the test, at 10 degrees per millimetre, it cuts a complete test bar.
Photos, data and more details on my website: https://dominicze.com/en/videos/synchronizing-a-milling-machine-dividing-head-with-arduino/
Full projects and every video, neatly organised, at https://dominicze.com
What the video shows
- A stepper-driven dividing head that turns in sync with the mill table, reading the signal from the readout's own scale.
- The video shows two test bars being milled with helical grooves.
- Wiring: the control module goes to the power box, which the motor cable comes out of. The scale signal is split so it reaches both the readout and the Arduino at the same time.
- Parameters: degrees per millimetre of table, degrees per press to move the dividing head by hand, motor speed (you have to test how far it goes without losing steps), backlash compensation, microsteps and the dividing head's reduction.
- Example: at 10° per millimetre, moving the table 1 mm turns the dividing head 10°. The screen also shows the millimetres from the scale, which must match the readout.
- For my friend's dividing head, 4 microsteps and a 40 reduction are set, for a resolution of 0.01°.
Details
| Input | Readout scale, with a signal splitter |
|---|---|
| Example | 10° per millimetre |
| Settings sent | 4 microsteps, 40 reduction |
| Resolution | 0,01° |





