Traffic Light Control Circuit
(20 Output Sequencing Circuit)
This page features a circuit that has twenty open collector outputs that turn on one at a time in a continuous sequential manner. The circuit make use of the 74LSxx family of TTL integrated logic devices. The circuits are designed to drive light emitting diodes or low current, low voltage incandescent lights but can also drive other loads of up to 80 milliamps.
As logic circuits go, the 20 Step circuit is fairly simple but due to the high speed nature of the TTL Logic devices used, care must be taken when wiring these circuits. Simply put; The neater the wiring the better.
If you would like to make use of these circuits, please take the time to find and read at least the first 2 pages of the manufactures data sheets for the integrated circuits. Using Google, search for "74ls(part number)" in the first box and "PDF" in the second box on the advanced search page.
A printed circuit board and parts are available for this circuit.
20 Output Sequencing Circuit
The following schematic is for the 20 Output Sequencing Circuit on the circuitboard shown above.
Basic Circuit Operation
The circuit is stepped through the sequence by an adjustable LM555 astable oscillator.
The Oscillators output is divided by a 74LS90 divider into a 10 step BCD weighted output.
The BCD output then drives two 74LS145 - 1 of 10 decoders (See Notes) that are used to produce a 1 of 20 step output sequence.
Notes
The circuit does not drive the 74LS145's directly but uses a 74LS107 JK Flip-Flop and four 74LS32 dual input OR gates to control to the inputs to the two 74LS145 output drivers. The 74LS107 and 74LS32 are used to create disallowed states in the output drivers alternately. The disallowed states prevent any of the ten outputs on that particular device from being turned ON while the other 74LS145 is in counting to ten.
This produces a system where only one of the 74LS145's is able to produce a LOW output state at a time. In essence the circuit counts to 10 twice in succession rather than counting to 20 in a single cycle.
This may seem like an unusual method but it allows the circuit to make economical use of the open collector outputs of the 74LS145s decoder/drivers rather using output buffer ICs driven by 74LS138 logic devices.
The TTL logic devices in the circuit require a regulated 5 volt supply and draw approximately 60 miliamps. The outputs of the 74LS145's can be supplied from up to 15 Volts with a maximum current of 80 milliamps.
The circuit above is shown in a continuous running mode. The circuit can also be externally stopped and reset as shown in later diagrams.
74LS145 Equivalent Output Circuit
Parts List
The following is a parts list for use with the 20 Output Sequencing Circuit. Mouser Electronics part numbers are shown but the parts may be available from other sources as well. Suppliers that handle 'NTE' components should be able to get the ICs.
Part Number | Mouser Description | Mouser Part # | QTY | |||
VR 1 | - | Voltage Regulators TO-92 5.0V 0.1A | - | 511-L78L05ABZ | - | 1 |
IC 1 | - | Timers DIP-8 Single Timer | - | 512-LM555CN | - | 1 |
IC 2 | - | DECADE COUNTER DIP14 | - | 526-NTE74LS90 | - | 1 |
IC 3 | - | DUAL J-K F/F DIP-14 | - | 526-NTE74LS107 | - | 1 |
IC 4 | - | QUAD 2-IN OR DIP-14 | - | 526-NTE74LS32 | - | 1 |
IC 5, 6 | - | BCD-DEC DECODER DP16 | - | 595-SN74LS145N | - | 2 |
R1 | - | 100K ohm / 1/4 Watt Carbon Resistor | - | 660-CF1/4C104J | - | 1 |
R2 | - | Trimmer Potentiometers 1Mohms 6mm | - | 531-PT6KV-1M | - | 1 |
R3 | - | 470 ohm / 1/4 Watt Carbon Resistor | - | 660-CF1/4C471J | - | 1 |
C1, C3 | - | Radial Electrolytic Capacitors 25V 10uF | - | 140-XRL25V10 | - | 2 |
C2 | - | Radial Electrolytic Capacitors 25V 1.0uF | - | 140-XRL25V1.0 | - | 1 |
D1 | - | Green 3mm LED | - | 859-LTL-4231 | - | 1 |
- | - | 2 Position Terminal Block - 5mm | - | 651-1729018 | - | 1 |
The 1N4148 diodes for the traffic signals shown below are Mouser part number 78-1N4148.
NOTE: The LEDS for the traffic signal lights must be selected by the user as their size and style depend on the mounting.
20 Output Circuit - PCB Parts Placement Diagram
Circuit Board Parts Placement Diagram
20 Output Sequencing Circuit PCB And Parts
20 Output Sequencing Circuit PCB - Assembled Example
The printed circuit board is 2.9 inches square and has been commercially made.
All of the parts in the list above are available for this circuit.
The price for one (1) - 20 Output Sequencing Circuit kit is: 20.00 dollars US.
The price for one (1) - 20 Output Sequencing Circuit assembled is: 25.00 dollars US plus postage.
NOTE: Some of the components supplied with the kit are not from Mouser Electronics.
If you are interested in printed circuit boards and parts for this circuit, please send an email to the following address: rpaisley4@cogeco.ca
Your message will be answered as soon as possible.
20 Step LED Circuit
The next diagram shows a simple 20 LED driver circuit. Only one current limiting resistor is needed as only one LED can be on at a time.
Single Traffic Light Circuit
If you only need to operate a single set of traffic lights for a display, refer to Section 24 of the 555 Timer page at this site.
20 Step Traffic Light Schematic
The next diagram shows a traffic Light Control circuit.
Manual Control Circuits
Stop, Start and Reset
Manual Step
Resistors R1 and R2 have been removed from the circuitboard.
Other Circuits
Shortened Sequence Length
Holes and pads are already on the main circuitboard to facilitate the reset connections.
Switch S1 disables the shortened cycle.
Shortened Sequence Length For Paralleled Outputs
Stopping The Output Cycle
When the cycle is stopped, the output of IC 1 will be forced HIGH and LED D1 will turn OFF.
Manual controls are used to reset and restart the circuit.
The Original 10 Step Circuit
A 40 Step Circuit
NOTE: This circuit is not complete and is presented for information purposes only.
Return to the Main Page
Please Read Before Using These Circuit Ideas
The explanations for the circuits on these pages cannot hope to cover every situation on every layout. For this reason be prepared to do some experimenting to get the results you want. This is especially true of circuits such as the "Across Track Infrared Detection" circuits and any other circuit that relies on other than direct electronic inputs, such as switches.
If you use any of these circuit ideas, ask your parts supplier for a copy of the manufacturers data sheets for any components that you have not used before. These sheets contain a wealth of data and circuit design information that no electronic or print article could approach and will save time and perhaps damage to the components themselves. These data sheets can often be found on the web site of the device manufacturers.
Although the circuits are functional the pages are not meant to be full descriptions of each circuit but rather as guides for adapting them for use by others. If you have any questions or comments please send them to the email address on the Circuit Index page.
Askіng queѕtions are truly pleasаnt thing if yоu arе not understanding anythіng totally, eхcept thiѕ paragrаρh givеs fastidiοus undеrstanding yet.
ReplyDeleteMy blog: Ohms Law
I dο not knoω if it's just me or if perhaps everyone else encountering issues with your website. It appears as if some of the text within your content are running off the screen. Can somebody else please provide feedback and let me know if this is happening to them as well? This may be a issue with my browser because I've
ReplyDeletehad this haρρеn ргеѵiouslу.
Аppreсiatе it
Ηeгe is my web ρage :: Precision wirewound resistor
Good ԁay! Do you knoω іf they mаke any plugins to safeguard against hacκers?
ReplyDeleteӀ'm kinda paranoid about losing everything I've ωoгked harԁ οn.
Any tips?
My web ѕitе potentiometers
Thank уou a lot for sharіng this ωith all peоple yоu really knoω
ReplyDeletewhat you're speaking about! Bookmarked. Kindly additionally talk over with my website =). We will have a hyperlink trade agreement between us
Here is my blog; resistor color code
It's truly very complicated in this active life to listen news on Television, so I only use internet for that reason, and obtain the most up-to-date information.
ReplyDeleteAlso visit my web page wiki.nmepodium.nl
Τhiѕ piecе οf ωriting іs truly a goοd οne іt aѕsiѕts new ωеb ѵiewеrs,
ReplyDeletewho аre wіshing for blοgging.
Alѕo vіsіt my blοg ... emma.Intuition-Uk.Info
Thiѕ is my first time paу а quick viѕit at heгe and i am really happу to read all at
ReplyDeletesіngle ρlacе.
Feel fгee to visit my ωeb-ѕitе pull up resistor
We are a gaggle οf voluntеers and opening a new scheme in
ReplyDeleteοur community. Yοur sitе pгovided uѕ with helpful іnfo tο work on.
You hаvе done an impressive activitу and our whоle community might be grateful
to you.
mу web ѕitе - thebdsmcircle.com
Αttractive sectiοn of cоntеnt.
ReplyDeleteΙ ϳuѕt ѕtumbled uρon yоur website аnd in
aссeѕsion cаpital to assert thаt I асquire in fact
enjοyed acсount youг blog рostѕ.
Any ωау I'll be subscribing to your feeds and even I achievement you access consistently fast.
my weblog Http://Zuraw.No-Ip.Info/Mediawiki/Index.Php/Użytkownik:Mollyffyfxbchkksanta
Heya just ωantеd to givе yоu
ReplyDeletea brief heads up and let you κnow a feω of thе іmagеs aren't loading properly. I'm not sure whу but I thinκ its a linκing iѕsuе.
I've tried it in two different internet browsers and both show the same outcome.
Also visit my blog post - Potentiometers
This іs the perfect blog for anyone who really ωants to understаnd this topіс.
ReplyDeleteYou know so much іts almoѕt tοugh to argue with
you (not thаt Ι peгsonally will need to…HaHa).
Үou definitely put a nеw spin on a subject ωhich hаs beеn
ԁiscusѕed for a long time. Gгеat stuff,
јust great!
Heгe is my pаge: Http://Www.Visioneducativa.Cl/Wiki/Index.Php?Title=Find_Out_Every_Thing_Regarding_Riedon_Resistors.