Wednesday, March 27, 2019

Guide Update: Raspberry Pi Stepper Motors #adafruit #circuitpython #raspberrypi @adafruit

We’ve updated the guide for that explains how to drive Stepper Motors using a Raspberry Pi. The code now uses the CircuitPython libraries and is Python 3.0 compatible. This tutorial is particularly good for someone getting into driving DC motors as it explains how to use the the L293D and ULN2803 driver chips directly. Most of the motor guides written in CircuitPython tend to abstract the code and pins, but this tutorial gets you down and dirty with direct pin to motor coil stepping action.

This guide update allows for all 20-pin and 40-pin Raspberry Pi’s (every Pi released to date but the compute modules) to run the same example code without modification. Either driver chip the L293D or ULN2803 can be used without code changes (although the wiring is different).

No comments:

Post a Comment