Counter AT89C1051
This is a counter circuit that I would like to you view an another form of concept. The most counter circuit that is often used in industrial applications such as object detection and counting.
This project uses a sensor to detect objects that pass through, then the number increases or decreases by one and shown is the display digits.
The most counter products are often priced quite expensive. However, it is recommended to create a counter that ‘s affordable. It’s accuracy work effectively. Since the circuit is controled with the micro controller IC.
Start that DC voltage of 9 volts from external is feed to a diode D1 to protect voltage supply that backward when we apply power supply not proper polarity. Then the 9 volts will be put to an IC1(LM7805) to regulated the constant voltage to 5 volts, By has capacitor C2 filter voltage to smooth next level. Then this 5 volts will send into the micro controller IC2 and the 4 digit LED 7 segment-display.
The display set will use the LED 7 segment dual two put together are 4 digit. Port P1.0 to P1.7 of IC2 (AT89C1051) will be output pin to send value to drive LED 7 segment to lit up as several number. By have RN1 connect full up with positive voltage. To help to drive LED 7 segment light more clearly. The port P3.0, P3.7, P3.1 and P3.2 will be pin output to send logic “0” to pin common cathode of all the LED 7 segment. Because pin a to g all its is connected to combination. So use pin common control are separated. Called the multi-plex. The advantage is saving device for driving LED 7 segment.