The article illustrates a simple yet innovative, fancy car turn signal light circuit which produces a rising bar graph sequence effect when switched ON.
The circuit idea was requested by Mr. +Bruce Lowry. I have explained more.
Technical Specifications
I am after a circuit design similar to the LED Bar Graph circuit that is found on this site/blog.
What I want to develop is a front turn signal sequential flasher that illuminates and holds the lights from top to bottom and then cycles them again and again until the turn signal is turned off.
I need to drive exactly 12 Amber LED's that drop 1.8 volts per LED. The LED's are laid out from top to bottom as such.
- 1 (number of LED's)
- 1(number of LED's)
- 1(number of LED's)
- 2(number of LED's)
- 3(number of LED's)
- 4(number of LED's)
I would like to illuminate the first one at the top and hold and then move on to the second one down and so forth until all 6 rows which consist of 12 total LED's are illuminated and then start the sequence over.
Variable resistors should be included so that the clock frequency can be altered. This will allow me speed up or slow down the illumination and hold of the LED's.
Plus if there is a variance in the driver side circuit and the passenger side I could use the adjustability to "syncronize" the working rates of both sides. (turning on the hazard flashers to observe both sides being enabled and sequencing would be a good way to visually check this)
In the connector to the front turn signals I am working with three connections.
Top pin is 12 volts constant when running lights are turned on (oh, just a thought- It would be nice to use the entire string of LED's as running lights as well) Middle Pin is zero volts (GROUND) and lower pin is 0-12 volts when the turn signal is activated.
I need a working circuit that will handle automotive voltages that are not always 12 volts in practice , but can range up to 14 or so volts in actual real world use.
A complete circuit diagram would be helpful. Including resistor values for driving the different multiples of LED's and if each LED would have its own resistor or just run them in series with one resistor.
Thank you.
The Design
The above circuit can be built using two different types of circuit configurations. One which uses the IC 4017, and the other through the IC 74LS164. Here we'll discuss the one which uses the IC 4017.
As shown in the first circuit diagram, the entire design is wired around the IC 4017.
We know that the IC 4017 which is a johnsons divide by 10 decade counter/divider chip produces sequencing high logic pulses on its outputs in response to  clocks applied on its pin#14.
In response to each high pulse on pin#14, a high logic shifts from one output to the next in the following pin-out order: 3-2-4-7-10-1-5-6-9-11.
Thus all the 10 outputs become high sequentially until the last pin#11 becomes high after which the sequence returns to pin#3 so that the cycle can repeat yet again.
The cycle keeps repeating as long as the clock pulses are sustained at its pin#14.
However the sequencing pattern does not keep the outputs illuminated while shifting. The outputs become high and then become low again as the sequence shifts from one pin out to the other.
It means at any instant only one output is high during the sequencing process.
If we connect 10 LEDs at the above 10 outputs of the IC 4017, it would provide an impression of a single LED chasing effect, however since for the present car turn signal application we want a bar graph kind of appearance we would want the LEDs to stay and hold their illumination as the sequence proceeds from the start to the finish pin-outs.
To implement this "hold" feature we need to introduce a latching feature with the given outputs.
This can be simply done with the use of SCRs, because as per the characteristics SCRs latch their MT1, MT2 leads if the supply is a DC. Therefore it perfectly suits our application.
By connecting SCRs at the first 6 outputs of the IC we can simply implement the bar graph kind of feature such that the LeDs hold and stay illuminated until the complete is completed.
Pin#1 provides the last sequencing output after which the IC should shut down all the LEDs and begin the procedure all over again.
For actuating the above action, the transistor T1 stage in introduced at the next pin#5, which instantly inhibits the supply voltage to the SCrs so that all of them  shutdown.
Pin#6 is tied to the reset pin#15 of the IC which makes sure the sequence gets back to pin#3 as soon as the LEDs shut OFF, Â enabling the next cycle to commence.
Circuit Diagram
As rightly expressed by Mr. Bruce, the above circuit will not function properly under a fluctuating DC which would be normally available across the existing turn signal light outputs due to switching of the flasher relay.
Adding a Delay Timer
However the above circuit can be simply modified by adding a small time delay circuit, which would hold the current and keep the circuit functioning switched ON by supplying the required amount of power during the absence of supply from the flasher relay.
The above sequential car turn signal light circuit was successfully built and tested by Mr.Bruce Lowry.
The wonderful results can be witnessed in the following video. Please refer to the comments to learn regarding the whole process.
With an adjustable rate of flash added, the circuit now looks much enhanced. Courtesy: Mr.Bruce Lowry.
The above design was further modified by Mr. Jason in order to implement additional specific actions such as making the LEDs stay solid when the brakes are applied, but also making sure that the LEDs stayed in the flashing/running mode in case both: the turn signal and the brakes were switched ON together or simultaneously.
Video Clip of the prototype:
Another Clip:
Modifying Further
The modified design which is attached below has an additional feature wherein the LEDs could also be used as park lights thereby making the above circuit a 3 in 1 unit:
Here's the complete design drawn by Mr. Jason for your viewing pleasure:
Shishir says
Hello Swagatam,
Looks you are doing great job for the community.
Can you help me with a circuit diagram for Motorcycle Indicators Flowing Turn White/Red/Amber. like this Link : https://www.ebay.com/itm/266706573438
I would like to use this to create circuit board and use it.
Thanks
Swagatam says
Thank you Shishir,
Can you please tell me how the LEDs are supposed to illuminate? Once I know this I can try to figure out the design…
Shishir says
Hello Swagatam,
Thank you for your reply.
Here is what I am looking for
1. Two front indicator should glow white and amber with flowing pattern.
2. When turning on indicator the white DRL should turn off and amber should glow in flowing mode.
3. Once turned off DRL should glow and amber should turn off.
4. Same with back turn signal with re and amber.
Here is the youtube link
youtu.be/BYvmQ7QrZfc
Thank you
Swagatam says
Thank you Shishir,
The LED running pattern appears to be having more than two sequences which looks difficult to implement using a discrete circuit, so it may not be possible for me to design this multiple-pattern LED illumination.
However, the 4 points that you have mentioned above is possible, assuming the “flowing pattern” is just a simple running LED light pattern, which can either be a “dot” mode or “bar” mode.
Let me know your thoughts on this.
RANDY says
I like tis circuit. I would like to be able to connect to a 4 wire hitch like the LED Bar strips. Brake and turn signal are combined. There is no constant 12v supply. I haven’t found a schematic that explains how to make the sequential turn and brake work separately.
Regards,
Randy
Swagatam says
I will have to see how the 4 wire LED is designed to work, only then I would be able to suggest.
If there’s no constant supply from a 12V battery then the above circuits won’t work.
Zapp123 says
Hi Swagatam and thank you for the circuit you have shared.
I Must say, mine works mostly well, although the one issue i have, when connecting the indicator line to 12v (re Diagram 1) all of my leds light up, except for the first one in the sequence. But if i hold the indicator wire to 12 input, when it finishes the first run through sequence, it will begin the 2nd one and light up all the leds including the first one this time. I am unsure what could be causing this behavior.
The first led in the sequence is connected through the collector on pin 3 on the 4017 ic (marked as output 0)
Any idea why it would skip the first led during the initial sequence when 12 is applied, but then light all led on the 2nd sequence?
Thanks
Swagatam says
Thank you Zap123, it could be probably due to some kind of spike or instability which might causing the erratic behavior.
You can try putting a 100uF capacitor across supply pins of both the ICs, and additionally connect the IC 555 pin3 with the 4017 pin14 through a series 100k resistor, and connect a 0.22uF capacitor between pin14 and ground.
zapp123 says
I see what you are trying to say. I am yet to give this a go, i just wanted to clarify, i am putting separate 100uf caps for pin 16 on the 4017, and then 2 separate caps for pin 4 and pin 8 on the 555, only pin 8 on the 555?
Assuming, I only need to put the cap on pins 16 and 8, would I be able to get away with having 1 200uf cap for both pins 16 and pin 4, or will this not work correctly. Trying to think of the most efficient way for when I design my rev 2 board.
Thanks 🙂
Swagatam says
Just one 100uF capacitor each across the supply terminals of the two ICs will be enough. Let’s hope this helps to solve the issue!
Zapp123 says
Hi Swagatam
This seems to have corrected the activity in some cases, although now that it will start from the first LED on initial power supply, it seems as though, when power is disconnected and reconnected in the space of less than 3 to 5 seconds, the circuit will hold charge somwhere, and then resume the sequence from where the power was disconnected. (when resuming the sequence, it will not light the previous led’s until the next run through the sequence) The best way i can explain it would be to show below how it will run through the sequence
(x) Resembles Light on
(o) Resembles Light off
-o-o-o-o-o-o-o-o-o-o-
-x-o-o-o-o-o-o-o-o-o-
-x-x-o-o-o-o-o-o-o-o-
-x-x-x-o-o-o-o-o-o-o-
-x-x-x-x-o-o-o-o-o-o-
——–Power Cut Less than 3 Seconds——–
-o-o-o-o-x-o-o-o-o-o-
-o-o-o-o-x-x-o-o-o-o-
-o-o-o-o-x-x-x-o-o-o-
-o-o-o-o-x-x-x-x-o-o-
-o-o-o-o-x-x-x-x-x-o-
-o-o-o-o-x-x-x-x-x-x-
-o-o-o-o-o-o-o-o-o-o-
-x-o-o-o-o-o-o-o-o-o-
-x-x-o-o-o-o-o-o-o-o-
-x-x-x-o-o-o-o-o-o-o-
-x-x-x-x-o-o-o-o-o-o-
I feel like the current might be held in the 0.1uf capacitor that connects the positive to the neg rail. do you think adding a diode on the positive side would prevent backcharge? I will try this and report back. please let me know if you have any other suggestions
Swagatam says
Hi Zapp, that looks very strange, because 4017 do not have “memory.”
You can do one thing….connect the pin#15 to ground through a 10k resistor, and then connect any small value capacitor between positive rail and pin#15..this will reset the IC each time power is switched off and allow the sequence to begin from pin#3
Zapp123 says
Hi Swagatam
Sorry for taking so long to get back to you. It has taken me some time to free myself to test this fix.
With this being said, after adding the 10k resistor between Gnd and reset, and the 0.1uf cap between vcc and reset. This has tightened up timing in regards to how long I have to wait before restarting the sequence when power is disconnected. As before I’d have to wait between 3 to 5 sec, I now only have to wait 1 sec before it will start the sequence again from the beginning.
I am Baffled as we are supplying voltage to the reset pin as soon as the circuit sees power. So I do not understand why it is still acting this way
Would you happen to have any other ideas? Thanks in advance
Swagatam says
No Problem Zapp!
However a 1 second delay with a 0.1uF/10K as the reset network looks strange. Because the 0.1uF should charge within milliseconds and enable the sequencing quickly for the IC. You can reducing the 10K to 1K and check the response again. Nevertheless, it seems there may be something else not right either with the circuit or the IC itself. Will need to be investigated by replacing the IC with a new one perhaps.
vamsi Krishna says
Hi swagatam,
I tried the circuit which you suggested. it’z working good in sequential. but here i need a small modification.
if when ever I applied the brake, leds lights up sequentially and stay all lights should ON till I release brake.
but here, when powered to the circuit, sequential effect continues.
can you please help me what changes should I do here.
Thanks in advance…:)
Swagatam says
Hi Vamsi, the LEDs will latch and remain ON if the transistor is disabled during power switch ON. So when the brakes are applied it must switch ON the positive supply to the circuit and also simultaneously should apply the positive to the base of T1. This will disable the T1 and allow you to get the required results.
Swagatam says
sorry, please correct my previous comment, T1 must be permanently enabled to ensure the LEDs stay switched ON after one chasing sequence. For this use a BC547, connect its collector to T1 base via a 1 k resistor, emitter to ground, and base to brake positive via a 10k resistor. The brake switch must also supply the positive supply to the circuit when it is pressed.
Amit Kumar says
Very good sir….Liked ur project very much. But I want to make on 1w led with 10 channel and with del white light on….When we turn on engine ..DRL of white color is on and when we turn on indicator white is off and sequential turn signal is flashing…..This is one of my dream projects with 1w or 3w LEDs… Please guide if possible
Swagatam says
Glad you liked it.
Please see the second circuit and do the following additions.
Connect a TIP122 transistor in the following manner:
Base to 12V via ignition switch. Connect the base also to the collector of 2N2222 in the second diagram.
Connect the emitter of TIP122 to the ground line.
Connect the DRL between collector of TIP122 and battery positive line
Amit Kumar says
Sirji so humble of you. But I am little novice to electronics. If u can make a video on your YouTube channel on this with drl and sequential turn signals that would be a help to …many headlamp and tail lamp modifiers like me
Swagatam says
Thank you Amit, however making a detailed construction video will not be possible at this moment, in future I may surely consider it.
Amit Kumar says
Ok sir, can u just please modify that diagram to the newer one
Swagatam says
Please make the circuit which is shown in the second design, once you build it successfully then i’ll explain how to do the next modification.
billis says
hi my friend… i make this circuit in a board and i put small led with mcr100-8 thyristor. with small led wprk perfect.. but i have 3 watt led im my car with led drivers.. so when i put 12 volt the sequence start but not bright all and in the end only two led turn on.. the sequence work like have tranzistor.. what can i do… please help me..
Swagatam says
Hi, which SCR did you use? Please use C106 SCR, and replace the transistor with TIP127
calculate the resistor using this formula:
R = (12 – LED FWD V) / LED Current
René says
Hello Swagatam, i built the project according to the first diagram and would like to connect 3 watt leds , i replaced the Scr’s for the C106 and T1 for the Tip 127. Unfortunately it won’t work when connecting 1 led it works fine but after that it works wrong and some leds are only blinking. Can you maybe help me? Greetings René
Swagatam says
Hello Rene, which resistor did you connect in series with each LED?
René says
hello Swagatam, I am using a led driver to drive the leds.
Swagatam says
OK, however I would recommend using individual LEDs and a calculated series resistor with each LED. An LED with driver across each SCR might not be a good idea. Also for 3 watt LEd on each channel, a TIP127 might not work. You might have to use a TIP147 with a large heatsink.
René says
Hi Swagatam, I did a test with 20ohm resistors and now it works indeed. Thank you for your help. Greetings René
Swagatam says
That is great Rene, I am glad you could solve it, however a 20 ohm is too high for a 3 watt LED at 12 V, and it will cause the LED to glow with a relatively low illumination.
Ray Lancaster says
Mr. Swagatam:
I have been involved in electronics since 1965 and take I interest in unique circuits such as the sequential led driver by you and Mr. Jason. I completely understand 99% of the circuit however I am baffled by R6 and D5 as to their function? Another question is how the counter can start at #1 when the 555 timer is running open loop and driving the counter continuously even though no leads light until the turn signal is applied. Seems like the led sequence would start wherever the counter happens to be. Thanks for your sanity check if you get time.
Swagatam says
Thank you Mr. Ray, you are right, the R6, D5 don’t make sense, however I think they are mistakenly shown in the wrong area. D5 is actually not required but R6 is required and it should be in series with the collector of Q4. R6 value should not be more than 1K
To answer your second question, I don’t think it is important for the 4017 output to reach #1 each time the turn signal is switched ON simply because the sequencing is supposed quite fast….,therefore it can start from anywhere in sequence and keep cycling across the 3 outputs
Ray Lancaster says
Many thanks for your quick response! My project not only involves a 10 lamp circuit but also includes building the lamp fixtures as well. My truck does not have existing fixtures so that is an additional project by itself. Again many thanks I will share my results.
Swagatam says
No problem, I wish you all the best!
René says
Hi Swagatam, yes that is correct. I still had these laying around, I have now ordered 15ohm. Greetings René
Swagatam says
No problem Rene, I hope it works for you perfectly!
Dejan says
Can someone share PCB look for this circuit?
Ruben Valiente says
Hi! Thanks for this project !
Can make this work with about 70 leds?
With other 4017?
Can help me…plz….
Swagatam says
Hi, I have not yet investigated how to cascade many 4017 together, if its possible I may research on this and publish it here.
Ruben Valiente says
THanks!
jeremy says
just want to confirm.
If I use the first circuit which is minus the constant 12v supply.
Will the circuit work with all LED’s turning on in sequence plus remaining on during the sequence until the 555 triggers a reset or the car signal wire = 0v?
I want the LED’s to do ONE sequence during the car signal “on” period.
Each time the circuit gets 12v from the car signal 12v wire it will do one sequence then stop when the car indicator wire has 0v.
Swagatam says
Yes it will work in the mentioned manner! You can see the response in the first video.
Jeremy says
So the SCR uses the momentary output from the 4017 to close its gate and leave the LED on?
Swagatam says
That’s right, SCRs and triacs have the property of latching with DC supplies.
Jeremy says
Sure. Just checking that the SCR remains latched after the momentary signal from the output of the 4017 is no longer present.
Swagatam says
yes, a momentary trigger is enough to latch the SCRs
Faith says
great work! put together, i have built it without much stress and it working fine i even went as far making all to come up at once by incorporating 1n4148 thanks for the knowledge share.
but i have one question, is there a way of making a sequential light using 4017 such that when it get to the last output instead of going to start from the beginning it will now start from the very last to the beginning and vice versa
Swagatam says
Glad it’s working for you. The reverse effect may not be possible with a 4017 for the above implementation, but using LEDs it may be possible with 5 outputs only, as shown here
https://www.homemade-circuits.com/200-led-reverse-forward-light-chaser/
Ted Burrell says
You would need to substitute a 4013 flip-flop with a 4510 up/ down counter, whose counting sequence is switched by the logic state of the 4013’s Q output ( pin 1 or 13) connected to the 4510’s direction pin 10. The 4013’s D input ( pin 5 or 9) is connected to pin 7 of the 4510 to manually reset the 4013’s Q output ( pin 1 or 13) feeding the IC counter’s pin 10 to reverse the counting sequence. I don’t have a circuit penned out for this suggestion to be made clearer than I can explain it.
FR Custom Creations says
hey ahain Mr Swagatam… did you delete some of our last conversation here? i am trying to refresh my memory with with something u told me but i cant find the whole conversation 😛 i am sorry for that… i will try to remember…
Swagatam says
Hey FR, all comments posted between April 5 and April 15 are lost in the other platform where I had moved my blog during this period of time, but I had to return back here due to some complexities I could not handle….
so I am sorry those comments are gone now.
please try to remember it and put it back here, I'll answer it appropriately 😉
FR Custom Creations says
Well Mr Swagatam… its working :D…. but i need your help with something else now :P….
how i can stop the sequential cyrcle?… (What im trying to say is: if the turn signal from the car stay for 1 second on, its a litle dificult with the potentiometer to find the exact point to start from led 1 and finish to led 10, before start again the cyrcle…) so i need to make the sequential to make 1 cyrcle only and then stop… and then start again after the turn signal cut…. i dont know if u can understand what i am trying to say, i am trying my best with my english 😛
best regards
Swagatam says
FR, you can probably do it with the following changes :>)
1)connect pin15 to ground through a 1M resistor, and also connect a 0.1uF capacitor from pin15 to the positive line
2) and furthermore connect pin15 with pin13 and to base of T1 via a 10K resistor
I hope you understood the procedure :-#
Swagatam says
make sure to remove pin13 connection from ground first…..
Andrei says
Hi Mr. Swagatam
I have completed the project with all 10 outputs and it works but I didn’t checked yet on the signal from the car.
I tried to simulate a signal like it was from the car, in the first diagram, but the sequence is not starting from the beginning all the time, sometimes it starts from 5-6-9.
Adding the delay timer from second diagram, the intensity of the led goes down and 3 outputs from all work like a chaser( the led comes on, and off when the next sequence is on).
I saw this this conversation with FR and I want to ask you if the modifications above work for my project with 9 led lit?
And please can you give me a email address to send you the design to double check, might be something wrong and I can’t see it.
Thank you very much
Swagatam says
Hi Andrei,
For 9 outputs you can repeat the SCR/LED configurations across the 9 outputs of the IC, in the following pinout order:
3, 2, 4, 7, 10, 1, 5, 6, 9
Connect the last pin11 with T1 base through a 1K resistor.
The pin15 will now connect with the ground. But to ensure that the IC always starts from the beginning, connect the pin15 to ground line through a 10K resistor, and also connect a 1uF/25V capacitor between pin15 and the positive line.
In the delay timer circuit you can increase the base resistor value of 2N2222 to 10K and see whether it helps or not.
I am sorry, the checking and verifying will have to be done by you, because a mistake can happen by me also while checking and that can create more confusions. I hope you will understand.
andrei says
hi
thank you very much for your help, i followed your instruction and everything works fine with 9 outputs and stays put when the last led is lit.
now i have other questions
1. how can i do the led to lit faster? for example all 9 led are lit in 1.2 sec, i want to lit in 0.40 sec due to my project
2. what modification i have to make to use just 5 outputs? i have used the first design and taking in account
1> that at 6 outputs, 3-2-4-7-10-1, next pin 5 it goes to T1 trough a resistor and next pin 6 goes to 15 witch is the reset pin, and
2> the information shared above for the 9 outputs
=i have created the design with 5 outputs in the following way: 3-2-4-7-10 as the original design, pin 1 to T1 trough the 1k resistor, pin 5 to pin 15 and i did the connections to stay lit after the last sequence, and when i tested the circuit, just first sequence 3 is lights on and the rest off.
Thank you very much for your help
Swagatam says
Hi, that’s great, congrats to you on that!
to make it faster you just have to vary the 555 IC 100K pot, or simply reduce the 4.7uF capacitor to 2.2uF or lower.
Your procedure for the 5 output is correct, and the LEDs must sequence upto pin10.
Something may not be correct in the connections, which will need to be checked carefully. you can manually touch an LED across each of the 5 output pins to ground through a 1K…this will help you know whether the relevant pins are producing the required high or not
FR Custom Creations says
😀 Thank you i will try it.
FR Custom Creations says
first off all thank you for your answer… please help me more… i did that but it didnt work… in this diagram the last connection (without led) in 4017 is number 5 connection.
i need to use 5-6-9-11 (with leds) and then the 15 without bridge to 6 for reset?
thank you for everything
best regards
Swagatam says
thanks FR, just forgot to tell you that if you are using all the 10 outputs of the IC 4017, in that case pin#15 should be grounded, that is connected with the negative supply line.
FR Custom Creations says
Hello all… the diagram realy works poperly… i have a question… can i add more led rows? now we have 6 here but i need 10… is that posible? best regards
Swagatam says
you can use all the 10 outputs of the IC 4017 and repeat the SCR stages across its output pins to acquire the require 10 LED sequence…
Andrei Comca says
Hi Mr. Swagatam
Can you send me please the scheme for 10 outputs because I don’t understand exactly how to do the modifications?
I’m new in this hobby and I really want to do this for my car.
Kind regards
Andrei
Swagatam says
Hi Andrei,
it’s actually very easy, just modify the circuit in the following manner.
Disconnect pin#15 from pin#6 and the connect pin#15 to ground line, or the negative line.
Now connect the SCR/LED network to all the 10 outputs in the following pinout order: 3-2-4-7-10-1-5-6-9-11
Also, remember to disconnect the T1 base resistor from pin#5 and connect the resistor end with pin#11.
Andrei Comca says
Thank you for your quick response.
I understand now how it should lock but I have an other question. Pin#12 is always unconnected? To understand better, what is his role?
Swagatam says
You are welcome, pin#12 is not used in single 4017 IC circuits, it’s used when many 4017 are cascaded together to carry forward the clock frequency from 4017 to the next 4017 sequentially.
Jun Miranda says
Hi Swagatam,
This project is awesome! after reading all the blogs, I decided to build one and it work as it should. My only question is can you modify the circuit instead of shutting OFF all LEDs in one time after they all got illuminated, is to turn them OFF sequentially (one at the time) starting from the first row, second row, third row and so on.. until the last row, then Reset and cycle back again
Thank you,
Jun Miranda
Swagatam says
Thanks Jun,
the above circuit can be modified as per your requirement but it could become quite lengthy and complex, rather you can try the following circuit which has the specified function in-built and can be simply tggled through an externally switch:
https://www.homemade-circuits.com/2014/08/knight-rider-led-scanner-circuit.html
you can eliminate the second 74LS164 IC if you are satisfied with only 7 number of LED sequences, however if you are interested to keep all the 15 LED outputs you can carry on with the one that's shown in the figure
Jun Miranda says
Thanks Swagatam
kaleb says
With the diagram you provided above. Can I use the same circuit fro both turn signals? I just want to verify. I was thinking the easiest way for me to use both turn signals I would splice into both the left and right turn signals and wire them into the circuit some how.
This is an example of what I would like to do. imageshack.com/a/img540/1305/lVtzx9.jpg
Where there is 3 LEDs I could do 2 instead.
If you think of anything that would be better please let me now.
Swagatam says
you can share the 4017 and 555 configuration for both the left and the right LEDs, but the SCR, LED and the T1 section will need to be repeated for the two channels.
For the T1, their positives (emitters) will need to be isolated from the IC positive rail, and the respective emitters will need to be connected with the L/R turn signal switch positives.
The IC positive could be either permanently connected with the battery positive or with the turn signal positive through two diodes, the diode cathodes to be joined and connected with the IC positive while the anodes connected separately with the L/R turn positives.
armysaxman says
I'm so glad I found this! I'm currently building a similar system for my'68 T-bird (which actually has sequential turn signals as original equipment). Through the help of a local electronics club, I designed a circuit to be driven by an Arduino. Everything was coming together until I got to the code. I just can't figure it out. I'm thinking that your circuit (as rendered by Mr. Jason) would be better since it is not software dependent.
So, a few questions:
1. I have the park lights on a separate circuit. Can I just omit that portion of your diagram?
2. Can I use the circuit for one side of the vehicle and a duplicate for the other side and tie both sides together at the Hazard switch. My original design has 4 "inputs" – Brake, Left Turn, Right Turn and Hazard.
3. The sequential signals are for the rear of the vehicle. The front only has one bulb that is wired to turn on with the middle bulb of the rear indicators. Can I tie the front indicator in with the middle LED (pin 2 on the CD4017)?
Thank you for you time!
Swagatam says
Here are the answers:
1) Yes you can omit the park light section in Jason's diagram for your specific need.
2)yes two identical can be built and used independentaly or simultaneous;ly for the two sides of the vehicle.
3) Yes it's possible, however suppose If you connect the front lamp with pin2 of the circuit from the rear, switching ON the rear would also switch ON the front and switching on the front would in turn switch ON the rear lamps….how would you be able to control the front and the rear lamps independently meant for different indications using the same circuit??
armysaxman says
Thanks Swagatam for the quick reply and for pointing out the problem I overlooked. I’m thinking I can use an NPN power switch IC between the pin and the front lamp that would be turned on by the turn signal switch. Or, perhaps a standard relay. Thoughts?
Swagatam says
I think you will need to include a selector switch kind of thing, one that would allow you to select whether the circuit is required to work for the front lamp application or the rear ones.
It may be implemented by connecting the positives of the lamp that connects with the SCR through a switch such that toggling the switch selects either the front or the rear lamp for the operations, but never together.
armysaxman says
Ok. I've developed a proposed circuit based on Jason's diagram using Eagle CAD. I've tried to share it through Google Share, but it's not working with my MacBook (seems to be a universal problem). Is there another way I can share my schematic for your scrutiny?
Swagatam says
You can send it to my email ID, hitman2008@live.in,
There's another better and easier way of doing it, by making a separate IC555 section, and then use its output for toggling the front single lamps.
You will find many such IC 555 circuits online….just type "IC 555 flasher circuit" and you'll probably get many options for it.
If you have problems, let me know I'll help you out
AESHID Indonesia says
I always get fail to make this diagram with project board, can you post details of parts, because Im newbie with this
Swagatam says
all the part numbers are given in the diagram itself, you can note it down separately….the resistors are all 1/4 watt 5%, capacitors are 50V rated.
Swagatam says
I am unable to understand exactly what you are trying to implement,please clarify it properly…
Swagatam says
sorry I did not understand the problem, are you saying without the Scrs the LEDs are illuminating one at time across the outputs in the form of a dot sequence??
then it's correct the IC 4017 is designed to work that way, and SCrs are specifically positioned to latch up and sustain the illumination and elimiante the above situation
Swagatam says
600mA is the maximum current eating.
if you are using SCrs, then probably only 9 outputs would work, the last pin11 of the IC 4017 will need to be used for activating the 2N2907 as given in the first diagram.
Swagatam says
yes will do….with all the 10 outputs being used you will need to connect pin15 of 4017 to ground
Swagatam says
OK….please make it 250 ohms if the voltage is 2.5V (for 3 in series)
Swagatam says
I specified 150 ohms correctly with reference to the same link earlier.
Please do not put external links.
Swagatam says
….
Jason S. says
Okay, I had a chance to work on it, but have not tested it on the breadboard yet. If this works, one 4017 and 555 timer chip can be used for both left and right turn signal.
If you need a larger file for better viewing, just let me know and I can email it to you.
Here is the schematic.
i30.photobucket.com/albums/c345/_Falcon/SequentialLEDs10.jpg
I hope you can understand what it is doing. The LED's I will be using have 3 wires out. One is ground, one is Brake/Turn, and one is Park. When just 12 volts is hooked up to the assemblies, It seems that there are different resistors to control the brightness (a fixed amount) for the brake/turn, and for the Park. Which is a nice factory option from the LED assemblies themselves. If I just use one wire (the brake/turn), and a potentiometer to adjust the brightness for the Park, I am thinking I would need a 19W potentiometer, and those are expensive. Each LED assembly draws 246mA at 12.8 volts. If all 6 lights were on, that's 246mA * 12.8 volts = 18.89W of power. So, wiring them separately and using a common ground to switch them on and off, would eliminate the need for a potentiometer, since the resistors are built into the lights themselves.
I am using a NOR gate to turn off the Park LED's when the brake or turn signals are applied.
I am not sure on the resistor values. I've changed the Vcc for the 4017 and 555 to run off of the LM7805 voltage regulator. By doing that, should I also run the other inputs/outputs of those chips off of the LM7805 as well? If I do, I am not sure of the Capacitor and Resistor values needed then.
I'd like to switch all power to 5volts for less power consumption. Except for the LED supply voltage of course. that needs to stay the 12-14 volts coming straight from the wiring of the Truck.
I took your suggestion and added the transistor and the resistor to rapid discharge the 470uF capacitors so the LED's do not continue to sequence for 15 seconds AFTER the turn signals have been turned off. As per your request, I have connected them to the last sequencing output of the 4017. It makes sense, and as you said, should work for turning off the LED's from sequencing.
If I can get this to work, I plan on building a circuit to allow up to the 8 sequencing LED's (available outputs for the 4017 since two are used to reset the 4017 and the SCR's). I will do it using either dip switches or more simply, solder bridges. I will also make it so that solder bridges will be before and after a resistor of each LED, if a resistor is needed for standard LED's to be wired up. I need to do this for my car, and my new lights will have 5 rows of LED's I will need to sequence instead of the 3 that my nephews truck has. So I'll need to design the circuit to work for both. Fun Stuff!
Let me know what you think, and thanks for all your help! 🙂
Jason
Swagatam says
Thanks Jason, that looks great, I think all's pretty neatly done and this one should click.
As for the 7805 connection with the IC supply pins, yes everything relevant to the positive supply will need to be connected with the 7805 IC's 5V rail, so the IC stages entirely get connected with the 5V from the 7805 and the ground of the circuit. No changes would be required as far as part values are concerned.
I think this design deserves special attention and I would want to post it as a new article, cannot let it get wasted at the corner of this page, I'll do it soon:)
And we all wait to see how it performs practically in your car.
If you have troubles on the way, do let me know, we'll fix them together
cheers:)
Jason S. says
not sure i understand. What good is it putting the base to pin 1 or 5. Doesn't the 4017 reset after it hits Q4 (pin 10 which is connected to pin 15, reset). That would mean there would be no output of the 4017 from anything higher then Q4 to trigger the base of the BC547.
If I move Q4 to Q5 and connect to RESET, then put the base of the BC547 to Q4, then there would be a signal, but wouldn't the delay be too much for the sequencing of lights?
I understand what the BC547 is doing, it is to rapid discharge the 470uF cap.
Oh, I think I understand. You are looking at the original design using 6 LED's into the 4017, where my design only has 3.
So the base of the BC547 would connect to the last sequence before the RESET of the 4017.
I will try that.
FYI, I need to update the schematic for you. I see some mistakes in the one that is posted above that I sent you.
Jason
Swagatam says
Oh, by mistake I referred my diagram while suggesting the solution, it should be Q2 as per your diagram.
yes you got it right…each time the sequence ends and reaches Q2 it makes sure the 470uF gets discharged and "checks" in the meantime if the flasher is switched OFF or continues with its switching for the next sequence to begin.
sure, an updated diagram would be helpful
Jason S. says
Swagatam,
I don't exactly understand what the pnp transistor does in the circuit. Could you explain it?
And I'm still having trouble with the circuit. Seems, the pulses from the trucks turn signals aren't exactly in perfect sequence, which is making it impossible to get the correct capacitor/resistor combination to tune the 555 so it puts out a steady voltage using that Missing Pulse Detector design.
I am currently exploring a less complicated design for that using a 12 volt relay.
Jason
Swagatam says
The PNP transistor is for breaking the latch of the SCRs each time the cycle reaches the end of the sequence (pin5).
Jason, here's a simple a solution you would want to try:
Take a BC547, connect its collector to the 470uF (+) terminal VIA A 1K RESISTOR.
Emitter to the usual ground point.
The base will go to pin1 or pin5 of the IC 4017.
I hope you would get the logical point behind this modification, and this would most likely solve the issue effectively.
Jason S. says
Thanks Swagatam.
I found a circuit that may work using an additional 555 timer. It's a Missing Pulse Detector. If the pulse is delayed or interrupted for more then two ticks, it will put the output to low on the output of the 2nd 555, otherwise, if the pulse is even, it will keep the output of the 2nd 555 to high. This could be used to turn off the base of Q1. Also, with that circuit, I think I can eliminate the Diode, Resistor, and the 470uF cap.
I will need to test this. But in simulation, it seem to work. The switching time from High to Low seems to be about 57ms. Which is pretty darn fast, less than 1/10 of a second. I will test this tomorrow night, if it works, I will post an updated circuit schematic for others to use.
Jason
Swagatam says
Thanks Jason, that appears to be a great idea, I am sure it would work practically too and also help to eliminate the undesired fading effect of the LEDs
Jason S. says
Hi Swagatam,
I found a fix for the Parking Lamp staying on while the lights are flashing from turn signals or hazards. That problem has been solved.
I am however stumped on the problem with the LED's still flashing (and slowly dimming to nothing) when the turn signals are turned off. This is also affecting the brake lights/park lights from turning on right away, as they are waiting for the capacitor to totally discharge before turning off the transistor to allow the current to flow through the other transistors operated by the brake and park switches.
I've tried to fix this in the simulation, but is not working. because the flashers are 'flashing' via the factory relay, i can't just install a transistor to shut off when the turn signals are turned off. When I do, the transistor just turns on and off with the flasher relay. I can't change that in the truck. Even at the switch itself on the steering column, it is still flashing there. That, plus, If I deactivate the relay, then the fronts do not flash on the truck.
Is there a way to rapidly discharge the capacitor so that the transistor turns off allowing the brake and park to operate as they should without delay when flashers are turned off?
Jason
Swagatam says
Hi Jason, It seems you are working too hard on this circuit, and I appreciate your efforts. So far you everything right.
In order to discharge the 470uF cap quickly, you can try the following modification.
Take a BC547 transistor, connect its collector via a 1k resistor to the (+) of 470uF and the emitter to ground, and now simply integrate its base to the brake switch via a 10k resistor.
I hope this will solve the problem since its during braking the flashing needs to stop instantly, otherwise normally if the flashing persists for a few seconds more it won't create or lead to any hazardous situation.
Swagatam says
oops! the above improvement won't help, because it would interfere the flashing effect when brakes are applied while the turn signals are on.
The simplest way would be to add a preset across the base/emitter of Q1 and adjust it such that the OFF delay stays just ahead of the flashing arte from the flasher, I cannot see any other quick modification feasible other than this
Jason S. says
I think I just found a fix for problem 2 with the parking lamp dimming the LED's as they flash. If I connect the collector of Q3 to the base of Q5, as I did for the Base of Q4, that should turn off the parking lamp when the flashers are on. Am I correct to think this? I will have to try it.
Now to think of a way to turn off the lights when the flashers are turned off, instead of them continuing to flash. But that capacitor is messing things up, I understand it needs to be there, so that it tricks the circuit into thinking it's a continuous power source of 12volts, instead of flashing on and off with the flashing relay of the truck.
Jason
Jason S. says
Okay, I found a problem with the schematic here
i30.photobucket.com/albums/c345/_Falcon/SequentialLEDPart2.jpg
The emitters of Q3, Q4, Q5, and Q1 should all be connected to ground. All other grounds should be connected to the collector of Q1, other grounds meaning: pin 8 of 4017, pin 1 of 555, etc.
Once I made that change it worked.
I did however need to use a relay on the parking lamp to change from a negative trigger to a positive so it would activate the base of Q5.
I also had to use a transistor for the brake connection, as for some reason there was not enough voltage from it to turn on the transistor of Q4.
Now, there's two problems with the circuit…..
Problem Number 1:
When the Flashers are on, the LED's operate as normal, however, when they are switched off, they keep flashing until they dim out and are no more. This causes another problem, the brakes do not light the LED's (when flashers are off) until the capacitor has drained all the power, then the all the LED's will turn on. I'm guessing the 470uF cap is the reason it is doing this.
Now I tried with a 1k, 10k, and a 22k resistor for R4 and still the same thing. I even switched out the capacitor with a 4.7uF and that didn't work at all, I couldn't get the LED's to flash correctly at all with that.
So, how to fix that problem? Maybe place a transistor for each of the brake, park, and turn signal after Q2 and before the LED's?
Problem Number 2:
When the parking lamp is on, the LED's are all on and dimmed, Okay, great, the way they should be. The only problem with this is, that the LED's are also dimmed as the lights flash. LED 1 comes on bright, then stays on while LED 2 and 3 are dim, LED 1 and 2 come on bright while 3 is dimmed, All LEDs come on bright, then reset and repeats. When the LED's are in flashing mode, I want the LED's to all be off, unless they are flashing in sequence. So something is wrong here as well. There has to be a way of turning off the parking lamp when the left or right turn signal is activated, and also as the hazards are activated.
Anyway, thanks for the help, I will fix the schematic with the changes now and post it.
Jason
Jason S. says
okay, will try that circuit,
Should I change R5 to 6.3k and insert a 3.7k resistor between the collector of Q3 and base of Q4?
So it creates a path of least resistance to the Q3? Or keeping it at 10k will still not activate Q4 if the turn signals are on? Does the base transistor of Q4 have enough resistance to make the electrons flow through Q3 instead when it is on?
And I did check the wires. The wire in the back of thr truck where the lights are, when brake is pressed, it is same wire for the flashers as well. There are 4 wires. The park, Brake/Flasher/Hazard, Back-up, and ground. So Flasher, Brake, and Hazard all share the same wire.
I will try the above circuit and tap into the flasher switch, brake, and hazard and run new wires back. I'll have to tear apart the steering column to find the wires and the bottom half of the dash.
I used to install car alarms, so this should be a no brainer, just extra work I hadn't planned.
I'll let you know if the circuit works. If it does, I'll design a PCB board for it (GERBER files), and post the schematic for both through hole and SMD components with a list of parts.
Thanks Swagatam, I'll keep you posted on how it works.
Jason
Swagatam says
Q4 needs to be switched OFF while the turn signals are ON irrespective whether the brakes are applied or not right?? Q3 gets the opportunity to switch on when the brake is applied provided the turn signals are not ON, I guess this is what the idea is all about?? so that's going to be perfectly implemented in the circuit that you have produced, no additional modifications are required.
Swagatam says
correction: Q4 (not Q3) gets the opportunity to switch on when the brake is applied provided the turn signals are not ON…..
Jason S. says
hmm, my previous comment was incorrect.
Since the turn signals, hazard, and brake all share the same wire, I would need to run 3 separate wires all the way back. Is there anyway to design the circuit to distinguish between the turn signals and the brake which is in the same wire?
Swagatam says
hmm, I had a hard time trying to understand the previous comment situation, spent a lot time brain storming, when finally I saw the above comment….:) anyway the following schematic looks good in every way,
i30.photobucket.com/albums/c345/_Falcon/SequentialLEDPart2.jpg
You can use this circuit for the application
To identify the wires, the easiest way would be to apply the brakes and check which wire end was switching ON with the relevant continuous voltage.
Jason S. says
Hmm, I thought about that park lamp alittle more.
How's this circuit?
i30.photobucket.com/albums/c345/_Falcon/SequentialLEDPart2.jpg
One thing I'm confused about, electricity takes the path of least resistance. Well, with that logic, shouldn't there be a resistor between the collector of Q3 and the base of Q4? That way, when the brake is applied while the turn signals are on, the electrons will flow through Q3 and then to ground, instead of activating Q4, allowing the cathodes of the LED's to go to ground. If a resistor is not there, wouldn't Q4 turn on as well when brakes are applied?
So, maybe change R5 to 6.3k and insert a 3.7k resistor between the collector of Q3 and base of Q4?
FYI, R8 is a pot because I'd like to adjust the brightness of the Park Lamp.
If this circuit works, that means I can tie into the factory harness of the truck at the rear lights, and only need to run one single wire from the battery back to supply the 12 volts. That would be great!
Jason S. says
Okay, sorry about that, here's the new link. Should work now.
i30.photobucket.com/albums/c345/_Falcon/SequentialLED.jpg
I thought that maybe using transistors, I can totally separate the LED's from the flasher, park, and brake circuits. That way, when the flashers are on, the brake and park do not work. When the park is on, the brake still works, etc. That's all done through the inverters and NOR gates.
Here is the schematic for the updated version of your circuit number two, if I understood the brake changes you've done. If it is correct, feel free to post it up above, inline with the others.
i30.photobucket.com/albums/c345/_Falcon/SequentialLEDswithBrake.jpg
I will try increasing the base resistor value of the NPN transistor to the 22k as suggested.
Jason S. says
Hi Swagatam
Thank you very much for this.
I tried circuit number two, and several problems. This is on a dodge Pickup. To the rear taillight, I have 4 wires. Backup Light, (doesn't matter for this application, separate LED anyway), Parking Lamp (or tail lamp, on when headlights turned on), Brake/Turn, and Ground wire.
The problem I am having, as others, is that when circuit two is used, the flashing stays on for a couple seconds after the turn signal is turned off. The lights still flash in sequence, but dim until they are no more. When brake pedal is applied, the lights stay sequencing, but again, dim till no more when brake pedal is lifted.
Turning on headlights does nothing.
You mentioned changing the value of the 'input capacitor' to a lower value to eliminate the staying on for a few seconds problem. Which capacitor is that? And at what value should it be?
How would I address the problem with the parking lamp?
I am using 3 LED assemblies on each side of the truck. Each assembly has 3 wires out, Park Lamp, Brake/Turn, and Ground. They claim to only draw 46mA at full 12 volts. Here is a link to them on eBay http://www.ebay.com/itm/2-Trailer-Truck-RED-LED-Surface-Mount-6-Oval-Stop-Turn-Tail-Light-Sealed-/160975575861?pt=Motors_RV_Trailer_Camper_Parts_Accessories&hash=item257ae45b35&vxp=mtr
I have come up with this schematic
[URL=s30.photobucket.com/user/_Falcon/media/Sequential_LED_Schematic_2.jpg.html][IMG]i30.photobucket.com/albums/c345/_Falcon/Sequential_LED_Schematic_2.jpg[/IMG][/URL]
The other half of the IC for the inverters and the Nor Gates would be for the other side.
The problem with this circuit, Is I would have to tear the dash apart and tap in to the switches directly and run the wires all the way to the back of the truck to the circuit/lights. I'd rather NOT have to do that. I'd like to be able to use what is in the factory harness and also that would not interfere with hooking up a trailer to tow.
Thank you for your help in this matter. 🙂
Jason
Swagatam says
Hi Jason,
The first problem may be happening due to insufficient OFF time delay and can be remedied by increasing the base resistor value of the NPN transistor to 22K.
Sorry the last link is not opening??
Swagatam says
yes with 5mm LEDs, and with 150ohm in series, BT169 can be used.
Swagatam says
use 150 ohms resistors for the shown LEDs (3 in each string)
Swagatam says
…..6ohms for 3 leds in series, each led 3.3V/1watt rated.
Swagatam says
which LEDs are you using? If it's 1 watt then you should use 6 ohm/1watt resistor and not 150 ohms, and also the SCRs must be replaced with 1 amp SCRs… such as C106
Swagatam says
don't believe in simulators they are not always true…the above circuits are all perfectly designed and will surely work if done correctly.
the last circuit is for a different application when the supply is taken from the turn lamps, it's to prevent the circuit from oscillating due to the lamp blinking. The first circuit can be used for the same if it's voltage from the flasher main switch, not from the turn signal lamps.
You can use 3 LEDs on each output, just make sure each string has its own 150 ohm resistor.
Swagatam says
It will be difficult to troubleshoot for me because from here I cannot see what connection or part fault your circuit could be having.
Two things must be confirmed and are crucial, pulses at pin14 of 4017 or pin3 of 555 and corresponding sequencing pulses (positives) across the shown outputs of the 4017 IC.
Also check T1 and LED polarity.
Both the schematics shown in the article were according to the request made by Mr. Bruce.
Swagatam says
yes 150 ohms would be just fine.
Brett Benghiat says
Hello Swagatam,
My name is Brett, and I have been wanting to do something very similar to this for my 1967 el camino. I have been researching this on and off for a year now. I have no electronics experience per say, but i am proficient/confident at soldering, i have installed custom stereo systems and alarms, and i have installed a new modern wire harness w/ integrated stereo system, alarm and other custom features missing from the harness, into my el camino.
So this circuit is very similar to what i want to do for the turn signal if not exactly the same other than the amount of leds.
here is a pic of my design as of now, with the lense as well: imgur.com/Ctn040p
Each tail lamp housing has one dual filament incandescent bulb that functions as the running/park lights, turn signals, and brake lamps when the brakes are depressed. The "LENSE" kinda gives the appearance that there are three horizontal rectangular sections, my goal is to have the upper rectangular bank to function as both running/park lights and brake lights. This section consists of 3 rows of 13 LEDs.
The middle section/bank consists of 5 rows(horizontal) of 13 LEDs and should function as sequential turn signals with the hold feature, illuminating 13 columns(vertical) of 5 LEDs.
The Bottom section should mirror the top section, consisting of 3 rows of 13 LEDs functioning as running/park lights and brake lights.
theres a total of 141 LEDs [top and bottom rows have only 12 LEDs] (red, 5mm, if 20ma voltage then fv = 2.8) pirahna super bright LEDs
I originally was looking to use an arduino, i was also looking at maxx7219 chips. My biggest issue is knowing how to solder up the LEDs, do they get multiplexed?
Hopefully this all makes sense if there is any help or input/criticism you have for me i would appreciate any help you might be able to aid me with. It does appear that this is the way to go, just need to change resister/trans/cap/ values… im guessing? I also have a set of front sequential turn signals/parking lights purchased from a company called spaghetti engineering the product is called digi-tails, how hard is it to have the front signals sequence in unison with the rear, or do i just have to match the front timing with a POT for the rear circuit? Thx again for any help or direction you might be able to give me. happy new year!
-brettler
Swagatam says
Hello Brett,
You can use the above explained circuit for your application. If you are intending to have more LEds on each channel you may easily do so by simply reducing the value of the series resistor. you can even add more number of LEds in parallel to the existing string on each channel if you feel so.
You may take the help of the following article which explains how to connect leds in series/parallel and how calculate the required resistor for each individual strings
https://www.homemade-circuits.com/2011/12/how-to-wire-led-lights-easy-clues.html
If you have more doubts, feel free to ask them here.
Brice Hinchman says
Hello Swagatam,
I really appreciate everything you have put into this circuit thus far. The back and forth that I have seen between some of the followers has proved very useful. I am currently planning the layout and buying components to do this for my truck. I have a couple of questions though,
1). Will this circuit only drive the front or rear at one time? (meaning will I have to build multiple drivers for the the front and rear or can I hook up all four turn signals to the single IC?
Swagatam says
Hello Brice,
thanks very much,
you will need 4 individual circuit modules for the 4 L/R/F/B lamps, this is necessary because using a single circuit driver or module would mean terminating many nos of long wires from the IC outputs to the relevant LED groups, that could be too messy and undesirable for the constructor, that's why 4 individual circuit are recommended for all the 4 lamps.
Dmitri Felbinger says
Hi there,
Does the IC 4017 support only 10 outputs? I'd like to build a circuit that can drive 12-15 LEDs in 1 by 1 sequence. Same as what this guys here did. Hes got clean supply via 5 pin relay and coil is looped through stock indicator to drive the circuit when stock indicator is on so its like a piggy back add on to stock indicator. But hes got 12 LEDs there. Could your diagram work for something like that and what needs to be upgraded?
Thanks in advance
Swagatam says
Hi Dmitri,
You will have to cascade two 4017 together in the manner shown below:
https://www.homemade-circuits.com/2011/12/how-to-make-18-led-light-chaser-circuit.html
The outputs may be configured with the SCR stages as discussed in the above article.
Chris R says
Building a new led array for this circuit and today ran in to a different problem. Just testing the different segments with power and ground and without the above circuit being connected, when each segment is lit, the previous segment dims slightly because all segments are in parallel. When all 7 are lit at the same time, the brightness is less than desired, but when only 1 is lit, it is plenty bright. Does the above circuit solve this issue, or is something else needed to maintain the brightness as each segment is added?
Swagatam says
The series resistors must be properly calculated for producing equal light illumination, and the power supply must be also adequately rated. The problem is not with the circuit, if the above things are corrected,you will get a sustained illumination even when all the LED are ON.
David Rankin says
I will source and purchase the components today.
David Rankin says
Each tail light is broken up into 3 cavities. It originally has 3 incandescent dual element light bulbs in each tail light one in each cavity. There are some modifications using LED's to make more segments but I want to keep it at the original 3.
Swagatam says
In that case you can go with three outputs from the IC viz 3,2,4….7 goes to the transistor while 10 to the reset pin#15.
You can try 1 watt LEDs for better illumination, and BT151 SCRs for driving them comfortably.
Swagatam says
I don't think there's a CMOS version of this IC, I couldn't find any, however you can employ a 7805 IC for limiting the voltage and still go for a couple of colored LEDs in series per outputs.
David Rankin says
See
http://www.red.damnserver.com/photos/3arraysegment.gif
and
http://www.red.damnserver.com/photos/ledarray.jpg
for what the final result would look like.
Swagatam says
OK, does it have partitions or is the cavity a continuous one? if it's a singe channel then I think any desired number of sequence upto 10 can be accommodated, otherwise we settle with 3 outputs as suggested by you earlier.
David Rankin says
And one other thing. The supplied triggers would be left turn, right turn, brake/hazard, and parking lamp.
Swagatam says
Hi David,
I would certainly help you with the project, however the above design works over a single segment (in a straight line), please see the second video sent by Mr. Bruce, meaning the sequencing would be across a single channel, for three separate segments you may have to repeat them into the respective segments.
If you can specify your requirement through a drawing, it would help me to understand more clearly.
Swagatam says
relays won't be required for LEDs strips, we can use power transistors, no problems.
David Rankin says
Forgot to mention, as I still need to design the actual lights to fit into the factory housing, I do not know the number of LED's required. To simplify the construction, I was thinking of using LED strip lights. This may mean I might have to use some sort of relay on each of the 3 outputs to supply enough power for each of the light clusters.
David Rankin says
I have a 1969 Shelby and would like to use this circuit to replace the factory sequencing unit. I am also going to change from incandescent to LED lights. Yes, this is the same as the 1968 Shelby or "Eleanor" car. Each tail light is in 3 segments so I will only need to utilize 3 of the 4070 output pins. I am going to change the old style "Flasher" unit with a newer style electronic version designed for LED lights to stabilize its flash rate. This will need to be done as we still need to flash the front turn signal with the back. I might have to open the flasher up to modify the ON or +12v cycle to allow the rear light to sequence fully before it drops to 0v. I am going to include all the features mentioned here and on the previous "Chasing" version to get the "Parking" or "Dimmed" feature as well. Just as mentioned above, I need the turn signal to over ride the brake, and want both sides to come one bright and solid when the brake/hazard lights are turned on.
Swagatam, you have been very helpful and I also thank you for all your time and work. My ETE degree is very old and has not been used for a very long time, but I hope to be able to do this on my own. But, if you have some time, I would not the chance to have you design the circuit and more than likely save me many hours of headache of figuring all the options out myself. 🙂
Chris R says
Perfect. Thank you.
Chris R says
I understand about T1. My concern is if pin 16 of ic4017 should still be connected to 12v or only to the base of Q2.
Swagatam says
Actually my previous statements were with reference to the first circuit, if you are making the second one then I think T1 and pin#16 wouldn't require any changes.
However in the above case, the base of Q2 must be connected at the junction of the 2N2222 base resistor 1k, 1N4148 and the 470uF
Chris R says
All my parts are here, so I'm about to get started. 2 questions. The 1N4148 connected across the base of T1 and collector of Q1 via a 10K resistor. Does it matter which side of the diode the resistor is on? Anode or cathode? Also you said T1 should be connected directly to 12v and not to pin 16 of IC4017 I am using the second diagram above where it is connected directly to 12v already. Does pin 16 need to be isolated from the 12v so pin 16 is only connected to the base of Q2 or does pin 16 still need to be connected directly to 12v as well as to the base of Q2?
Swagatam says
No the position is not critical, you may it on any side of the resistor, but the polarity does matter.
We want T1 to be independent from the flasher switching, meaning it should be always in a standby position irrespective of the flasher switch position, that's why we want its collector to be connected with the main positive and not pin#16 of the IC4017 which is connected to the flasher switch.
With the above position T1 becomes switchable independently for both the options: brake light and flasher switching
Chris R says
Thanks for the help. I think I got it. I ordered the transistors today. Can I install the IC4060 just like the 555 above or will I need to make other changes? I already have the 4060's.
Swagatam says
The IC4060 has 10 discrete outputs, each generating a pulse that's different to the preceding by multiple of 2, thus the most suitable pinout will need to be selected for integrating with pin#14 of 4017. It also has it's own R/C timing components just like the 555 which may be altered further for getting the desired sequencing rate.
You can read more about it here:
https://www.homemade-circuits.com/2011/12/how-to-understand-ic-4060-pin-outs.html
Chris R says
Ok. Sorry it took so long. It took a while to get everything and get the circuit board built. I built the above design, and since I have 7 sequences instead of 6, I connected pin 6 of the IC4017 to T1 and pin 9 to pin 16 which follows the output sequence of the 4017. This seems to do what I want, except the capacitor on the turn signal input causes the sequences to continue for a few seconds after the signal is switched off, which I don't want. I think I can use the first diagram above and add a relay for the turn signal input if we can't solve that issue. Also the speed of the sequence seems to vary a lot, and I assume using the IC4060 in place of the 555 would solve that issue since it is more accurate. So now, I need to find out the differences to replace the 555 with the 4060 and how to ad a brake light function where all led's come on at once with a 12v brake light input, but that will not take priority over the turn signal sequence. If there were to be a 12v input on the turn signal and the brake input at the same time, I would need the brake input to be ignored and the turn signal to operate with the 7 step sequence.
Swagatam says
Great!
You can try reducing the input cap value to some appropriate level for correcting the issue.
Anyway, here's what you must do for introducing the brake light feature as per your specs:
Take some 1N4148 diodes and connect each of their anodes separately to each of the SCR anodes.
Join the cathodes of these diodes to make a common termination.
Join this termination to the collector of a BC547 transistor, let's call it Q1. The emitter of Q1 goes to the ground while the base links with the brake light switch output VIA A 10K resistor.
Next, connect another transistor (Q2) such that its collector joins with the base of Q1, emitter to ground while the base hooks up with the pin#16 of IC4017.
Now whenever the brakes are applied, all the LEDs would light up together, but only as long as the turn signal switches are OFF, switching ON the turns instantly disables the brake light trigger.
Just forgot to mention, an additional 1N4148 must be connected across the base of T1 and collector of Q1 VIA a 10k resistor (cathode to Q1 collector)..AND the emitter of T1 should be connected directly BATT12V and not to pin#16 of IC 4017 as shown in the first diagram.
I hope you got them all;)
Chris R says
Sounds great. Several parts came today, but I'm still waiting on a few, so I'll go ahead and post up the requirements.
I want to control 2 led taillights. Each taillight will have 7 segments of led's. 6 segments containing 2 led's and 1 segment containing 4 led's. I want each segment to light up one at a time with each one staying lit until all 7 are lit, and then all segments to turn off and then repeat the process. The 6 segments containing 2 led's each will light up first and the segment with 4 led's will be the last one to light up. This should all be the same as the above circuit except for the number of led's in each segment, and using a 4060 in place of the 555. I will also use the time delay circuit in the second diagram to supply constant current when the flasher turns on and off.
Here's where the modification will come in. I need to add a brake light input that will make all 7 segments on each taillights turn on at one time as long as there is current on the brake light wire. The exception to this rule is, anytime the turn signal is on at the same time as the brake light, I need the turn signal to take priority, and the lights to flash in sequence just as they would if the brake light wire didn't have current.
Swagatam says
Got it, that's pretty much the same what I will explained earlier. The modifications would be quite simple, so we can do it once the above primary design is built and confirmed.
Chris R says
Swagatam. I'm posting here per your suggestion. All the info posted between you and Bruce is really helpful. I have ordered all the parts to build this circuit, and then I will need your help to add an (all on at once) solid brake light function that is overridden by the sequential function. Another thing I forgot to mention. Your other circuit with the chasing led's was designed to control both left and right. Can we change this to do the same before I build it or would I be better off to build two? I will have enough parts to do either, so it's fine if it's too much trouble. I would also like to use the IC 4060 in place of the 555 if possible as you mentioned it was much more accurate. Again, not an issue if too much trouble. Thanks for all the help. This is invaluable.
Swagatam says
You are welcome Chris!
The two circuits are entirely different with their functions, so it would become too confusing if we tried to include these together at once.
The other design produces ordinary sequencing effect while here the LEDs "hold" and retain their illumination as they sequence.
May be you can outline the requirements yet again here, so that we may be able to figure them out step wise.
I would suggest you make the above circuit first and then we can proceed with the mods.
Yes, 4060 would be a welcome replacement for 555, no issues about it.
Cheers!:)
Bruce Lowry says
Built the 4017 stage and it works ! Now I get to redraw the entire schematic and submit to the board house again. Yeah! This time I am triple checking the schematic before I send it in. 🙂
Thanks for the ongoing assistance. The socket idea was helpful and I also picked up some RAD Machine Pin Jumper wires. The ends are these little machined pins with very nice flexible wire. They are made by Twin Industries http://www.twinind.com
Found here http://www.twinind.com/catalog_detail.php?id=410
They make plugging in connections to a Protoboard/Breadboard amazingly simplified.
I have another circuit that I need help on. 🙂
Swagatam says
Great going….feel free to present your new request.
Bruce Lowry says
Im on it! Ripped everything out of the ProtoBoard. Decided to measure resistance on all resistors and strangely actually found one that was was lower resistance than it should have been. It was the 160 Ohm and it was nearly a short. I know that would not cause the issues , but Im glad that I caught that.
Ive got the 555 portion of the circuit built and it is outputting the variable blink of the LED so that's great! Im gonna build the other portion (4017) on the complete other 1/2 of the board so each stage is well defined and not so close together.
Swagatam says
Hmmm… you are on the right tracks, this is the way I learned all the practical stuffs when I was new in the field…I am sure you would soon figure out the fault.
Bruce Lowry says
I figured out that my connector to the LEDs was inverted so that pin 6 was where pin one should be and vicea versa . I flipped the connector around but it's still not counting right . It's like it lights all the segments up and then turns them off starting from segment six working upward towards one. And when one segment is turned off the previous one below it is turned on. It's gotta be something with the way the SCRs are wired. Or the connections to the 2907 transistor. It's weird that the LEDs should all be off and instead they all turn on at first . It's like an inverted effect of the sequencing .
Swagatam says
I think should go back the basic design and gradually make the modifications one by one, this will enable you to distinguish and identify anything that might be incorrect in the course of the actions.
Bruce Lowry says
Pulled the 4017 chip and the trigger LED of the 555 portion of the circuit still flashed.
Then replaced the 4017 with another fresh one and plugged in all the previous wiring. Output LEDs are still doing the exact same thing. Then I connected all the LED common anodes to pin 14 on the 4017. Added a 10 K ohm resistor to pin 14 of the 4017 and ground. Then I touched the resistor to positive 12 volts momentarily. It appears to be counting but not right at all.
First touch – all four of the segments lit from top to bottom no lights on the 5th or 6th segment
Second touch -1st second and 4th dimly lit No 3rd or 5th and 6th
Third touch – 2nd 3rd and 4th dimly lit no 1 st or 5th and 6th
Fourth touch – 1st 2nd and fourth dimly lit no third 5th or 6th.
Fifth touch 1 st 3rd and 4th segment dimly lit. No 2nd 5th or 6th
Sixth touch same as first touch …
In the above when I type dimly lit it is for the 4 th set of LEDs only.
Swagatam says
All led common anode should be connected to collector of 2907, not to pin14.
the end of 10k which is connected to pin14 should be manually touched with the positive.
I think you should refer to your previous prototype and compare each and every stage with the present one.
Bruce Lowry says
Double checked the pin outputs on the two transistors 2N2222 which is Emitter Base Collector from Left to right and also the 2N2907 which is also Emitter Base Collector starting from the Left moving to right and found that 2N2222 was inverted with Collector being where Emitter should be. Flipped it around and found no difference in the LED outputs! That is super weird. Neither changing the C1 polarity or flipping the 2N2222 had ANY affect?
Swagatam says
OK got it!
It means there's something wrong with your 4017 section. You may confirm it manually.
Remove the IC from the socket and then check the 555 LEDresponse, if it flashes means the fault is within the IC 4017.
Replace it with a new one and check again.
Alternatively you can do the following test.
Connect any resistor above 1K across pin14 and ground and trigger this pinout manually by momentarily touching the positive to it. With each touch the output must sequence one step forward across the output pins, as it would do during normal operations.
But before this you must connect the LED common anodes with the collector of 2N2907.
Bruce Lowry says
Look right in the center of the schematic where it says IC2P and then to the left of that is VDD for the 4017 chip. That is Pin #16 and to the right side of IC2P is Pin # 8 of the 4017 chip. Can you please check these for me now that I have indicated where pin 16 and 8 connect?
I will switch the polarity of the C 1 cap for starters.
I am going to make changes to the schematic and repost new schematic every time now as that is how I screwed up before. Building the circuit but NOT tracking and updating the schematic with the changes to the physical circuit.
Here is new circuit with change made (cap) and red circles around pin 16 and pin 8 of the 4017 chip.
As I recall when I connected pin # 8 of the 555 timer to the 4017 chip pin #16 this caused the trigger LED to no longer blink and remain on CONSTANT. I just validated this again and YES it stops the blinking of the trigger LED and makes it a constant on. Not what we want. So no connection there is made currently! Nice to be able to drop a wire in to the circuit and remove in seconds rather than minutes (soldering and desoldering).
It has been alot of hand work, but using a wire plug in protoboard over the solder on board is very helpful for making quick circuit changes!
Flipped cap polarity and same output observed on the LED's. So now it is more correct but has a ways to go still. 🙂
Bruce Lowry says
Well, there is no way that I am going to resolve the issue with the PCB's. Too many connections that are not correct! Went back to square one and built the entire circuit again. This time I built it on a proto board so that I can pull and relocate components much easier than desoldering and resoldering. I am working to get a finalized schematic that I can send to the board house and have them make me a PCB that actually works. So you are probably asking yourself well why not just probe every connection on the board that you soldered up and had working. Well with this many connections and the extent of solder that is on the back of the board it is really not that easy.
I completely redrew the schematic in Eagle by CadSoft. Excellent PCB and board layout tool for those hobbiests out there. I tried 4-5 and Eagle's free version is really one of the best.
OK . So I have built the schematic exactly as shown in this image uploaded to PhotoBucket.
i941.photobucket.com/albums/ad257/e30vert/sequential_update_zps8fbd9de3.png
I confirmed that the trigger LED off of Pin 3 on the 555 timer was indeed triggering and has the adjustable rate that is working.
Problem is my sequence for firing and latching the LED's on the output are not correct.
Here is what they output. When power is applied
YouTube Video= http://www.youtube.com/watch?v=hbBeOpqyAt0&feature=c4-overview&list=UUqoDhEjYuBErc4b8wu16ebg
The bottom LEDs rows 5 and 6 never even come on and they all light up initialy and then turn of one at a time while enabling the one right before it.
I need some more guidance and help. Been going round and round with this.
Swagatam says
Wow! that's a lot of handwork, but I am sure it would not go in waste.
I am not able to find pin no.8 of the IC 4017, I am finding it difficult to locate? Are you sure it's connected.
Pin#8 of IC555 is not connected with the ground of IC 4017
C1 polarity is not correct.
These are the few things I noticed quickly, there might be a few more, not sure though.
I think you should have plotted my diagram because it's cent percent correct and much easier to trace.
Swagatam says
…pin#16 of IC4017 is also missing.
Bruce Lowry says
Good thoughts! I will keep at it. I think I will take your advice on all counts! I like the sockets for the IC's idea as that would make swapping new ones in if needed very painless!
I'll post up pictures of the completed board after and "if" I can get it to function properly.
Swagatam says
Thanks! wish you the best:)
Bruce Lowry says
Had some PCB's professionally etched for this project. Problem is I did not modify the schematic that I created in CADSoft Eagle before submitting them to the board house. The schematic is just about the same as the one that we were using before building the simple 555 Flasher circuit and integrating it with the 4017 portion of the circuit.
Needless to say I stuffed the board with all the necessary components and it just gives me a solid light on the LED timing indicator light. I have tried to remove some components and add jumpers where necessary , but still no luck. I still have the protoboard version of the circuit working just fine. Can I send you a fully stuffed PCB via the Postal Service and have you take a look at it for me? I would pay shipping and whatever is necessary. I would include the exact schematic that the board was built from as well.
b d zero g @ comcast.net is my email.
Swagatam says
Sending it to me would be a long and a complex procedure. I am sure you can do it yourself, try it afresh with a new PCB.
Do it stage-wise. First make the 555 stage and confirm the flashing by connecting an LED at its output.
Next stuff the 4017 stage and initially keep the two stages disconnected, check if the LEDs are getting latched or not. If they are getting latched would mean that either the IC is faulty or the transistor is put the wrong way round or may be faulty….remove the transistor and check again.
You would get to the root in that way. cheers!
Use IC sockets for both the ICs, this will make replacing easier in doubtful cases.