Micro-Mouse Autonomous Labyrinth Explorer
Implement flood-fill pathfinding and optical wall tracking on an ultra-compact STM32 micro-mouse robot.

Project Overview & Working Principle
Construct a competition-grade maze-solving micro-mouse. Students write flood-fill algorithms in C to map an unknown 16x16 cell grid, store dead-end coordinates, and calculate the shortest diagonal sprint to the center.
Engineering Concepts Explored
Bill of Materials & Components
Verify you have all parts before starting. Official ROBOCADIA modules link directly to authentic hardware specifications.
Required Workbench Tools & Software
Step-by-Step Build & Firmware Guide
Follow each phase in chronological sequence to assemble mechanics, wire sensors, and deploy firmware.
Sensor Optical Calibration
Calibrate analog infrared receiver thresholds at 50mm wall distances.
- Shield phototransistors from ambient overhead fluorescent light.
Flood-Fill Grid Algorithm
Implement two-dimensional array cell distance updates on STM32.
- Use bitfields to store north, south, east, and west wall presence compactly.
Speed Run Trajectory Optimization
Convert cell paths into continuous high-speed diagonal sprints.
- Slow down ahead of unvisited turns during initial discovery phase.
Project Summary

ANT Autonomous Maze Solver Micro-Mouse
Miniature high-performance labyrinth solver utilizing optical proximity arrays and flood-fill algorithms.
- ARM Cortex-M4 real-time processing
- Sub-millisecond sensor feedback loop
Demystify microcontrollers: direct register manipulation, hardware timers, DMA buffers, and FreeRTOS multitasking.
View CurriculumGet pre-sorted classroom packs with teacher guides, spare components, and structured student worksheets.
Configure Classroom Lab