Maze Solver & Micromouse Competition Guide
Complete Engineering Guide: Flood Fill Algorithms, Wall-Following Sensors, Steppers & Encoders
What is Maze Solver & Micromouse Competition?
A Maze Solver (or Micromouse) is an autonomous robot designed to explore an unfamiliar labyrinth, map its passages using optical distance sensors, compute the shortest path using algorithms like Flood Fill, and execute high-speed speed runs to the center.
Typical Maze Layout & Competition Rules
Arena & Track Layout
Regulation mazes consist of an orthogonal 16 × 16 (or 8 × 8 junior) grid of cells, each measuring roughly 18 × 18 cm with 5 cm high wooden/plastic walls. The floor is painted matte black and wall tops are finished in bright red/orange.
Match & Round Structure
Robots are allocated a total search time (typically 7 to 10 minutes) to perform exploration runs, map wall boundaries, and execute up to 5 individual high-speed speed runs from start to center.
Scoring & Penalties
The official score evaluates the fastest speed run time minus an exploration bonus based on remaining search time and penalty touch counts.
Micromouse Autonomous Hardware Architecture
Ultra-compact (under 100 × 100 mm) custom PCB chassis with integrated motor mounts and sensor array brackets.
Twin coreless DC motors with high-resolution magnetic/optical encoders, or precision bi-polar microstepping motors driving thin silicone rubber tires.
Compact 2S (7.4V) 300–600 mAh LiPo battery with regulated 3.3V/5V rails to maintain steady analog sensor ADC readings.
32-bit ARM Cortex (STM32) microcontroller running real-time wall detection, coordinate mapping (Flood Fill / Dijkstra), and diagonal turn smoothing.
Typical Rulebook Engineering Bounds (Example Tolerances)
Algorithmic & Hardware Tuning Steps
- 1Implement Flood Fill algorithm: program dynamic cell distance weighting so the robot continuously re-computes optimal path matrices as new walls are mapped.
- 2Calibrate side wall proximity sensors: align angled IR distance sensors to maintain continuous center-lane centering without scraping wall surfaces.
- 3Develop diagonal speed-run capability: program smooth 45° diagonal corner cutting across open corridors rather than executing repetitive 90° stop-and-turns.
- 4Implement encoder odometry verification: verify that tire slip does not cause accumulated grid coordinate misalignment.
Pit Spares & Tools Checklist
- Microcontroller programming dongle (ST-Link / USB-UART)
- Spare encoder gearmotors and pinions
- Tire cleaning solvent to prevent wheel slip
- Backup optical distance sensors
- Maze simulator software logs for algorithm debugging
Common Tournament Pitfalls & How to Avoid Them
Relevant Competition Kits & Components

TTRC LF 5.0
TTRC LF 5.0 is a high-speed line follower robot designed for robotics training, STEM education and line follower competition use.
- 600 RPM DG N20 High-Speed Motors
- 7-Array Line Sensor

THE BOXING BOT
The Boxing Bots is a hands-on robotics kit that lets you build, program, and control real robots while learning through practical experimentation and competitive gameplay.
- Easy modular assembly
- Wireless control via controller or mobile
Recommended Training & Courses
Custom Engineering & Chassis Services
Custom PCB Design & Assembly
Custom motor driver shields, power distribution boards, and microcontroller carrier circuits.
Precision 3D Printing
Custom lightweight brackets, sensor mounts, and prototype casings in PLA, PETG, and TPU.
Robotics & Autonomous Systems
Bespoke kinematics design, sensor fusion integration, and tournament tuning.
Frequently Asked Questions
Preparing for an Upcoming Maze Solver & Micromouse Competition?
Our mechatronics engineering team at Coimbatore provides verified hardware kits, chassis fabrication, motor selection advice, and pit spare packages.