Society of Robots - Robot Forum

Software => Software => Topic started by: StanD on April 08, 2014, 04:50:25 PM

Title: Basic stepper motor control (Arduino Uno and 28BYJ-48 steppers)
Post by: StanD on April 08, 2014, 04:50:25 PM
A while back I "discovered" stepper motors, when my eBay package with 2 little 28BYJ-48 steppers and 2 ULN2003 drivers arrived. Given a total price of less than $8 shipped, I figured there is not much to loose. I have to say that I am quite impressed with the result. Steppers, even cheap ones like these, seem to be great for small robot projects where you want some more accuracy in performance, but do not want to implement a complex closed loop systems with wheel encoders, accelerometers and gyros. Here is a quick video of the result:

StepperBot: 28BYJ-48 Stepper Motors, UNL2003 driver and Arduino Uno (http://www.youtube.com/watch?v=831qjVX6YLA#ws)

I posted more details, wiring diagrams and Arduino code (using the AccelStepper library) on my blog:
http://42bots.com/tutorials/28byj-48-stepper-motor-with-uln2003-driver-and-arduino-uno/ (http://42bots.com/tutorials/28byj-48-stepper-motor-with-uln2003-driver-and-arduino-uno/)