Skip to content

Micro Mouse is a small autonomous and robot designed for maze solving. Equipped with sensors and intelligent algorithms, it navigates through a maze, mapping its surroundings, and finding the shortest path to the destination.

License

Notifications You must be signed in to change notification settings

TharushaDinujaya/MicroMouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Micro Mouse - RoboFest 23

Micromouse is a robotics competition where tiny robots navigate a maze (14x14). These autonomous mice use ToF sensors (also Sharp IR sensors can be used) to map the maze and find the fastest route to the center, testing design, programming, and problem-solving skills.

Micromouse

Required Components

ESP32

ToF Sensors or Sharp IR sensors (low range)

GA12 N20 Motors

TB6612FNG

LiPo 1500mAh Batteries (Capacity maybe vary)

LiPo 1500mAh Batteries

Acknowledgements

Getting Started

Prerequisites

Platform PlatformIO VS Code

Installation

Clone the repository:

git clone https://github.com/TharushaDinujaya/MicroMouse

Open Project in VS Code

cd MicroMouse
code .

Install PlatformIO IDE extension:

Go to the Extensions view (Ctrl+Shift+X). Search for "PlatformIO IDE" and install it. Restart VS Code if prompted.

Prepare the Circuit.

Connect each ToF sensor in to I2C line as circuit schematics given below. We've used 2 batteries. You can use any number of batteries as required. But adding more batteries means more load to the N20 Motor and Motor's lifetime may be reduced. Also you can add an accelerometer for precise measurings. Use MPU6050 or MPU6000 for this purpose. both can be use with I2C line.

Circuit Schematic Diagram

Flood Fill Algorithm

The Flood Fill algorithm in a micro mouse maze-solving robot is used to explore the maze and find the shortest path to the goal. Here’s a concise description:

  • Initialization: The goal cell is set to a value of 0, and all other cells are assigned a high initial value.

  • Flooding the Maze: Starting from the goal, adjacent cells are incremented by 1, propagating outward. This creates a gradient of values representing distances to the goal.

  • Pathfinding: The robot navigates by moving to neighboring cells with decreasing values, ensuring it always heads towards the goal.

  • Exploration: As the robot encounters new cells, it updates their values and adjusts the flood fill accordingly, continuously refining its path to optimize the route to the center.

Related

Here are some related projects

Micromouse 2024

Screenshots

Image 01

Image 02

License

BSD

Authors

About

Micro Mouse is a small autonomous and robot designed for maze solving. Equipped with sensors and intelligent algorithms, it navigates through a maze, mapping its surroundings, and finding the shortest path to the destination.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •