Arduino 28BYJ-48 stepperbot

stepperbot

Bajdi’s another robotic vehicle with 4 28BYJ-48 stepper motors:

The Arduino IDE comes with a stepper library, but I decided to write my own stepper code. For 4 stepper motors I would have needed 16 digital pins and then another 4 pins for the servos. Controlling a stepper motor is not that difficult. It’s just a matter of setting the pins high/low in the right sequence at the right time. I thought why not try and use a couple of 74HC595 shift registers to control the stepper motors? I have controlled 16 leds with 2 shift registers in the past so why not 4 stepper motors? I soldered 2 shift registers to a piece of perfboard and tested the board with some leds. That worked

Leave a comment

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.