SIMPLE MAZE-SOLVING ROBOT
An Easy Approach to Maze Navigation
Author
Rithik Krisna
What is a Maze-Solving
Robot?
Maze-solving robots use
algorithms to autonomously
navigate through mazes.
Early competitions like
Micromouse (1970s) set the
foundation for this field.
This project uses a simple three-
sensor approach with the Left-
Hand Rule algorithm.
Maze-Solving Algorithm: The Left-
Hand Rule
The Hand-on-Wall Rule helps
navigate mazes with continuous
walls.
If the left path is available, turn
left; otherwise, go straight or
turn right.
Truth Table defines robot
behavior based on sensor inputs
(0 or 1).
Components &
Circuit Design
Key Components:
Arduino UNO – Microcontroller for
processing data.
Motor Shield – Controls the DC motors.
Circuit Overview: IR Sensors (x3) – Detects walls and
IR Sensors → Connected to A0, A1, A2
obstacles.
pins for detecting left, front, and right
obstacles. Two-Wheel Drive Chassis – Provides
Motors → Controlled via the Arduino movement.
Motor Shield.
Power Supply Considerations → Must Power Source (2S Li-ion Battery Pack) –
be between 5V – 12V for stable Supplies voltage.
operation.
Assembly & Working
Assembling the Robot:
Attach the IR sensors at the correct
distance.
Fix motors and chassis securely.
Connect wires properly according to the
circuit diagram.
Robot Navigation Logic:
Reads sensor data → Detects walls and
open paths.
Makes decisions using predefined rules.
Executes actions → Moves forward, turns
left, turns right, or makes a U-turn.
Coding & Demonstration
Key Code Functions:
moveForward(), turnLeft(), turnRight(), uTurn()
Uses switch-case logic to make decisions.
Robot in Action:
The robot successfully navigates the maze using
the Left-Hand Rule.
Performance depends on sensor accuracy and
motor balance.
Future Improvements:
Demo of Robot in Action Use more sensors for better decision-making.
Implement a different algorithm for complex
mazes.
Enhance motor control for smoother navigation.
For a more in-depth tutorial, check out this
article:
https://circuitdigest.com/microcontroller-
projects/arduino-maze-solving-robot
Link to GitHub Repository
https://github.com/Circuit-Digest/Simple-Maze-
Solving-Robot-using-Arduino-UNO
www.circuitdigest.com
Robotics Projects|Arduino Projects|Raspberry Pi Projects| ESP32
Projects | AI Projects | IoT Projects