Repository navigation
Releases
v1.1.0
What's new
Eyes with depth
The eyes now sit on a round head that turns with the gaze. When the robot looks to one
side, the near eye grows and the far one narrows and tapers, instead of both just sliding
across the screen. With the gaze centred they look exactly as before. Each eye is still
drawn as a clean shape, so edges stay sharp at every angle, and it costs about 0.1 ms a
frame - the servo loop is unaffected.
A new happy face
Posing and balancing show a new happy expression: a smooth, tapered arc with rounded ends
in place of the old blocky one. It blinks by squashing flat for a moment, like a happy
squint, rather than snapping shut like a box.
Print profiles
mechanics/print-profiles/ has Bambu Studio projects (Bambu Lab H2D, 0.4 mm nozzle) for the
parts that are tricky to print because they need supports: the upper coxa, the tibia and the
centre body's top plate. The mechanics README lists the settings and the materials that
worked well - ABS-GF preferred, Polymaker HT-PLA-GF for the tibia.
For developers
StatusDisplay::setPerspective()turns the 3D eyes on (Perspective::eResize) or off
(eFlat).cKeystoneGain,cMaxYawDegandcShellRadiustune how strong the effect is.- New mood
Mood::eSleepy- one eye half shut, the other a slit, nodding off now and then.
Available, but not used by the firmware yet. - New hardware test
software/HWTests/StatusDisplay3DTest: sweeps the gaze through every
mood and logs the slowest frame;dswitches to the flat eyes for comparison.
v1.0.1
Fixes
- Walking speed rises evenly across the stick travel. The speed used to stay low for most of
the travel and then jump: the last 20 % of stick added 60 % of the top speed. It now rises
evenly (the last 20 % adds a third), and the robot reaches top speed sooner after a full
deflection. The slowest and fastest speed are unchanged. - A single lost radio frame no longer makes the robot park. The robot's telemetry doubles as
its heartbeat and went out every 500 ms against the transmitter's 1000 ms timeout, so one lost
frame was enough for the transmitter to drop the robot. It now goes out every 200 ms, and two
frames in a row can be lost.
v1.0.0
Hexapod v1.0.0
First release of the firmware, hardware and mechanics for a six-legged walking robot: an
ESP32-S3 driving 18 Dynamixel servos with inverse kinematics at 200 Hz, controlled from a
handheld transmitter over ESP-NOW.
What it does
- Three walking gaits - tripod, tetrapod and ripple - switchable on the fly, with step
length, step height and ground clearance adjustable from the transmitter while walking - Inverse kinematics per leg, with targets clamped to the reachable workspace
- Self-levelling on uneven ground using the onboard IMU, with the feet planted
- Posing: translate and rotate the body (roll, pitch, yaw) with the feet planted
- Animated face on a 128x64 OLED that tracks the joystick and changes mood with the
robot's state, and doubles as the fault display - Sound and lights: I2S audio and a 19-LED strip that follows the state machine
- Safety: parks itself when the radio link drops, releases torque after inactivity,
never switches torque on against positions it could not read, and warns when the battery
runs low
What's in the repository
software/- the firmware sketch, plus the servo setup, calibration and bench test sketcheshardware/- PCB: EasyEDA project, Gerbers, schematic, bill of materialsmechanics/- chassis and legs: Fusion source, STLs, dimensioned drawingsdocs/- the quick guide, the operating manual
and the inverse-kinematics write-up
Requirements
- Arduino IDE with esp32 core 3.3.12 (IDF 5.5.5); it does not build against core 2.x
- Board ESP32S3 Dev Module: 16 MB flash, OPI PSRAM, custom partition scheme, USB CDC on
boot (full settings in the README) - Libraries, all from the Arduino Library Manager: FastLED 3.10.6, Dynamixel2Arduino 0.8.2,
MPU6050_light 1.2.1, U8g2 2.36.19, Streaming 6.3.0, SoundEngine 1.1.1,
ESPNowUtilities 1.0.0, VectorUtilities 1.0.0 - The transmitter with app protocol version 1
Hardening before release
A full code review, done with the help of Claude (Anthropic), preceded this release.
Before the first walk
The servos need IDs, the bus baud rate and joint limits set first.
software/DynamixelUtilities/ covers that, in the order given in its README.