timing circuit to run N-times

darrins

Jun 29, 2004
82
Joined
Jun 29, 2004
Messages
82
I have a simple circuit that uses a 555 timer to turn on a stepper motor for a certain amount of time.

I'd like to connect the circuit to a rotary switch to make the circuit run 1, 2, 3....N times.

What's the simplest way to do this?

Thanks.

Darrin

 
Y

Yevgenip

Jan 1, 1970
0
I think you need some sort of counter for that, that will count to the binary number you input. While counting, the motor will work, when it reaches the end - the motor will stop. The counter should be triggered by the voltage drop from the 555 timer.

 

darrins

Jun 29, 2004
82
Joined
Jun 29, 2004
Messages
82
Thanks Yevgeni.

Know of any good IC's for this purpose?

If I can't figure out how to use the counter, I can always just use multiples of my timing resistor.

If my timing resistor is R, then I can use 2R to run twice, 3R to run it three times, etc.

I know this isn't the most elegant solution, but then again, I'm no electronics guru.

 
Y

Yevgenip

Jan 1, 1970
0
Sorry, I can't recommend any good chips, I'm more of a theorist and I am not too keen about logic cheeps, only the logic behind them.

Yes, if you don't want to mess around with microcontrols, your solution is preety good.

Good Luck! ;)

 

Kevin Weddle

Feb 23, 2004
1,620
Joined
Feb 23, 2004
Messages
1,620
It sounds you like you want a variable oneshot. The one shot will deliver a pulse for a duration with an input pulse. You pulse the input for a short duration and the one shot produces an extended pulse. I'll have to check how you vary the pulse of a one shot.

 
Top