
Smart servo v2
aj-floater/hexapod
This repository contains the public engineering artifacts for a six-legged robot project. It combines embedded firmware for RP2040-based control experiments, host-side tooling for communicating with and visualizing…

This repository contains the public engineering artifacts for a six-legged robot project. It combines embedded firmware for RP2040-based control experiments, host-side tooling for communicating with and visualizing…
Smart servo is an open-source printed circuit board by aj-floater, from the aj-floater/hexapod repository on GitHub. It is a 2-layer board of 35.5 × 23.1 mm with 18 parts on 26 nets, routed with 187 tracks and 29 vias.
It is built around the STM32F042F6P6 and DRV8837DSGR-MS. Its parts include 5 capacitors, 5 connectors, 4 resistors and 4 ICs. It belongs with the robots and motor control boards and the STM32 boards of this library.
This repository contains the public engineering artifacts for a six-legged robot project. It combines embedded firmware for RP2040-based control experiments, host-side tooling for communicating with and visualizing device state, a C++ simulation/editor shell, hardware design files, and supporting media used during development.
The public repository is organised to let a technically competent reader inspect the control stack, reproduce the host tooling, build the current simulation executable, and review the mechanical and electronics design files. It is intended as the software and hardware workspace for the project rather than a polished end-user product.
The project is split into four main layers:
hardware/ CAD and PCB assets
->
firmware/ RP2040 targets implementing control loops and devlink endpoints
<-UART/devlink->
tools/devlink_dashboard/ Python host tooling for monitor, replay, commands, and GUI
software/simulation/ C++ editor-style sandbox for kinematic and UI experiments
media/ public images and videos used to illustrate development resultsIn practice, the most direct public workflow is to run a firmware target on an RP2040 board, connect it over the current devlink serial path, and inspect or record the device stream with devlink-dashboard.
firmware/: RP2040 firmware targets, shared support code, and experimental control programstools/devlink_dashboard/: Python package for serial monitoring, command dispatch, recording, replay, and the desktop GUIsoftware/simulation/: Magnum-based C++ simulation/editor shell with vendored third-party dependencieshardware/: FreeCAD assemblies, KiCad projects, and board-level hardware assetsmedia/: images and videos that illustrate assembly, calibration, and control behaviourgit clone git@github.com:aj-floater/hexapod.git
cd hexapodRequired for tools/devlink_dashboard/:
>=3.11pippyserialPySide6 and pyqtgraph when using the desktop dashboardInstall the package from the repository root:
python3 -m pip install -e './tools/devlink_dashboard[gui]'If you only need parser, replay, or non-GUI workflows, install the lighter serial extra instead:
python3 -m pip install -e './tools/devlink_dashboard[serial]'Required for software/simulation/:
>=3.24The simulation currently vendors its external dependencies under software/simulation/third_party/, so no separate package manager is required for Corrade, Magnum, SDL, ImGui, or ImGuizmo in the default workflow.
Required for firmware/ work:
Board-specific notes in firmware/board.md currently assume:
GP4 -> host RXGP3 -> host TXGNDRequired for hardware/ inspection and editing:
.FCStd assemblies and partsLaunch the desktop dashboard against a live serial device:
devlink-dashboard gui --port /dev/ttyACM0 --record session.jsonlOther useful host workflows:
devlink-dashboard monitor --port /dev/ttyACM0 --record session.jsonl
devlink-dashboard replay session.jsonlConfigure, build, and run the current simulation shell:
cmake -S software/simulation -B software/simulation/build
cmake --build software/simulation/build
./software/simulation/build/bin/hexapod-simulationOne simple public firmware workflow is the RP2040 blink/debug example:
cd firmware/blink_any_copy
make build
make flashMore advanced control targets live under firmware/control_testing/, firmware/basic_control_testing/, and related subdirectories.
devlink, with typed messages, NDJSON logging/replay, and capability-driven host state reconstruction in tools/devlink_dashboard/.software/simulation/third_party/ and pins them through the local CMake configuration.| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | 0.1uF | Capacitor_SMD:C_0402_1005Metric | C3, C4, C5 |
| 2 | 10uF | Capacitor_SMD:C_0805_2012Metric | C1, C2 |
| 2 | 5k1 | Resistor_SMD:R_0603_1608Metric | R1, R2 |
| 1 | 10k | Resistor_SMD:R_0402_1005Metric | R4 |
| 1 | 120 | Resistor_SMD:R_0402_1005Metric | R3 |
| 1 | 2171790001 | smart_servo:MOLEX_2171790001 | J1 |
| 1 | B3B-PH-K-S_LF__SN_ | smart_servo:JST_B3B-PH-K-S_LF__SN_ | J2 |
| 1 | B5B-PH-K-S_LF__SN_ | smart_servo:JST_B5B-PH-K-S_LF__SN_ | J3 |
| 1 | Conn_01x04 | Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Vertical | J4 |
| 1 | Conn_01x04 | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J5 |
| 1 | DRV8837DSGR | smart_servo:SON50P200X200X80-9N | U2 |
| 1 | MCP1703T-3302E_CB | smart_servo:SOT95P255X145-3N | U3 |
| 1 | STM32F042F6P6 | smart_servo:SOP65P640X120-20N | IC2 |
| 1 | TL431IDBZR,215 | smart_servo:SOT95P255X145-3N | U1 |

aj-floater/hexapod
This repository contains the public engineering artifacts for a six-legged robot project. It combines embedded firmware for RP2040-based control experiments, host-side tooling for communicating with and visualizing…


PetteriAimonen/relaymux
Hardware and firmware for a USB connected relay box

abstractfoundry/lumicube-boards
PCB and firmware design files for some of the LumiCube components

aziraphale/pride-badge-v1
🌈⚡Pride badge PCB with LEDs, STM32, and 3D printed diffuser+case!

Chicken-Fried/STM32-NanoCortex
Ultra-compact USB-C development board powered by STM32F042 (ARM Cortex-M0) with native DFU, ceramic-only LDO power stage & CaveRover branding.

ckemere/usb-imu
USB IMU for camera rigs: BNO055 module (STM32F042) and an FE1.1S hub carrier with JST-GH camera ports. KiCad 9.

Fluffik214/airsoft-battery-module
This is a USB-C PD charger and cell monitor for a 3S LiPo that lives in an airsoft stock tube. It has one USB-C port.

It measures 35.5 × 23.1 mm and has 2 copper layers, 1.6 mm thick.
18 parts, built around the STM32F042F6P6 and DRV8837DSGR-MS. 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 aj-floater/hexapod repository on GitHub, at the commit this page was made from: the board is hardware/smart_servo/smart_servo.kicad_pcb and its schematic hardware/KiCad 9 ESP32 Demo/KiCad 9 ESP32 Demo.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask aj-floater before reusing the design.