Summary of A Pickup Winding machine built on an ATmega8
This article describes a DIY pickup winding machine centered on an ATmega8 microcontroller. It features an LCD display for real-time monitoring of motor speed, direction, and wind counts. Users can configure parameters like motor speed, acceleration, total winds, and auto-stop modes via three buttons. The system uses a 12V DC motor driven by an L298N chip board and includes slow startup and automatic stop capabilities.
Parts used in the Pickup Winding Machine:
- ATmega8 microcontroller
- LCD display
- Three buttons (SELECT, UP, DOWN)
- RUN pedal
- 12V 1200rpm DC motor
- L298N chip board motor driver
- Eclipse development environment
- avr-gcc compiler
The core of this project is an ATmega8.
It features:
- wind counter
- slow startup
- automatic stop
- configurable motor speed
- configurable winds
- 2 directions
If you are looking for a CNC version: you can find it here: http://davidegironi.blogspot.it/2016/06/a-cnc-pickup-winding-machine-built-on.html
This winder has an LCD display that will show
- the current motor direction
- the rotating speed of your pickup
- the total and current wind counter
- motor direction – clockwise, or anti-clockwise
- direction of the wind counter to increase – clockwise, or anti-clockwise
- motor max speed – from 1(min) to 100 (max)
- motor startup accelleration – from 1(min) to 100 (max)
- numbers of wind – from 1(min) to 99999 (max)
- auto stop mode – manual mode, or stop when all winds are done
There are 3 buttons, SELECT, button UP and DOWN.
To enter the programming mode, just long press SELECT button.
Press SELECT once to change the programming parameter, button UP and DOWN to edit the selected value, then long press SELECT again to save new values.
If you are in building mode, to make the wind start press the RUN pedal, it will start with a slow startup, to stop the winder release the RUN pedal.
Long press butto UP to change direction.
Long press butto DOWN to reset counter.
The winding machine will automatically stops when the wind counter reach the configured number, and it can goes less than zero
If you disable the autostop mode, the machine will always count wind, independently by the direction choosen.
The motor used is cheap DC motor 12V 1200rpm, the motor driver is L298N chip board.
This library was developed on Eclipse, built with avr-gcc on ATmega8 @ 8MHz.
-
How do I enter programming mode?
Long press the SELECT button. -
Can I change the motor direction?
Yes, long press the UP button to change direction. -
What happens if I disable the autostop mode?
The machine will always count wind independently of the chosen direction. -
How do I start the winding process?
Press the RUN pedal while in building mode to start with a slow startup. -
What components are used to drive the motor?
A cheap 12V 1200rpm DC motor and an L298N chip board are used. -
How do I reset the counter?
Long press the DOWN button to reset the counter. -
Does the winder stop automatically?
Yes, it automatically stops when the wind counter reaches the configured number. -
What is the maximum value for the number of winds?
The maximum number of winds is 99999.

