Easily bring your Raspberry-Pi-controlled stepper motor projects online using the Motor Hat, CircuitPython libraries, and Adafruit IO. You can wirelessly control up to two steppers from a single Adafruit IO Dashboard!

If you're building a home automation or robotics project which needs to be connected to the internet - look no further.

Adafruit IO


Adafruit IO is our Internet of Things Platform - for everyone!  You'll create feeds to store the stepper's configuration: speed, step style, and direction.

To control it all, you'll build an interactive Adafruit IO Dashboard with buttons, switches, and toggles. 

CircuitPython Code


Adafruit's Circuit Python works on the Raspberry Pi! You will use the CircuitPython MotorKit library to control two stepper motors connected to the DC & Stepper Motor Hat. Connect them to the internet using the Adafruit IO Python library. With Adafruit IO, you can upload new stepper motor configurations and control the steppers attached to the Raspberry Pi - wirelessly! You can rapidly update your code without having to compile and there's plenty of libraries, examples, and support.

Prerequisite Guides

If you're new to Adafruit IO or CircuitPython libraries, take a moment to walk through the following guides to get you started.


Angled shot of Adafruit DC & Stepper Motor HAT.
Let your robotic dreams come true with the new DC+Stepper Motor HAT from Adafruit. This Raspberry Pi add-on is perfect for any motion project as it can drive up to 4 DC or 2 Stepper...
In Stock

You'll want to pick up two of these NEMA-17 size stepper motors. 

Angled shot of a Stepper motor - NEMA-17.
A stepper motor to satisfy all your robotics needs! This 4-wire bipolar stepper has 1.8° per step for smooth motion and a nice holding torque. The motor was specified to have a max...
In Stock
Angled shot of Raspberry Pi 3 - Model B+
The Raspberry Pi 3 Model B is the most popular Raspberry Pi computer made, and the Pi Foundation knows you can always make a good thing better! And what could make the Pi 3...
In Stock


You'll need some extra supplies to finish this project. If you do not have them already, pick some up from Adafruit:

1 x DC Power Adapter
Female DC Power adapter - 2.1mm jack to screw terminal block
1 x MicroSD Card with OS
16GB Card with NOOBS 2.9
1 x Power Supply
12V 5A switching power supply
1 x Power Supply with MicroUSB
5V 2.5A Switching Power Supply with 20AWG MicroUSB Cable

This guide was first published on Feb 18, 2019. It was last updated on Jul 15, 2024.

This page (Overview) was last updated on Mar 08, 2024.

Text editor powered by tinymce.