Continue to Site

Welcome to our site!

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

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

simple 5 led flasher (like night rider)

Status
Not open for further replies.

fever

New Member
hello guys,
iam trying to make a led flasher for my bike.
its like night rider circuit.but i want the led sequence in a different way.
all i use is 5 Leds
pattern shld be
1-ON<-next->2-ON<-next->3-ON<-next->4-ON<-next->5-ON (one by one) when 5 is ON all the LEDS shld stay ON forever.
again when i power OFF and ON the supply the same sequence shld repeat.

if any one has worked on such ckt.pls help.
thanks
 
Isn't that a lot of effort to go through just to gets the lights to turn on a certain way and then stay on? (UNless you are using poweroff to reset the whole cycle).

I guess you could just attach vastly different capacitors across each LED so they all power-up and different rates. They'd probably have to be huge though.

Or maybe a chain of LEDs and D-flip flops (latches might also work) where one end is being fed by a 555-timer and logic HI (straight from the regulated source), so each cycle causes the signal to propogate through the chain (and turn each LED on as a result). But as I said- a lot of effort just to get something to turn on a certain way and stay that way.
 
Last edited:
Should be Easy enough using a 555 oscillator and a 4017 and a Manual Reset.

fever said:
hello guys,
iam trying to make a led flasher for my bike.
its like night rider circuit.but i want the led sequence in a different way.
all i use is 5 Leds
pattern shld be
1-ON<-next->2-ON<-next->3-ON<-next->4-ON<-next->5-ON (one by one) when 5 is ON all the LEDS shld stay ON forever.
again when i power OFF and ON the supply the same sequence shld repeat.

if any one has worked on such ckt.pls help.
thanks
 
An LM3915 can be set up as a bar-graph (up to 10 LEDs) and used to indicate the voltage of a charging capacitor. A switch would discharge the capacitor quickly then it can start all over again.
The LM3915 has a logarithmic scale so the LEDs will light smothly as the capacitor's voltage rises exponentially from a simple resistor. An LM3914 has a linear scale and its capacitor must be charged with a constant current source.
 
The 1st circuit is a true Knight Rider because a single LED lights going to the right then back to the left and back and forth forever.

The internet has hundreds of chaser circuits using a CD4017 sequencer IC. Only a single LED lights at a time.
 
audioguru said:
The internet has hundreds of chaser circuits using a CD4017 sequencer IC. Only a single LED lights at a time.

thanks.
but i want all the leds to light up one by one and stay ON.(intill i won't reset the supply)
is it possible with 4017?
 
fever said:
thanks.
but i want all the leds to light up one by one and stay ON.(intill i won't reset the supply)
is it possible with 4017?
The 4017 lights one LED at a time. The LM3915 can light in a bar with the bar getting longer until all the LEDs are lighted then stay on as long as you want.
 
well i have 2 LM3914.i think i can use them for this ckt.
i understood the circuit when i saw data sheet.except one what i shld do with the pin5.which is signal input for the chip.
can u give me some rough diagram of ckt which will serve my purpose.
i'll be thanks full.
 
The datasheet for the LM3914 shows it as a voltmeter. Then use it with a constant current source charging a capacitor and it shows the capacitor's voltage as it charges. Discharge the capacitor quickly with a switch or a pushbutton.
 
i found one design from datasheet.and another from net http://www.cpemma.co.uk/bargraph.html

if i remove the VR1 from above design and place a CAP(10uf),will it work?
and below is the modified ckt
 

Attachments

  • 1.GIF
    1.GIF
    6.7 KB · Views: 409
I modified the circuit so the capacitor charges by the 1M resistor. A 10uF capacitor will fully charge in about 10 seconds. The switch resets it.
It uses an LM3915 so that the capacitor seems to charge in a straight line. An LM3914 will have the capacitor begin to charge quickly then slow down near the end unless it is charged with a constant current source transistor circuit.
 

Attachments

  • LM3915.GIF
    LM3915.GIF
    6.8 KB · Views: 734
thanks a lot guru.
if i use transistor circuit to charger the CAP can i avoid the reset switch.
some how i have to avoid the extra input imean resetting the switch.
 
You don't need a reset switch. You just need something to completely discharge the capacitor when the power is turned off. The way it is now the capacitor might never completely discharge. Then the next time it is turned on the LEDs won't start at the beginning.

A constant current source transistor circuit can charge the capacitor so an LM3914 can be used, instead of using an LM3915 and just a resistor to charge the capacitor.
 
thanks for the tip.
i redrawn the ckt for LM3914.can u pls have a look.
 

Attachments

  • 2.GIF
    2.GIF
    6.3 KB · Views: 253
Last edited:
Hello Fever !

i have drawn this circuit which will do exactly what you wanted, using 555 + 4017.

on the sixth clock pulse,Q5 output of decade counter holds the LEDs on and the transistor is turned on to pull RESET pin 4 of 555 down to GND, thereby stopping further clock pulses from the timer.

without further clock pulses, the decade counter will not advance.

you can figure out the values of resis & caps your self.

arun
 

Attachments

  • 5 LED SEQ & HOLD copy.gif
    5 LED SEQ & HOLD copy.gif
    11.6 KB · Views: 290
Now buy a strap on dildo.

And a trench coat

put a line of led's down the dildo

Suitably flashed it is a great party gag
 
nura100 said:
Hello Fever !
i have drawn this circuit which will do exactly what you wanted, using 555 + 4017.
on the sixth clock pulse,Q5 output of decade counter holds the LEDs on and the transistor is turned on to pull RESET pin 4 of 555 down to GND, thereby stopping further clock pulses from the timer.

without further clock pulses, the decade counter will not advance.
you can figure out the values of resis & caps your self.
arun

thanks a lot arun.
i'll try it.but i wonder do we really need so many 4148's at outputs

hi-tech city,india-may be i know u.iam from HYD
 
Last edited:
Hi Fever,

Good to know,you too are from HYD,India.

yes, you will need the blocking Diodes at the O/P, bcoz you want the Leds in a particular sequence. with out these diodes the LEDS seq. is disturbed.

arun
 
Status
Not open for further replies.

New Articles From Microcontroller Tips

Back
Top