Four way traffic light signal using PIC16F84A microcontroller:




Hi friends, today we are going to make a four way traffic light controller using a PIC16F84 microcontroller. In this project we will operate three LEDs (RED, YELLOW, and GREEN) according to the traffic rules.

  • Illumination of the green light allows traffic to proceed in the direction denoted,
  • Illumination of the yellow light denoting, if safe to do so, prepare to stop short of the intersection, and
  • Illumination of the red signal prohibits any traffic from proceeding.Four way traffic light signal using PIC16F84A microcontroller

four way traffic contoll using PIC16F84A microcontroller

four way traffic contoll using PIC16F84A microcontroller

Components:

1)      Four set of Red-Green-Blue LEDs

2)      PIC16F84A microcontroller

3)      22uF capacitor – 2 no.

4)      Crystal oscillator 4MHz

5)      10KΩ resistor, 330Ω resistors

6)      5V battery

Description:

1)      In this project we are going to operate (control) a four way traffic light signal using PIC16F84A microcontroller. First thing we have to do is , simply connect four set of Red-Green-Yellow LEDs to respective pins of  PIC16F84A microcontroller as shown in circuit diagram(you can also use separate LEDs just connect all common terminals (negative) to ground with 330Ω resistor in series with each LED).Four way traffic light signal using PIC16F84A microcontroller schematic

2)      5V supply to the pin number 14.

3)      Ground pin number 5.

4)      Connect two 22uF capacitors in parallel with two terminals of crystal oscillator.

5)      Make all the remaining connection as shown in figure.

Click below link to download .C and .HEX files for this project

 

 

For more detail: Four way traffic light signal using PIC16F84A microcontroller:




Current Project / Post can also be found using:

  • traffic light using pic16f877a
  • traffic light circuit using pic 16f84a pdf
  • 4 way traffic light controller using microcontroller
  • 4 way traffic light controller using pic microcontroller

Leave a Comment

*
= 5 + 9

Read previous post:
Turn with it with a minimum effort

Wiha Proturn® screwdrivers enable a comfortable work, even in case you need to gain a high torque. As we know,...

Close
Scroll to top