Coil Winding machine counter with Atmega8 and Reed relay

  
Inside:
Repository
Using an Atmega8-8PU (configured for 8MHz with external crystal), a Nokia 5110 lcd, and a transistor to handle the pulses from a reed relay. A 3. 3V regulator provides the voltage for the entire circuit. Everything has been mounted on a test board, including the headers for: ISP programmer ( USBAsp ), the 5110 Nokia LCD, the power supply (5V in, fed to the 3. 3V regulator), the Reed relay
Coil Winding machine counter with Atmega8 and Reed relay - schematic

connector, the reset button connector and another 2 pins connector, used to read the polarity of coil winding machine`s motor, so we know we either increment or decrement the counter. J4: is the polarity connector. It must be connected in parallel on the coil winding machine`s motor. It was designed for a 12V motor (but this can be changed by adjusting the voltage dividers formed by R3-R4 and R5-R6, so they take in the motor voltage, and output not more than 5V). If the motor is connected in normal polarity, we will read PD0 high, if the motor is in inverse polarity, we`ll have PD1 high. This info is used in the code to either increment or decrement the counter.



Leave Comment

characters left:

New Circuits

.