You Are Here: Home » AVR ATmega Projects » Car Projects » Density Based Traffic Signal System using Microcontroller

Density Based Traffic Signal System using Microcontroller




Nowadays, controlling the traffic becomes major issue because of rapid increase in automobiles and also because of large time delays between traffic lights. So, in order to rectify this problem, we will go for density based traffic lights system. This article explains you how to control the traffic based on density.

Density Based Traffic Signal System using Microcontroll

In this system, we will use IR sensors to measure the traffic density. We have to arrange one IR sensor for each road; these sensors always sense the traffic on that particular road. All these sensors are interfaced to the microcontroller. Based on these sensors, controller detects the traffic and controls the traffic system.

Density Based Traffic Signal System Circuit Principle:

The main heart of this traffic system is microcontroller. IR sensors are connected to the PORT C (PC0, PC1, PC2, and PC3) of the microcontroller and traffic lights are connected to PORT B and PORT D. If there is a traffic on road then that particular sensor output becomes logic 0 otherwise logic 1. By receiving these IR sensor outputs, we have to write the program to control the traffic system.

Density Based Traffic Signal System using Microcontroller

Also Read the Post – How IR Sensor Based Car Parking Guard Works?

If you receive logic 0 from any of these sensors, we have to give the green signal to that particular path and give red signal to all other paths. Here continuously we have to monitor the IR sensors to check for the traffic.

For more detail:   Density Based Traffic Signal System using Microcontroller

Leave a Comment

You must be logged in to post a comment.

Read previous post:
PWM Based DC Motor Speed Control using Microcontro
PWM Based DC Motor Speed Control using Microcontroller

In many applications, it is important to control the speed of DC motor where precision and protection are essence. Here...

Close
Scroll to top