I want to apply 20,000 ttl pulses at 2.4khz to a stepper motor driver to make the motor turn for a specific number of revolutions and then stop, press a reset and repeat.
I am using a 555 as the oscillator and 4017's as the divider (because I have them in stock), the specific o/p from a 4017 drives a transistor when it reaches the number pulls pin 4 of the 555 down to stop it. As the 4017 stops on a high I reset the counters and it repeats.
It works but of course as I am resetting the counters they are not counting, the 555 is sending a stream of pulses out and the count ends up being wrong.
It looks like I need to gate the pulses somehow, anyone have any advice to offer on this?
Sorry not have a circuit, it is just a few scribbles on a pad at present!
Peter
I am using a 555 as the oscillator and 4017's as the divider (because I have them in stock), the specific o/p from a 4017 drives a transistor when it reaches the number pulls pin 4 of the 555 down to stop it. As the 4017 stops on a high I reset the counters and it repeats.
It works but of course as I am resetting the counters they are not counting, the 555 is sending a stream of pulses out and the count ends up being wrong.
It looks like I need to gate the pulses somehow, anyone have any advice to offer on this?
Sorry not have a circuit, it is just a few scribbles on a pad at present!
Peter