Anda di halaman 1dari 14

Digital object counter

3/5/13

DIGITAL OBJECT COUNTER Digital object counter is a device which is designed to count the object which is passing from above it or by touching it or whatever depending upon the method of getting signal from the transducer. But main work of digital object counter is the counting of things or objects. It can be done by using LDR or THERMISTOR .

3/5/13

INTRODUCTION TO AT89C2051
Its one of the 8051 based microcontroller from ATMEL.
v

Using a microcontroller greatly reduces the component count while providing more features that could be found using dedicated logic ICS
v v

By using this IC cost is also lowered.

3/5/13

89C2051 FEATURES Its a low voltage, high performance CMOS


8-bit micro-computer. its compatible with the MCS51. 2K bytes of Flash programmable and erasable read only memory. 2.7 6V operating range. 15 I/O lines. two 16-bit timer/counters. 6 interrupt sources. On-chip Analog Comparator.
3/5/13

Pin diagram of AT89C2051

3/5/13

COMPONENT EXPLANATION

3/5/13

CDS ELEMENTS (LDR)


Some components can change resistance value by changes in the amount of light hitting them.

Power supply It is a 3 terminal voltage regulators,


which provide the required +5V. Regulators IC LM7805 (U3) provides regulated 5V power supplies, for Micro controller.
3/5/13

LM7805 (3 TERMINAL VOLTAGE REGULATER)

CRYSTAL OSCILLATOR
An 11.0592MHz(X1) crystal provides a stable clock frequency.

3/5/13

SEVEN SEGMENT LED DISPLAY

We can now interface a four digit 7-Seg to the micro controller. We use Scanning (Multiplex) Principle where one 7-seg is displayed after another but this process is very fast hence the flickering cannot be seen by human eye. When interfacing more than one 7-seg display ,the segment's( A to G) of all displays are connected together whereas their ANODE are switched ON one after another.

3/5/13

BLOCK DIAGRAM OF DIGITAL OBJECT COUNTER


MICROCONTROLLER Light Source

LED Display

LDR Laser torch or any other light source

LDR detector LM555

Power supply 3/5/13

DIGITAL OBJECT COUNTER


SW1 RESET VCC U2 VCC C1 1 3 R1 2 DISCH G 5 R6 10 C V 6 RST/VPP U1 20 VCC

vcc

R2 VCC

R3

THR

OUT R4 TRG GND

P3.2/INT 0

COM

13 14 P1.2 P1.1/AIN P1.315 1 P1.416 P1.517 P1.618 P1.719 11

P1.0/AIN0

12

R8 R7 R6 R5 R4 R3 R2 R1 R9 R10 R11 R12

COM

COM

3 P3.0/RX

R5 LDR

D P3.1/TX D GND

4 c2

XTAL 2 XTAL 1

P3.7 9 P3.5/T 8 1 P3.4/T 7 0 P3.3/INT 1

Q1

Q2

Q3

x1

5 c3

3/5/13

COM

Q4

VC C

9 TO 12 Dc in

D1

U3

VCC out

in
Gnd R 7 C5 C4

CN3

PW R L1

C6

3/5/13

Application

Digital object counter can be installed at the entry gate to count the total number of people entering any venue.

For example, it can be used at the railway stations or bus stands to count the people arriving per day or week.

3/5/13

Thank you
3/5/13

Anda mungkin juga menyukai