code for traffic light controller based on density
#1
Wink 

hello all.please i am looking forward to your help on the programming of a traffic light controller using the Visual Basic programming language basically based on the density of cars and also the timing of the traffic lights (red,green and yellow).
Regards, Sajor Barrie.
Reply
#2

code for traffic light controller based on density

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.

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.

Actually this is remote traffic monitoring and control system in which a police man can control the flow of traffic from a remote location through his computer. He can generate all three traffic signals (red, green & yellow) on a click of mouse only. Also he can divert the flow of traffic by monitoring it on his computer screen through camera.

The program written in VC++ controls the traffic flow in both the manners automatic and manually. In automatic mode traffic flow is controlled by predetermined time periods and in manual mode a police man can open or close any lane depending on the traffic density on each lane. Means if on one lane traffic is much more than any other then that lane is open till any other lane has a greater traffic density.

One more added feature is alarm system. Whenever any driver wants to drive out in red light the laser beam will be interrupted and it will ring an alarm in police station.
Note:- complete project is developed by two students Patel Bhavin and Tandel Jiten of 4th EC from Dr. J. N. Meha Govt. Polytechnic, Amreli under my guidance.
There are two sections of the project (1) Hardware section (2) software section
Hardware section is to switch ON/OFF Red, Green & Blue LEDs of all four lanes. Depending upon the input code given to the circuit by computer program, it will ON or OFF particular LED.
The software section just gives the proper code to the circuit depending upon the user command like to open lane 1 or lane 2 or anything else.
it will be better to understand software codes if we first see the logic behind the hardware circuit.
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: density based room light controller result, at89c2051 based traffic light controller pdf, working project on traffic light density controller, density based traffic light controller system, ppt presentation on traffic light controller based on verilog, literature survey of density based traffic light controller, coding for traffic light controller density based using 8051,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  development of road light gateway with sensor network ppt 2 1,811 15-04-2018, 05:30 PM
Last Post: Guest
  matlab code for wavelet based ofdm transmitter 1 920 24-02-2017, 11:18 AM
Last Post: ijasti
  matlab code energy based spectrum sensing in cognitive radio energy threshold based algorithm 2 1,049 06-08-2016, 03:30 PM
Last Post: murthyhs
  traffic rules ppt for kids 2 872 21-07-2016, 03:00 PM
Last Post: jaseela123d
Lightbulb attendance system based on rfid and rtc full project code 2 790 13-07-2016, 11:44 AM
Last Post: jaseela123d
  download source code for mobile based attendance system in java 1 571 02-07-2016, 02:00 PM
Last Post: visalakshik
  polarisation of light in investigatory 1 804 02-07-2016, 12:09 PM
Last Post: visalakshik
  c code for sending sms to gsm from 8051 controller using keil 1 698 27-06-2016, 04:34 PM
Last Post: dhanabhagya
  frequent term based text clustering code 1 487 18-06-2016, 11:13 AM
Last Post: dhanabhagya
  frequent term based text clustering code 1 583 17-06-2016, 12:39 PM
Last Post: dhanabhagya

Forum Jump: