https://github.com/atopile/spin-servo-drive
SPIN ✨ - Servos are awesome 🤩. Spin is an open-source hardware project to make it easy and cost effective to use fully-fledged BLDC servo motors 🚀
https://github.com/atopile/spin-servo-drive
electronics servo servo-motor
Last synced: 6 months ago
JSON representation
SPIN ✨ - Servos are awesome 🤩. Spin is an open-source hardware project to make it easy and cost effective to use fully-fledged BLDC servo motors 🚀
- Host: GitHub
- URL: https://github.com/atopile/spin-servo-drive
- Owner: atopile
- License: mit
- Created: 2024-01-24T19:57:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-12T15:17:01.000Z (7 months ago)
- Last Synced: 2025-03-31T11:01:34.120Z (6 months ago)
- Topics: electronics, servo, servo-motor
- Language: C++
- Homepage: https://atopile.io
- Size: 73.1 MB
- Stars: 92
- Watchers: 5
- Forks: 9
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Servos are dope.
Compared to the steppers we stick on our 3D printers, CNC machines and paintball turrets:
- They're way faster 🏃
- Far more powerful (higher torque for longer) 💪
- More accurate (higher resolution) 🎯
- And they're closed loop (they know where they are) 🤖The only downside is that they're expensive, like hundreds of dollars.
Introducing spin ✨ - the $30 servo for the masses (designed with atopile)

## Wiggle wiggle wiggle

## Build your own Spin Servo Motor Drive
This project is fully open source and designed with [atopile](https://github.com/atopile/atopile), a new language and compiler to design electronics with code.
## Goals + (default) Specs
- Obviously better option than stepper motors for 3D printers, CNC machines and robotics
- Open-source design that is easy to:
- contribute to
- fork maintainable derivatives of
- robust- 2x CAN comms with JST-GH connectors
- XT30 power connector
- 0.25Nm continuous rated torque (0.75Nm peak)
- <0.1° resolution
- 12V-24V input voltage## Getting started
This project was written in `ato`, a new electronics description language we are developing to help create and share electronic designs. Get started here: https://atopile.io/
### Electronics
**Write me please!**
### Firmware
Install [PlatformIO](https://platformio.org/) into VSCode. It has the utilities to build, upload and debug the firmware.
You may also need to install `libusb` (eg. `brew install libusb` on OSx) to run the build!
There are a few build configurations:
- `debug` is intended as a JTAG configuration and includes symbols to run the debugger.
- `dfu-manual` uses the GNU command-line dfu-utility to trigger the upload via USB (**Recommended USB workflow**)
- `dfu` uses the built-in PlatformIO dfu utility to program via USB (which **I struggled with on OSx**)To run a build either use the sidebar (easiest IMO) or PlatformIO CLI (`pio run --help`).
#### Side-bar

#### CLI
