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!


Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.

Join 7,500+ 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 — Fewer startups, and other collateral damage from the 2018 tariffs

Wearables — Light as a Worbla feather

Electronics — How to make your own magnetic field probe!

Biohacking — The State of DNA Analysis in Three Mindmaps

Python for Microcontrollers — One year of CircuitPython weeklies!

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.