Home > Uncategorized > Electronics Design Project

Electronics Design Project

November 9th, 2011




electronics design project
building a traffic light signal using electronics workbench, i need help?

good day to you all, can some one please help me, i got a computer Logics and Digital design project to design a traffic light signal, with red, green and amber light, on a four roads, there will be a major road and a minor road, but honestly, i dont know how and where to start can some one help me please.

I did this one 20 years or so a go on a z-80 for a class I had. The first thing is to write a timing loop that loops on NOPs for the time you need. Use the smallest increment say tenths of a second.
You can use the int interupts to detect waiting traffic.
We used LED's but these could have powered triacs to run 120V systems instead.
The timing loop is called for each light cycle as many times as you need to time the lights and then you use logic to push out the proper bit combinations to your output register to turn on and off the lights in the correct order. Green stays on for so many seconds*10 then turn it off turn on the yellow for so many seconds, then red. Give it a half second or so then turn on the cross green and start that cycle. I would start from all red as a safety precaution. If the interupt occurs you can store an interupt occurrence and continue and check for that stored value in each cycle.

Traffic Light System - Electronic Design Project

Comments are closed.