A micromouse: an STM32F103 robot that explores an unknown maze, maps it, works out the fastest route and runs it, with smooth curves. Board, body, firmware, PC tools and a simulator, all here (javierih.com/robots/ratatron).
- Search (mode 1): explores to the goal, keeps exploring only what could still shorten the fast path, returns and saves the map in flash.
- Speed run (mode 2): the verified path in one continuous move, straights at
FAST, curves atCURVE, and back. The planner minimises time, not cells.
software/install.sh # the `ratatron` command
ratatron connect & # the robot over Bluetooth: recorded, shared
ratatron monitor # the live maze and console
ratatron flash practice # build and flash (competition: the 16x16 goal)
- firmware/: the robot's code (PlatformIO, bare STM32 HAL) and its PC tests
- software/: the
ratatrontools (link, monitor, calibration) and the session logs - electronics/ (KiCad), mechanics/ (FreeCAD, STL)
- docs/: using the robot (buttons, LEDs, console), the tools, design, measurements, tests, faults
- The simulator, the robot in MuJoCo with its real firmware (and other micromice with theirs): ratasim, its own repository (this one as a submodule)
- AGENTS.md: architecture and conventions
Code (firmware/, software/) and documentation: GPLv3 (LICENSE). Hardware (electronics/,
mechanics/): CC BY-SA 4.0 (electronics/LICENSE, mechanics/LICENSE).

