Happy Halloween from Adafruit! Check out some scary #electronichalloween posts, the frightening Halloween section and spooky videos!

February 17, 2009 AT 10:09 pm

Updated Adafruit motor shield library & docs

I’ve gone back and spent some time on the Adafruit motor shield library (as well as the Servotimer library, which I seem to be maintaining). Download it here!

  • Motor 3 is motor 3 and motor 4 is motor 4. for real! i even fixed the speed problem. Gah!
  • Microstepping had some strange bug which i swear was not there. anyways, it wont be ‘hiccuping’ any more if you found that annoying
  • Servotimer now compiles all happy for Atmega328P
  • All libraries tested working on IDE v13 (out now!)
  • motor library works fine on 328P (as far as i can tell)
  • http://www.ladyada.net/make/mshield/use.html is more useful, with diagrams and spelled out explanations of how to power things including updated instructions for duemilanove.

Enjoy! And plz post any remaining bugs to the forum thread.

Above, a lovely photo by drew & mithi in the process of making a 3d printer. The precise motor control is aided by an opto quadrature encoder disc. Looks like they used the analog inputs to watch for interrupts and wrote some PID controller code. Hopefully they’ll post it up too!


Check out all the Circuit Playground Episodes! Our new kid’s show and subscribe!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!



3 Comments

  1. They did post a good explanation and their code on their blog : http://abigmagnet.blogspot.com/search/label/Arduino

  2. oh hey, you’re right! i did see it, but i didn’t recognize it as the same people

  3. Actually they are not the same people…
    abigmagnet.blogspot.com is my blog and the folks who took this picture were the ones working on a 3d printer (nice idea that).
    I had been experimenting with PID control to reuse printer motors and the optical quad encoders they often have for position control.

Sorry, the comment form is closed at this time.