Here are the parts for my coil winding machine. I haven't developed it further for many months now, but I hope somebody might get some inspiration from the design.
The main winding motor is an L293D-driven servo motor (with electronics removed). The linear guide has a NEMA 11 stepper for driving the wire, driven by a standard pololu stepper driver. The wire length counter is based on a QTR-1A https://www.pololu.com/product/2458 reflectance sensor. The same reflectance sensor is found on the winding turn counter. Actually it's a RC version which has been converted to an analog version. The resistor is a different one so one might have to change the analog values in the code when using original pololu sensors. A strip of white tape reflects the IR light (4 on the wire length counter).
A standard 16*2 lcd shows the options and progress and settings are entered with a rotary encoder. Main processor is an arduino pro mini. All connections can be derived from the Arduino code (.ino file). There are some less common ball bearings: 2x 626ZZ and a tiny 4mm inner and 8mm outer diameter one on the wire guiding/length counter wheel).
The code is still in an early stage, I coded in just enough precision to be able to wind the axial flux alternator coils which worked reasonably well.