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
 
Tools
Old 6th September 2004, 06:21 AM   #1
Default traffic light controller

i have a question here on how to design a traffic light controller. The controller should be be able to control a traffic light at 4-turn junction ( cross junction)
ratu semut is offline  
Old 6th September 2004, 06:23 PM   #2
Default

A traffic light controller is just a finite state machine. The easiest way to do it is to draw the state diagram and then you can directly convert the state diagram to code for a micro or some vhdl.

For example, the start state is 1 light red, the other green, then go to yellow, then red, then pause, then the other goes green, etc.
crust is offline  
Old 6th September 2004, 07:54 PM   #3
Default

Something like this?
Attached Thumbnails
traffic light controller-traffic145f.gif  
__________________
John DeRosa (Hotwaterwizard)

hotwaterwizard@aol.com
hotwaterwizard is offline  
Old 6th September 2004, 07:55 PM   #4
Default

Or like this?
Attached Thumbnails
traffic light controller-traffic145b.gif  
__________________
John DeRosa (Hotwaterwizard)

hotwaterwizard@aol.com
hotwaterwizard is offline  
Old 6th September 2004, 08:01 PM   #5
Default

I have Lots more!
Attached Thumbnails
traffic light controller-lamploop.gif   traffic light controller-traffic_light_seq.gif   traffic light controller-trafficlightcontroller.gif  
__________________
John DeRosa (Hotwaterwizard)

hotwaterwizard@aol.com
hotwaterwizard is offline  
Old 6th September 2004, 11:36 PM   #6
Default

:lol:

This has to be the most popular school project given to people to teach them how to do something of all time.
plot is offline  
Old 7th September 2004, 04:56 AM   #7
Default

I don't agree.
The Code Practice Oscillator is more popular beginners project.
Attached Thumbnails
traffic light controller-cpo.gif  
__________________
John DeRosa (Hotwaterwizard)

hotwaterwizard@aol.com
hotwaterwizard is offline  
Old 7th September 2004, 01:44 PM   #8
Default

how about a PIC based traffic light controller? has anyone built such a traffic light system?

hotwaterwizard can u explain the Code Practice Oscillator circuit????
samcheetah is offline  
Old 7th September 2004, 03:31 PM   #9
Default

As for popular state machine type projects, the three that I see reappear each term are 1) traffic light controller, 2) eleveator controller, 3) soda machine.
crust is offline  
Old 7th September 2004, 07:13 PM   #10
Default

i wanted to know the traffic light controller FSM state table. i have 8 current state, 4 inputs( RESET, C, TL, TS) , there are the next steps also, and 4 outputs.(each output has R Y G). R is red, Y is yellow, and G is green.
how can i do the K-maps from the outputs?
how about the state diagram?
how about the final ASM chart for the traffic light controller that has 8 current state?
please.....
ratu semut is offline  
Old 8th September 2004, 03:01 AM   #11
Default

Quote:
Originally Posted by samcheetah
hotwaterwizard can u explain the Code Practice Oscillator circuit????
I started a new thread on this subject so The original Subject would remain here.
The new thread is located Here http://www.electro-tech-online.com/v...ic.php?t=11316
__________________
John DeRosa (Hotwaterwizard)

hotwaterwizard@aol.com
hotwaterwizard is offline  
Old 12th September 2004, 05:33 AM   #12
Default

wile were on this subject, ive always wundered about this:

Is there a way to control trafic lights remotely? I see these little things on the top of the light that i think are sensors cuz they have a cover over the top to filter out sunlight im guessing, and i think that there are two sensors, one on top of the other. can ambulances n fire truks control them via IR?
__________________
I'm no electronics god, i just talk too much.
zachtheterrible is offline  
Old 12th September 2004, 05:33 PM   #13
Default Traffic light controller kit

Check this link for a kit to build a traffic light controller.

http://www.plans-kits.com/kits/index.html
toolmantk is offline  
Old 22nd September 2004, 09:49 AM   #14
Default

hotwaterwizard . . .

i tried sim ur ckt in an elec. workbench . . .it doesnt seem to work

i tried it all . . . it doesnt to work though

i'am trying to build a traffic light controller too . . .

like teh concept of ur design .. . .

and can you explain wat is d function of the DECADE COUNTER

in the ckt? THX !!!
aires is offline  
Old 23rd September 2004, 04:56 AM   #15
Default

Here is the original link.
http://www.redcircuits.com/Page72.htm
__________________
John DeRosa (Hotwaterwizard)

hotwaterwizard@aol.com
hotwaterwizard is offline  
Reply

Tags
controller, light, traffic

Thread Tools
Display Modes




All times are GMT. The time now is 01:39 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker