If you use a single stepper motor, using a microcontroller to generate the PWM signal is overkill indeed, at least $5 plus a more complex circuit; nowadays people only use digital logic to make electronics.
So let's go analog, but also using the simpler ne555 circuit can be overkill when you can grab some old transistors and a few resistors. Here's a demonstration of how it can be done, and it's fun.
The resulting PWM signal is not as sharp as the ne555 generated one, the are some minor flaws in the squares, but it's good enough to drive the driver.
In this case, the circuit is basically a flip-flop:
Follow the explanations on the video below
Here's Chronic Mechatronic video link:
https://www.youtube.com/watch?v=CcMiGZUzITo
Тэги:
#transistor #bc547 #a4988 #stepper #motor #diy #microcontroller #flip_flop #pololu