Escolar Documentos
Profissional Documentos
Cultura Documentos
Vehicle Sensors
Microcontroller
Address Latch
Display Buffer
Decoder Logic
Reset circuitry
Microcontroller RF Receiver
Buffer
Lamp Drivers
Reset circuitry
D1 J1 1 2 D3
D2 1 1N4007
U1 LM7805/TO VIN
GND
+5V VOUT 2
1N4007
EA/VPP VCC 14
1
SW1
U3A 2 74LS14
S1
W/R
D4 1N4007
C1 2200/16v
C3 .1uf
C2 100/16v
C4 .1uf
C5 .1uf
R3 10k U3B
SW3
R
SW2
U5 A0 A1 A2 A3 A4 A5 A6 A7
VCC
S2
10K
C9 .1uf
C17 .1uf
ALE/PROG
R6 10k E1 U3C 5 6 S3
16
20
10 9 8 7 6 5 4 3
28
R4
P2.7/A15 P2.6/A14 P2.5/A13 P3.5/T1 P2.4/A12 P3.0/RXD P2.3/A11 P3.1/TXD P2.2/A10 P3.2/INTO P2.1/A9 P1.3 P2.0/A8 AT89C51 P0.7/AD7 P1.4 P0.6/AD6 P1.5 P0.5/AD5 P1.7 P0.4/AD4 P1.6 P0.3/AD3 P0.2/AD2 XTAL2 P0.1/AD1 XTAL1 P0.0/AD0
GND
AD15 AD14 AD13 AD12 AD11 AD10 AD9 AD8 AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0
1N4007
+5V C7 .1uf +5V 11 12 13 15 16 17 18 19 AD0 AD1 AD2 AD3 AD4 AD5 AD6 AD7
D0 D1 D2 D3 D4 D5 D6 D7
G2A
VCC
G1
U7B
8 74HC20
SW4
GND
G2B
14
GND
A8 A9 A10
1 2 3
Y0 74F138 Y1 Y2 A Y3 B Y4 C Y5 Y6 Y7
8 5
15 14 13 12 11 10 9 7
Y1
AD12 5
C16 0.1UF
SW5
74LS14 C18 .1uf TO ANTENNA JH1 AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0 18 17 14 13 8 7 4 3 11 J3
1 2 3 4
U10 8D 7D 6D 5D 4D 3D 2D 1D LE
U11 8Q 7Q 6Q 5Q 4Q 3Q 2Q 1Q
OE
J2 8Q 7Q 6Q 5Q 4Q 3Q 2Q 1Q
OE
VCC
VCC
TXD
1
+5V
19 16 15 12 9 6 5 2
18 17 14 13 8 7 4 3 11
8D 7D 6D 5D 4D 3D 2D 1D LE
19 16 15 12 9 6 5 2
+5V
74LS14 10
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
74HC373
GND
10
10
GND
74HC373 1
To MDT 433
14
7 U4E
11
TRANSMITTER
W/R R
Y1
13
C28 .1uf
74LS14
U4F
12
+5V C23 .1uf +5V D1 J1 1 2 D3 AD15 AD14 AD13 AD12 AD11 AD10 AD9 AD8 AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0 D4 1N4007 C1 2200/16v C3 .1uf D2 1 1N4007 1N4007
+5V
31
40
U2 S1 S2 R2 U4A 100k 1 D5 74LS14 IN4001 C5 10uf U4B R4 3 4 74LS14 C10 27pf RXD 15 10 11 12 4 5 6 8 7 18 19 Y2 11.0592MHz C14 27pf 2 9 1 2 3 13
EA/VPP
VCC
14 16 17 29 28 27 26 25 24 23 22 21 32 33 34 35 36 37 38 39 30 W/R
GND
C2 100/16v
C4 .1uf
C9 .1uf
ALE/PROG
16
20
9 10 U7B 12 13 74HC20 8
14
E1
A0 A1 A2 A3 A4 A5 A6 A7
VCC
SW9
10K
P2.7/A15 P2.6/A14 P2.5/A13 P3.5/T1 P2.4/A12 P3.0/RXD P2.3/A11 P3.1/TXD P2.2/A10 P3.2/INTO P2.1/A9 P1.3 P2.0/A8 AT89C51 P0.7/AD7 P1.4 P0.6/AD6 P1.5 P0.5/AD5 P1.7 P0.4/AD4 P1.6 P0.3/AD3 P0.2/AD2 XTAL2 P0.1/AD1 XTAL1 P0.0/AD0
1N4007
5V POWER SUPPLY/BATTERY +5V C7 .1uf U5 C17 .1uf AD0 10 AD1 9 AD2 8 AD3 7 AD4 6 AD5 5 AD6 4 AD7 3 AD8 25 AD9 24 AD1021 AD1123 AD12 2 AD1326 AD14 1 20 22 27 D0 D1 D2 D3 D4 D5 D6 D7 11 12 13 15 16 17 18 19 AD0 AD1 AD2 AD3 AD4 AD5 AD6 AD7
+5V
GND
G2A
GND
G2B
14
GND
A8 A9 A10
1 2 3
A B C
Y0 74F138 Y 1 Y2 Y3 Y4 Y5 Y6 Y7
VCC
G1
28
+5V C17 0.1UF R8 470E D6 LED R9 470E D7 LED R10 470E D8 LED R11 470E D9 LED R12 470E D10 LED R13 470E D11 LED R14 470E D12 LED R15 470E D13 LED R16 470E D14 LED R17 470E D15 LED R18 470E D16 LED R19 470E U10 D17 LED AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0 18 17 14 13 8 7 4 3 11 8D 7D 6D 5D 4D 3D 2D 1D LE
VCC
20
14 U12A C26 .1uf U12B U12C U12D U12E U12F U13A U13B
8Q 7Q 6Q 5Q 4Q 3Q 2Q 1Q
19 16 15 12 9 6 5 2
DM7406 6
DM7406 8
DM7406 10
DM7406
DM7406 4
DM7406 6
DM7406 8
DM7406 10
DM7406 12
DM7406 2
DM7406 4
DM7406 12
GND
74HC373
11
13
14 5
11
C27 .1uf
13
10
OE
1
+5V RXD J3
JH2
19
16
15
12
19
16
15
12
8Q
7Q
6Q
5Q
4Q
3Q
2Q
1Q
8Q
7Q
6Q
5Q
4Q
3Q
2Q
20 C20 .1uf
VCC
74HC373
8D 7D 6D 5D 4D 3D 2D 1D
8D 7D 6D 5D 4D 3D 2D 1D
LE
18 17 14 13 8 7 4 3
11
18 17 14 13 8 7 4 3
11
LE
OE GND
1 10
20
1Q
U10
U10
1 10
6 74LS08
74LS08
RECEIVER
8 7 6 5 4 3 2 1
8 7 6 5 4 3 2 1
S2
To MDR433
The circuit mainly comprises of an input section, control section, display section, output section. The input section consists of switches (s1-s5). Switches s1, s2, s3 & s4 represent road1, road2, road3 & road4 respectively. S5 is a toggle switch witch is used for reset. The count of vehicles on each road is obtained by pressing the push button switches corresponding to each road. The heart and brain of the entire circuit is an 89C52 microcontroller. The microcontroller has a power supply unit, a reset unit, and an oscillator circuit for its fundamental working. P1.0 P1.7 act as the input port. 74HC20 is used for decoding purpose. Depending on the input to pins 1, 2, 4 and 5 of 74HC20. We can select either the RAM or the demultiplexer, which can be used to select the peripheral ic's. If all the inputs to the above described pins are high, E1 is activated and 74F138 which act as the demultiplexer is enabled.
74HC138 is a 3-8 decoder or demultiplexer. It can be used as an 8 out put demultiplexer by using one of the active low enable inputs as data input, while the remaining inputs are used as strobes. Depending upon the inputs to pins 1,2 and 3 of 74F138 we can select any one of the following peripheral devices 74HC373 (U8) act as an address latch 74HC373 (U9)Is simply a display buffer .An 89C52 program must interact with the outside world using input and output devices that communicates with human beings . One of the most common devices attached to an 89C52 is an LCD display. Some of the common LCDs connect to 89C52 are 16X2 and 20X2 displays. This means 16 characters per lines
by two lines and 20 characters per line by two lines respectively. Here we use 16X2 displays
The lighting of LEDs, which corresponds to the traffic signals, indicates the out put. The LED indication is programmed taking into consideration the number of vehicles on each road and time required for the vehicle to cross the junction.