Arduino Traffic Light/ Signal with LCD Counter Display

In this Project you will able to make Arduino Based Traffic Light or Traffic Signal with LCD in which Time left for Signal will be Shown.

Apr 19, 2022

26980 views

2 respects

Components and supplies

1

Alphanumeric LCD, 16 x 2

1

5 mm LED: Yellow

1

3 mm LED: Green

1

Arduino UNO

1

Breadboard (generic)

1

Resistor 1k ohm

1

Jumper wires (generic)

1

5 mm LED: Red

Tools and machines

1

LiquidCrystal.h Library

Apps and platforms

1

Arduino IDE

Project description

Code

Code

c_cpp

Code

c_cpp

Downloadable files

Circuit Diagram

Connection of LED Hook the GND pin (Negative Pin) of all led to Pin GND of Arduino. Connect Red LED VCC Pin (Positive Pin) to Pin 9 of Arduino. Connect Yellow LED VCC Pin (Positive Pin) to Pin 8 of Arduino. Connect Green LED VCC Pin (Positive Pin) to Pin 7 of Arduino. Connection of LCD Connect the First pin from the left of LCD (GND pin) with GNDpin of Arduino. Connect the Second pin from the left of LCD (VCC pin) with VCCpin of Arduino. Connect the Third pin from the left of LCD (V0 pin) with GNDpin of Arduino. Connect the Fourth pin from the left of LCD (RS pin) with 11pin of Arduino. Connect the Fifth pin from the left of LCD (R/W pin) with GNDpin of Arduino. Connect the Sixth pin from the left of LCD (E pin) with 10pin of Arduino. Connect the Eleventh pin from the left of LCD (D4 pin) with 5pin of Arduino. Connect the Twelveth pin from the left of LCD (D5 pin) with 4pin of Arduino. Connect the Thirteen pin from the left of LCD (D6 pin) with 3pin of Arduino. Connect the Fourteenth pin from the left of LCD (D7 pin) with 2pin of Arduino. Connect the Fifteenth pin from the left of LCD (5V pin) with 1 K Resistor with 2pin of Arduino. Connect the Last pin from the left of LCD (GND pin) with GND pin of Arduino.

Circuit Diagram

Image

Circuit Diagram

Connection of LED Hook the GND pin (Negative Pin) of all led to Pin GND of Arduino. Connect Red LED VCC Pin (Positive Pin) to Pin 9 of Arduino. Connect Yellow LED VCC Pin (Positive Pin) to Pin 8 of Arduino. Connect Green LED VCC Pin (Positive Pin) to Pin 7 of Arduino. Connection of LCD Connect the First pin from the left of LCD (GND pin) with GNDpin of Arduino. Connect the Second pin from the left of LCD (VCC pin) with VCCpin of Arduino. Connect the Third pin from the left of LCD (V0 pin) with GNDpin of Arduino. Connect the Fourth pin from the left of LCD (RS pin) with 11pin of Arduino. Connect the Fifth pin from the left of LCD (R/W pin) with GNDpin of Arduino. Connect the Sixth pin from the left of LCD (E pin) with 10pin of Arduino. Connect the Eleventh pin from the left of LCD (D4 pin) with 5pin of Arduino. Connect the Twelveth pin from the left of LCD (D5 pin) with 4pin of Arduino. Connect the Thirteen pin from the left of LCD (D6 pin) with 3pin of Arduino. Connect the Fourteenth pin from the left of LCD (D7 pin) with 2pin of Arduino. Connect the Fifteenth pin from the left of LCD (5V pin) with 1 K Resistor with 2pin of Arduino. Connect the Last pin from the left of LCD (GND pin) with GND pin of Arduino.

Circuit Diagram

Image

Documentation

Systematic

Connection of LED Hook the GND pin (Negative Pin) of all led to Pin GND of Arduino. Connect Red LED VCC Pin (Positive Pin) to Pin 9 of Arduino. Connect Yellow LED VCC Pin (Positive Pin) to Pin 8 of Arduino. Connect Green LED VCC Pin (Positive Pin) to Pin 7 of Arduino. Connection of LCD Connect the First pin from the left of LCD (GND pin) with GNDpin of Arduino. Connect the Second pin from the left of LCD (VCC pin) with VCCpin of Arduino. Connect the Third pin from the left of LCD (V0 pin) with GNDpin of Arduino. Connect the Fourth pin from the left of LCD (RS pin) with 11pin of Arduino. Connect the Fifth pin from the left of LCD (R/W pin) with GNDpin of Arduino. Connect the Sixth pin from the left of LCD (E pin) with 10pin of Arduino. Connect the Eleventh pin from the left of LCD (D4 pin) with 5pin of Arduino. Connect the Twelveth pin from the left of LCD (D5 pin) with 4pin of Arduino. Connect the Thirteen pin from the left of LCD (D6 pin) with 3pin of Arduino. Connect the Fourteenth pin from the left of LCD (D7 pin) with 2pin of Arduino. Connect the Fifteenth pin from the left of LCD (5V pin) with 1 K Resistor with 2pin of Arduino. Connect the Last pin from the left of LCD (GND pin) with GND pin of Arduino.

Systematic

Comments

Only logged in users can leave comments

krishna_agarwal

0 Followers

0 Projects

0