Circuit Building: Red Stop Light | North/East LED

  • Thread starter Thread starter Marth164
  • Start date Start date
  • Tags Tags
    Circuit
Click For Summary
SUMMARY

The discussion centers on designing a red stop light circuit using a 4017 decade counter and a 555 timer. The proposed layout cycles through four states: North Green (NG), North Yellow (NY), North Red (NR), and East Green (EG), with specific pin configurations outlined for the 4017. Participants critique the schematic for clarity, particularly the use of diodes and resistors, and suggest that the design may require additional current drivers to support the LEDs. The importance of referencing device datasheets for accurate pin functionality is emphasized.

PREREQUISITES
  • Understanding of 4017 decade counter functionality
  • Familiarity with 555 timer operation
  • Basic knowledge of LED circuit design
  • Ability to read and interpret electronic schematics
NEXT STEPS
  • Research the operation and applications of the 4017 decade counter
  • Learn about the 555 timer's role in timing circuits
  • Explore LED current limiting techniques and resistor calculations
  • Study the use of current drivers in LED applications
USEFUL FOR

Electronics hobbyists, circuit designers, and students interested in building traffic light systems or learning about basic electronic components and their interactions.

Marth164
Messages
1
Reaction score
0
hello I am trying to make a simple red stop light circuit and I am wondering if this layout would work (one set of leds is for north and other is for east) like i want when the norht side is green the east side is red and other way around and when north is yellow east is still read
 

Attachments

  • trafficlightcontroller.GIF
    trafficlightcontroller.GIF
    21.9 KB · Views: 540
Engineering news on Phys.org
Welcome to PF, Marth. I can't help you with your question because electronics is not my thing. I do, however, want to compliment you for what is probably the best circuit diagram that I've seen posted in these forums.
 
If you are using a 4017 decade counter, only one of the output pins will be on (therefore only one LED will be on at a time). To me, it looks like the design will cycle through every LED (staying at green 2 cycles longer).

I think the LEDs will cycle as follows (N=North, E=East, G=Green...)

NG - NG - NG - NY - NR - EG - EG - EG - EY - ER - Back to beginning

I'm also confused as to why you have the diodes in series with the green and yellow LED and not with red. Is there a reason you want them in there?

If I were to do it with the 4017 I would set MR to Q3 (maybe Q4 depending on the timing) to force the counter to go back to Q0. This would give you 4 states (Q0-Q3) corresponding to the 4 different states of the system:

NG ER; NY ER; NR EG; NR EY

With this you would connect the following:
Pin 3: Q0: NG and ER
Pin 2: Q1: NY and ER
Pin 4: Q2: NR and EG
Pin 7: Q3: NR and EY and Pin 15: MR
(I also don't think that 100k resistor or 6.8 nF cap are necessary)

Its been a little while so I invite people to examine my suggestions.

D Dean


Of course you still need a resistor before each LED and I don't think you need any diodes.

Also, I' may be wrong but I'm not sure that the 10k resistor between the 555 and 4017 is necessary.
 
Actually, it's a rather bad schematic, mainly because it only gives pin numbers for the devices, rather than pin names. You have to go to the device datasheets and look up what pin 5 does, for example, to even follow how it's connected.

- Warren
 
Well, I meant for neatness and clarity, and the colour doesn't hurt. I didn't realize that the pins need to be named.

edit: That's peculiar. I just clicked on it again (several times), and a bunch of it is missing now.
 
Last edited:
I'm also confused as to why you have the diodes in series with the green and yellow LED and not with red. Is there a reason you want them in there?
I looks like an attempt at diode logic.
This is the functional equivilent of a prom chip.

The truth table for the diode matrix needs some work.

The 6.8nf and 100k are for power on reset. Nice touch.

Don't know if a 4017 can drive that much current.
Check the spec. You may need to add current drivers to the outputs.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
12
Views
2K
Replies
7
Views
7K
  • · Replies 26 ·
Replies
26
Views
7K
Replies
4
Views
3K
Replies
2
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K