I’m trying to get 2 motors to run alternately. I created an astable multivibrator on a breadboard and I have a 9V battery powering 2 LEDs but when I substitute motors for the LEDs it won’t work. How do I get the motors to take turns running so I can finish making my toy snake that is supposed to zig zag? :lol:
Depending on how much current your motors need, you might be able to just use a transistor, resistor and a diode. If your motors never draw more than 800mA, the BC337 would work as a transistor. There’s a guide on instructables that might be helpful:
https://www.instructables.com/id/How-to … rduino-Tu/
Another thing you could do is use a dedicated motor driver board like sparkfuns TB6612FNG, that would work as well. You’d connect your multivibrator outputs to the boards PWM inputs and set the A and B inputs high or low for the direction you want the motors to go.
https://www.sparkfun.com/products/14450
Good luck with your project!
okay thanks! I’ll try these things.