Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

traffic controller light design project

Status
Not open for further replies.

gaseous

New Member
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]
 
For converting your wall outlet's 240v AC to a usable +5v DC for logic, see this page: **broken link removed** 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.
 

Attachments

  • traffic_signal_wires.png
    traffic_signal_wires.png
    3.7 KB · Views: 1,908
  • traffic_signal.png
    traffic_signal.png
    9.6 KB · Views: 2,141
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..
 
Status
Not open for further replies.

Latest threads

Back
Top