Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Thread Tools Display Modes
Old 22nd February 2005, 04:11 PM   (permalink)
Default traffic controller light design project

i need help with the design of a traffic controller light, the project has to be configured using discrete logic, as micro-controllers cannot be used. the only integrated circuit to be used are op-amps. the circuit must be operated from a supply that converts 240V ac to 5V dc @ 200mA. the switching of the lights is controlled by a digital logic circuit at 5V dc voltage.

any correspondance regarding the above question will be greatly appreciated. [/url]
gaseous is offline  
Reply With Quote
Old 22nd February 2005, 05:13 PM   (permalink)
Default

For converting your wall outlet's 240v AC to a usable +5v DC for logic, see this page: http://www.awrr.com/powersup.html Check out their "General-Purpose 12 Volt 1/2 Amp Power Supply." Use an appropriate transformer rated for 240 volt input for your country, as the one shown in the diagram is for US or other ~120v countries. Also, instead of using the 7812 for 12 volt regulation, use a 7805 for 5 volt regulation. Now you've got a stable +5v DC supply. Onto the rest of the project.

As for the traffic lights themselves, it depends on how complex you want to get. Are we only talking about an intersection where straight directions are concerned, such as if one direction is green or yellow, the opposing is red? Or will there be left turn leading green indicators? Pedestrian crosswalk buttons to turn them all red at same time? I am going to assume it is simply the first case, as it is the easiest to implement.

If you look below, in cases A and B, north/south Red is on whenever west/east Yellow or Green is on. In cases C and D, west/east Red is on whenever north/south Yellow or Green is on. While that may look obvious, here's the connection: If a signal is present on any green or yellow indicator, pass that signal on to the opposing direction's red. That way you wouldn't need any logic at all at this point. Check the diagram on down for an illustration. Note that a current limiting resistor needs to be in there somewhere.

If this thing is going to be completely automatic, perhaps use a 555 timer to generate a clock pulse, and a 74ls90 counter to generate the different states. If you're not allowed to use any of those, as you mentioned the op-amp as your only piece, perhaps someone else could offer an idea? I don't know how you would use an op-amp in this project.
Attached Images
File Type: png traffic_signal.png (9.6 KB, 1170 views)
File Type: png traffic_signal_wires.png (3.7 KB, 1155 views)
bonxer is offline  
Reply With Quote
Old 25th February 2005, 09:04 AM   (permalink)
Default

Code:
A B C      R1  Y1  G1      R2  Y2  G2      R3  Y3 G3   R4  Y4  G4 
0 0 0      0   0   1       1   0   0       1   0   0    1   0   0
0 0 1      0   1   0       1   0   0       1   0   0    1   0   0
0 1 0      1   0   0       0   0   1       1   0   0    1   0   0
0 1 1      1   0   0       0   1   0       1   0   0    1   0   0
1 0 0      1   0   0       1   0   0       0   0   1    1   0   0
1 0 1      1   0   0       1   0   0       0   1   0    1   0   0
1 1 0      1   0   0       1   0   0       1   0   0    0   0   1
1 1 1      1   0   0       1   0   0       1   0   0    0   1   0
Last semester i have a traffic light controller project . . .this is the truth table. It is just a single intersection road. I have problems on the GREEN to YELLOW light transition state. Because the time for the YELLOW to become GREEN is fast compared on the RED to GREEN transition.

Also, i used an adaptor that has an input of 220Vac and had an output of 4.5Vdc...my instructor said that i should a voltage regulator to have an output of +5Vdc..anyway the project works fine even if it has only +4.5Vdc

I do not used op amps here...i designed an up-down counter (0-7), for the counting sequence. 555 timer for the clock pulse...logic gates for the switching sequence..
__________________
\"better to reign in hell, than to serve in heaven\"
solidhelix is offline  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 11:18 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.