Monday, November 8, 2010

Microcontroller Based Event Counter



Event Counter

The project presented here is based on world’s most powerful micro-controller based on intel’s mcs-51 family , generally known as intel-8051. We have used its derivative atmel-89c2051.

Event Counter Block Diagram Event Counter Block Diagram
Operation: Any type os active or passive switch can be connected to the con1 connected
When ever that switch closes event will be counted inside the microcontroller and would be displayed on the 2×16 lcd. Switch could be capacitive,inductive or any other type which suits to your construction.
Ic3 an optocoupler will receive incoming count pulse at pin3 and output from pin 5 is connected to p3.4 pinof the ic2 microcontroller,
Two line by 16 character on each line (2×16) is used in nibble mode and maximun count can reach upto 65536 there after it will reset to 00000.
SW1 is manual reset switch to make the counter to reset to zero.
Circuit is driven by 9v 1 ampere transformer connected to PCON1
Diode D1-D4 forms bridge circuit C1,c2 and c3 are filter capacitors and are part of power supply section..
Ic1 7805 is 5v regulator ic to give stablised supply to microcontroller. Ld1 is a power indication led. R1 controls the current flowing thrugh led LD1 Crystal X1 along with C5 and C6 gives the necessary clock to microcontroller.
Capacitor C4 and R2 gives the required reset pulse to microcontroller.

No comments:

Post a Comment