0

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!


Join 6,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython in 2018 – Python on Microcontrollers is here!

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!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/


Maker Business — Aquarium troubles: the cost of iteration and troubleshooting with a manufacturers abroad

Wearables — Plastic gem know-how

Electronics — Counting Pin Numbers

Biohacking — Exploring Our Inner Reality : Entopic Visions

Python for Microcontrollers — CircuitPython 3.0.0 Release Candidate 0 released!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



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.