Files
hexapod-robot/2026-current/README.md
T
mangavalkandClaude Opus 5.5 e23216b3a1 2026 remote: build for the Teensy 4.0 actually in the remote
Board teensy41 -> teensy40. All pins exist on the 4.0; the MPU6050's
Wire2 (SDA2 25 / SCL2 24) is on the underside solder pads.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 12:19:16 +01:00

2.1 KiB

Hexapod

A six-legged walking robot (Teensy 3.6) and its handheld remote (Teensy 4.0 + Nextion touchscreen), linked over nRF24L01.

The hexapod, OpenSCAD model in its standing pose The remote, OpenSCAD model

robot/                     robot firmware: IK, gait, body pose, IMU stabilization, state machine
remote/                    remote firmware: 2 x 3-axis sticks, MPU6050 tilt, Nextion UI, RF24 TX
shared/                    HexapodProtocol: the CmdPacket wire format + radio settings used by both
sim/                       the unchanged robot firmware compiled into a DLL for the simulation
Hexapod_Simulation_Unity/  Unity project that runs that DLL on the 3D model
hardware/openscad/         OpenSCAD model of the robot and remote, rebuilt from the Fusion designs
hardware/fusion360/        Fusion 360 designs: body, legs, servo, servo horn, remote case
scripts/                   PlatformIO helper (per-environment sketch folder)

This is the 2026-current/ folder of the hexapod-robot repo; the earlier generations (2009 onwards) are in the folders next to it, see ../README.md.

Build (PlatformIO)

pio run                    # build both
pio run -e robot -t upload
pio run -e remote -t upload
pio device monitor -e robot

Simulation

From this 2026-current folder in PowerShell (the dev PC is Windows):

.\sim\build.ps1            # build hexapod_sim.dll + run the headless firmware checks

Then open Hexapod_Simulation_Unity and press Play. See sim/README.md.

Where to go next