This repository contains the code, design, and documentation for a micromouse robot. The robot is based on the Arduino Uno and uses ultrasonic sensors to navigate through the maze.
Name | Quantity |
---|---|
Arduino Uno R3 | 1 |
Ultrasonic Distance Sensor | 4 |
DC Motor | 2 |
Piezo buzzer | 1 |
H-bridge Motor Driver L293D | 1 |
NOTE: Wheels and chassie are also required for finalization
This micromouse is based on the LSRB algorithm, which is a simple but effective algorithm for solving mazes. It works by moving the robot forward until it detects a wall. When the robot detects a wall, it turns left, right, or back depending on the following rules based on priority:
- Always follow LEFT whenever a turn is possible.
- If LEFT is not possible go STRAIGHT.
- If LEFT and STRAIGHT both are not possible go RIGHT.
- If LEFT, STRAIGHT, and RIGHT are not possible go BACK (or it means take a U-turn).
Our approach for solving different conditions are:
- Simple or Straight lane: The robot will follow the straight path.
- Left Turn (left only): The robot will take a left turn.
- Right Turn (right only): The robot will take a right turn.
- T intersection (T): The robot will take a left turn.
- Left T Intersection (straight or left): The robot will take a left turn.
- Right T Intersection (straight or right): The robot will take a left turn.
- Dead End: The robot will take a U-turn.
- Four lane intersection (Cross): The robot will go little further, if sensors still give same output then its end of maze else it will go left
- End of Maze: The robot will stop.
NOTE: Checkout our implemented code here
- Checkout circuit diagram pdf
- Checkout tinkercad circuit design
- How to Build an Arduino-based Maze-Solving Robot
- Maze-Solving Algorithm
- Maze Generation Algorithm
- Maze-Solving Robot with 3 IR Sensors
- Coding a Line-Follower Robot using LSRB and Finding the Shortest Path
- RCOEM Robotics & Aviation club
This project is open source and we welcome contributions from everyone. If you have any suggestions or improvements, please feel free to open an issue or submit a pull request.
- Thank you for your interest in micromouse !
- I hope this helps !