{"id":18733086,"url":"https://github.com/atopile/spin-servo-drive","last_synced_at":"2025-04-07T12:01:12.214Z","repository":{"id":219018190,"uuid":"747869425","full_name":"atopile/spin-servo-drive","owner":"atopile","description":"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 🚀","archived":false,"fork":false,"pushed_at":"2025-03-12T15:17:01.000Z","size":76600,"stargazers_count":92,"open_issues_count":5,"forks_count":9,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-31T11:01:34.120Z","etag":null,"topics":["electronics","servo","servo-motor"],"latest_commit_sha":null,"homepage":"https://atopile.io","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atopile.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-24T19:57:35.000Z","updated_at":"2025-03-31T09:30:41.000Z","dependencies_parsed_at":"2024-03-12T00:29:54.418Z","dependency_job_id":"ffad5752-d35b-4396-97ff-8c041b9eb19a","html_url":"https://github.com/atopile/spin-servo-drive","commit_stats":null,"previous_names":["atopile/spin-servo-drive"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atopile%2Fspin-servo-drive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atopile%2Fspin-servo-drive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atopile%2Fspin-servo-drive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atopile%2Fspin-servo-drive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atopile","download_url":"https://codeload.github.com/atopile/spin-servo-drive/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648874,"owners_count":20972944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["electronics","servo","servo-motor"],"created_at":"2024-11-07T15:08:44.215Z","updated_at":"2025-04-07T12:01:12.154Z","avatar_url":"https://github.com/atopile.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Servos are dope.\n\nCompared to the steppers we stick on our 3D printers, CNC machines and paintball turrets:\n - They're way faster 🏃\n - Far more powerful (higher torque for longer) 💪\n - More accurate (higher resolution) 🎯\n - And they're closed loop (they know where they are) 🤖\n\nThe only downside is that they're expensive, like hundreds of dollars.\n\nIntroducing spin ✨ - the $30 servo for the masses (designed with atopile)\n\n![spin](docs/showing-off-the-very-goods.jpg)\n\n## Wiggle wiggle wiggle\n\n![wiggle-wiggle-wiggle](docs/wiggle-wiggle-wiggle.gif)\n\n## Build your own Spin Servo Motor Drive\n\nThis project is fully open source and designed with [atopile](https://github.com/atopile/atopile), a new language and compiler to design electronics with code.\n\n## Goals + (default) Specs\n\n- Obviously better option than stepper motors for 3D printers, CNC machines and robotics\n- Open-source design that is easy to:\n  - contribute to\n  - fork maintainable derivatives of\n  - robust\n\n- 2x CAN comms with JST-GH connectors\n- XT30 power connector\n- 0.25Nm continuous rated torque (0.75Nm peak)\n- \u003c0.1° resolution\n- 12V-24V input voltage\n\n## Getting started\n\nThis 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/\n\n### Electronics\n\n**Write me please!**\n\n### Firmware\n\nInstall [PlatformIO](https://platformio.org/) into VSCode. It has the utilities to build, upload and debug the firmware.\n\nYou may also need to install `libusb` (eg. `brew install libusb` on OSx) to run the build!\n\nThere are a few build configurations:\n- `debug` is intended as a JTAG configuration and includes symbols to run the debugger.\n- `dfu-manual` uses the GNU command-line dfu-utility to trigger the upload via USB (**Recommended USB workflow**)\n- `dfu` uses the built-in PlatformIO dfu utility to program via USB (which **I struggled with on OSx**)\n\nTo run a build either use the sidebar (easiest IMO) or PlatformIO CLI (`pio run --help`).\n\n#### Side-bar\n\n![platformio](docs/platoformio-build-and-upload.png)\n\n#### CLI\n\n![platformio-cli](docs/pio-cli-env.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatopile%2Fspin-servo-drive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatopile%2Fspin-servo-drive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatopile%2Fspin-servo-drive/lists"}