design and construction of a microcontroller based winding machine