Hi friends, today we are going to make a four way traffic light controller using a PIC16F84A 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.
Components:
- Four set of Red-Green-Blue LEDs
- PIC16F84A microcontroller
- 22uF capacitor – 2 no.
- Crystal oscillator 4MHz
- 10KO resistor, 330O resistors
- 5V battery
Description:
- 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 330O resistor in series with each LED).
- 5V supply to the pin number 14.
- Ground pin number 5.
- Connect two 22uF capacitors in parallel with two terminals of crystal oscillator.
- Make all the remaining connection as shown in figure.
Download
Click here to download .C and .HEX files for this project
You may also like
- How to make PCB layout in Eagle software
- Air Flow Detector Circuit (Mini-Project)
- User input based seven segment display using AT89C51 microcontroller
- Simple buzzer interface to microcontroller
- LED chasing circuit using AT89C2051 microcontroller
The post Four Way Traffic Signal Controller Electronics Mini project appeared first on MyClassBook.