
Coin Cell Tester
tomrodinger/servomotor
Open-source NEMA-17 integrated servomotor (motor + closed-loop driver + controller + encoder). RS-485, Python/Arduino libraries, MCP server for AI control. Hardware, firmware and software.

Open-source NEMA-17 integrated servomotor (motor + closed-loop driver + controller + encoder). RS-485, Python/Arduino libraries, MCP server for AI control. Hardware, firmware and software.
Servomotor3 is an open-source printed circuit board by tomrodinger, from the tomrodinger/servomotor repository on GitHub, published under the MIT licence. It is a 2-layer board of 37.8 × 44.4 mm with 79 parts on 53 nets, routed with 550 tracks and 330 vias.
It is built around the SIT3088ETK, KTH3101-TO3 and ATD5833QNN, with the LM321, ME6211C33M5G-N and TS3735PA 250GF 030 among its other parts. Its parts include 38 capacitors, 21 resistors, 8 ICs, 7 connectors and 2 diodes. It belongs with the robots and motor control and interfaces and adapters boards and the STM32 boards of this library.
The M17 is a NEMA-17 integrated servomotor: motor, closed-loop driver, motion controller and magnetic encoder in one unit. It daisy-chains over RS-485, ships with Python and Arduino libraries, and has a first-party MCP server so an AI assistant (Claude Desktop, Claude Code, Cursor, …) can drive real motors from plain English.
Hardware, firmware and software are all in this repository under the MIT license.
| M17-34 | M17-40 | M17-48 | M17-60 | |
|---|---|---|---|---|
| Length | 33.5 mm | 40.1 mm | 48.7 mm | 59.7 mm |
| Holding torque | 0.28 N·m | 0.42 N·m | 0.55 N·m | 0.65 N·m |
| Weight | 210 g | 285 g | 360 g | 470 g |
All sizes: 12–24 V, up to ~1.1 A, up to 560 RPM, closed-loop 32 kHz control, RS-485 at 230400 baud, 64-bit unique ID + one-byte alias per motor, standard NEMA-17 mount. Indoor use (IP20).
Buy one: gearotons.com (from $20; ships worldwide from Shenzhen). Documentation: 9o.at/M17_1.5 · Datasheet (PDF) · Python API · Arduino API
pip install servomotorimport time, servomotor
servomotor.open_serial_port() # prompts for the USB–RS-485 adapter the first time
m = servomotor.M3("X", time_unit="seconds", position_unit="shaft_rotations")
m.enable_mosfets()
m.trapezoid_move(1.0, 1.0) # one full turn, in one second
time.sleep(1.1)
m.disable_mosfets()
servomotor.close_serial_port()That is python_programs/example_trapezoid_move.py.
Units are yours to choose (degrees, rotations, radians, encoder counts; seconds or milliseconds) —
the library converts. No STEP/DIR timing, no microstep configuration.
Install the Servomotor library by Gearotons from the Arduino Library Manager, or from
Arduino_library/. Wire the board's UART to an RS-485 transceiver, then:
#include <Servomotor.h>
void setup() {
Servomotor motor('X', Serial1); // alias 'X'; the port opens on first use
motor.setPositionUnit(PositionUnit::SHAFT_ROTATIONS);
motor.setTimeUnit(TimeUnit::SECONDS);
motor.enableMosfets();
motor.trapezoidMove(2.0f, 3.0f); // two rotations over three seconds
delay(4000);
Serial.println(motor.getPosition()); // where it actually is, from the encoder
}
void loop() {}That is a trimmed Arduino_library/example_one_move.cpp
(the full file adds the ESP32 RS-485 pin definitions).
uvx --from servomotor-mcp servomotor-mcp # runs with a simulated motor if no hardware is attachedAdd it to Claude Desktop or run claude mcp add gearotons-motor -- uvx --from servomotor-mcp servomotor-mcp,
then ask: "Find my motors, then move the one on the bench to 90 degrees and tell me where it ended up."
Details and the full tool list: Gearotons/servomotor-mcp.
▶ 50-second video: the real motor and this session side by side (recorded 2026-09-09 on a bench M17).
| Folder | Contents |
|---|---|
firmware/ | Motor firmware (STM32G0), plus bootloader_STM32G030/ and bootloader_STM32G031/ |
PCB/ | Schematics, board layouts and 3D (STEP) models of the controller board |
python_programs/ | The servomotor Python library source, examples, test and characterisation scripts |
Arduino_library/ | The Arduino/ESP32 C++ library and examples |
API_documentation/ | Generated Python and Arduino API references (Markdown and PDF) |
servomotor_datasheets/ | Datasheet sources and PDFs (EN, DE, ES, FR, IT, PT), dimension drawings |
production_test_system/, motor_tests/ | How we test motors before they ship |
marketting_page/ | Source of the gearotons.com product page |
The command set is data-driven: every firmware command is defined once in
motor_commands.json and the Python library, the Arduino library and the MCP server are generated
from it, so they always agree.
This backward-compatible M17 release adds Get PID constants (command 48). It returns the configured raw P, I and D values without changing controller or motion state. With the updated Python bindings in this repository:
p, i, d = m.get_pid_constants()The release image targets M17 hardware 1.5, software compatibility code 3. See the release notes for the wire contract, upgrade/rollback commands, client requirements and test evidence.
Direct-drive torque tops out at 0.65 N·m (gear it or go up a frame size for more), it is IP20 and indoor-only, and it is not a STEP/DIR drop-in for an existing 3D-printer board — it wants a serial bus and a host that sends it moves. We would rather you know that before you buy.
Questions and builds: GitHub Discussions · email info@gearotons.com. Issues and pull requests welcome — the whole stack is here to be read, modified and improved.
Built and assembled by Gearotons in Shenzhen. MIT license — see LICENSE.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 11 | 10k | Resistor_SMD:R_0402_1005Metric | R2, R4, R5, R6, R13, R15, R17, R22, R23, R24, R25 |
| 10 | 10uF | Capacitor_SMD:C_0603_1608Metric | C7, C8, C10, C11, C12, C13, C14, C15, C16, C19 |
| 9 | 220pF | Capacitor_SMD:C_0402_1005Metric | C24, C25, C26, C27, C29, C31, C32, C33, C34 |
| 6 | 100nF | Capacitor_SMD:C_0402_1005Metric | C2, C3, C18, C36, C37, C41 |
| 4 | 10uF | Capacitor_SMD:C_0402_1005Metric | C5, C9, C22, C35 |
| 4 | 470R | Resistor_SMD:R_0402_1005Metric | R7, R9, R11, R12 |
| 4 | Conn_01x01_Socket | servo_motor:Pad_3mm_TopOnly | J3, J5, J6, J7 |
| 3 | 1nF | Capacitor_SMD:C_0402_1005Metric | C17, C20, C23 |
| 3 | KTH3101 | servo_motor:DFN1616 | U4, U6, U7 |
| 2 | 1.5k | Resistor_SMD:R_0402_1005Metric | R8, R26 |
| 2 | 100pF | Capacitor_SMD:C_0402_1005Metric | C21, C30 |
| 2 | 150m | Resistor_SMD:R_2010_5025Metric | R1, R3 |
| 2 | 1uF | Capacitor_SMD:C_0402_1005Metric | C6, C28 |
| 2 | TS3735PA-250gf | servo_motor:TS3735PA-250gf | SW1, SW2 |
| 1 | 01x04 male P=1.27mm | servo_motor:PinHeader_1x04_P1.27mm_Vertical_No_Silkprint | J1 |
| 1 | 01x05 male P=1.27mm | servo_motor:PinHeader_1x05_P1.27mm_Vertical_No_Silkprint | J2 |
| 1 | 100k 1% NTC | Resistor_SMD:R_0402_1005Metric | TH1 |
| 1 | 10nF | Capacitor_SMD:C_0402_1005Metric | C1 |
| 1 | 18k | Resistor_SMD:R_0603_1608Metric | R27 |
| 1 | 4.7k | Resistor_SMD:R_0402_1005Metric | R29 |
| 1 | 4.7uF | Capacitor_SMD:C_0402_1005Metric | C4 |
| 1 | ATD5833 | Package_DFN_QFN:QFN-28-1EP_5x5mm_P0.5mm_EP3.75x3.75mm_ThermalVias | U1 |
| 1 | Conn_01x06_Socket | Connector_PinSocket_2.00mm:PinSocket_1x06_P2.00mm_Vertical | J4 |
| 1 | KT-0603R | LED_SMD:LED_0603_1608Metric | D1 |
| 1 | LM321 | Package_TO_SOT_SMD:SOT-23-5 | U3 |
| 1 | ME6211C33M5 | Package_TO_SOT_SMD:SOT-23-5 | U11 |
| 1 | MHT192UGCT | LED_SMD:LED_0603_1608Metric | D2 |
| 1 | SIT3088E | Package_DFN_QFN:DFN-8-1EP_3x3mm_P0.65mm_EP1.5x2.25mm | U10 |
| 1 | STM32G031G8Ux | Package_DFN_QFN:QFN-28_4x4mm_P0.5mm | U2 |

tomrodinger/servomotor
Open-source NEMA-17 integrated servomotor (motor + closed-loop driver + controller + encoder). RS-485, Python/Arduino libraries, MCP server for AI control. Hardware, firmware and software.

tomrodinger/servomotor
Open-source NEMA-17 integrated servomotor (motor + closed-loop driver + controller + encoder). RS-485, Python/Arduino libraries, MCP server for AI control. Hardware, firmware and software.

tomrodinger/servomotor
Open-source NEMA-17 integrated servomotor (motor + closed-loop driver + controller + encoder). RS-485, Python/Arduino libraries, MCP server for AI control. Hardware, firmware and software.

tomrodinger/servomotor
Open-source NEMA-17 integrated servomotor (motor + closed-loop driver + controller + encoder). RS-485, Python/Arduino libraries, MCP server for AI control. Hardware, firmware and software.

tomrodinger/servomotor
Open-source NEMA-17 integrated servomotor (motor + closed-loop driver + controller + encoder). RS-485, Python/Arduino libraries, MCP server for AI control. Hardware, firmware and software.

tomrodinger/servomotor
Open-source NEMA-17 integrated servomotor (motor + closed-loop driver + controller + encoder). RS-485, Python/Arduino libraries, MCP server for AI control. Hardware, firmware and software.

sequoia-hope/rp2350-motor-controller
An RP2350 based brushless motor controller

LeoDJ/USB-C_PD_PSU
A 5-60V bidirectional buck-boost-converter, also capable of 240W USB PD EPR (48V 5A)

Kaiser041224/HPM5361-RMCS_Slave-Pro
HPM5361-RMCSSlave-V1.0 是一个基于 KiCad 9 的硬件工程,核心主控为 HPM5361ICB1。从顶层框图、层级原理图和关键器件选型来看,这块板更像一块面向机器人/运动控制场景的从控板,用于通信汇聚、PWM 外设输出、姿态感知、板载存储和基础人机交互。


modewang/elec_RPI_Robot_HAT
The RPIRobotHAT can be power from 5 to 28V. It is designed to use of the motor connector as an power input.


calebmarting/os2026-badge
Schematics and firmware for the Open Sauce 2026 Badge and SAOs

adamhrnciar/hyperion-controller
Open-source controller for 150 g antweight combat robots: RP2354A, 2x DRV8231A, 2-4S, ELRS/CRSF/SBUS/iBUS/PPM input, IMU. KiCad 10, CERN-OHL-S-2.0.
It measures 37.8 × 44.4 mm and has 2 copper layers, 0.8 mm thick.
79 parts, built around the SIT3088ETK, KTH3101-TO3, ATD5833QNN and LM321. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the tomrodinger/servomotor repository on GitHub, at the commit this page was made from: the board is PCB/Servomotor3/1.5/1.5.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).