darrins Posted December 7, 2004 Report Share Posted December 7, 2004 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 Quote Link to comment Share on other sites More sharing options...
Guest Yevgenip Posted December 8, 2004 Report Share Posted December 8, 2004 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. Quote Link to comment Share on other sites More sharing options...
darrins Posted December 8, 2004 Author Report Share Posted December 8, 2004 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. Quote Link to comment Share on other sites More sharing options...
Guest Yevgenip Posted December 9, 2004 Report Share Posted December 9, 2004 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! ;) Quote Link to comment Share on other sites More sharing options...
Kevin Weddle Posted December 11, 2004 Report Share Posted December 11, 2004 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.