Professional Documents
Culture Documents
Interfacing Traffic Light With LPC2148: Arm How-To Guide
Interfacing Traffic Light With LPC2148: Arm How-To Guide
Interfacing Traffic
Light with LPC2148
Contents at a Glance
ARM7 LPC2148 Primer Board ...........................................3
Traffic Light Control .........................................................3
About the colors of Traffic Light Control ...........................4
Interfacing Traffic Light with LPC2148 ..............................5
Pin Assignment with LPC2148 ..........................................5
Circuit Diagram to Interface Traffic Light with LPC2148 ....6
Source Code ....................................................................6
Testing the Traffic Light Controller with LPC2148 .............7
General Information ........................................................8
330E
P0.5 D12-Listen
GO
P0.6 D13-Stop
LISTEN
330E
WEST P0.7 D14-Go
STOP 330E
P0.8 D15-Listen
SOUTH
GLCD
EAST P0.13 D20-Go
Traffic
P0.14 D21-Listen
P0.15 D22-Stop
3.3V D17
1 LED 2
LED
D16
63
51
43
23
7
U16 1 2
37
VDD1
VDD2
VDD3
VDDA
VREF
LED
D22
1 2
45 D21
P0.15 1 LED 2 R50
C
41 9
P0.14 D20 8
39 1 LED 2 7
XTAL2
XTAL1
P0.13 6
38 5
P0.12 LED 4
D19 3
61
62
1 2 2 1
12MHz
LED 220EK-SIL
C66 X28 C67
TRAFFIC LIGHT CONTROLLER
22pf 22pf
Source Code
General Information