Adafruit CircuitPython Motor
- Software
- Microcontrollers and firmware tools
- Library
A CircuitPython helper library that gives higher-level control of motors and servos driven by one or more PWM outputs.
Made by adafruit.
Source on GitHub: github.com/adafruit/Adafruit_CircuitPython_Motor (opens in a new tab). Facts read at commit dc0c88c (opens in a new tab).
Licenses
- Code
- MIT (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (MIT) at commit dc0c88c (opens in a new tab), on 22 Oct 2026.
- Commercial use
- Yes
What it does
- Controls motors and servos through PWM outputs.
- Works with any object that exposes a 16-bit duty_cycle attribute.
- Expects the PWM frequency to be configured beforehand, typically 50 Hz for servos and 1600 Hz for motors.
- Depends on Adafruit CircuitPython and must be placed on the CircuitPython filesystem, e.g. via the Adafruit library bundle.
- Can be installed from PyPI on supported GNU/Linux systems such as the Raspberry Pi.
- API documentation is hosted on Read the Docs.
Written by Robotheca from the project's README (opens in a new tab) at commit dc0c88c.
Getting started
- Difficulty
- Beginner
- Hardware it needs, as the project states it
- Runs on CircuitPython boards with PWM outputs; on GNU/Linux systems such as the Raspberry Pi when installed from PyPI.
- How to start
- The project's README (opens in a new tab)
Maintenance
- Status
- Active: a commit in the last 90 days
- Newest commit
- 28 Jul 2026 on main
- Latest release
- 3.5.0 - Allow Disabling Continuous Servo (28 Jul 2026)
Checked on GitHub on 22 Oct 2026.
Links
Robots that can run it
No robot on Robotheca is linked to it yet. Links come from a robot's robot.yaml, from its dependency files read as text, or from Robotheca's editors.
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.