Autonomous maze solving robot
A car like autonmous robot that can mapout an maze and solve it as fast as possible all by itself.
Author: Velici Richard-Alexandru
GitHub Project Link: https://github.com/UPB-PMRust-Students/project-SilentSleeper
Description
The robot will be a small size two wheeled car with the ability to find the shortest path through an 8x8 cell maze and navigate it all by itself. In the spirit of the micromouse robot competitions, the objective is to give the little robot the ability to navigate the maze and slowly find the end point, which will always be at the middle of the grid, while at the same time map the maze layout for calculating the shortest path. After this initial run of the maze is done the robot should come back to its initial position, calculate the shortest path and try to get to the end point again using the calculated path, at full speed. For the maze size specifications I will try to follow the requirements generally used by micromouse competitions which means that the maze wall will be 5 cm tall and the path should have 18 cm in width. Also, as I said previously, the grid will be 8x8 instead of the common 16x16.
Motivation
I once saw a video about micromice robotics competitions, in which micro robots comptete in solving a maze like the ones famously used for testing the inteligence of lab mouses. The entire concept looked interesting and it made me wonder what are the technical challanges that come with this kind of project.
Architecture
The Raspberry Pi Pico 2 is the central processing unit, serving the pourpse of comunicating with the sensors and processing the data from them for maping the maze layout and finding the best path to the center.
The Time of Fligh sensors are used for orientation using as refrence the left side walls and the front walls.
The Motors are used for mobility and also mapping of the maze through the integrated encoders
Log
Week 5 - 11 May
Finished tying up loose end in the research for the project and made the documantation.
Week 12 - 18 May
Finished the car chassis and asamballed most of it. Also cheked all the connections.
Week 19 - 25 May
Hardware
Besides the Pi Pico 2, the two ToF sensors and the motors which are the central arhitectural hardware components of the project, other important part are:
- The 7.4V LiPo battery which will be used as the main power supply.
- A 3.3V regulator for bottlenecking the supply to the Raspberry board to its rated supply voltage.
- A second Raspberry Pi Pico 2 to act as debugger.
- Motor driver for optimal control of the two DC motors
Schematics
Bill of Materials
Device | Usage | Price |
---|---|---|
2x Raspberry Pi Pico 2 | The microcontroller + Debugger | 93.98 RON |
[2x N20 6V Micro Motor DC with reduction and encoder] | Movement and mapping of maze | 98.16 RON |
TB6612FNG motor driver | Motor Driver | 26.01 RON |
2x VL53L0X time of flight sensor | Orientation in the maze | 69.98 RON |
AMS1117-3.3V voltage regulator | Pico voltage bottleneck | 3.30 RON |
7.4V LiPo Battery | Main power supply | 113,22 RON |
Pololu wheels 40x7 mm | Movement | 30.52 |
Wires | Electrical connections | 7.99 RON |
Ball caster | Movement stability | 3.95 RON |
2x SMD Button | Powering up and manual control | 1.16 RON |
Software
Library | Description | Usage |
---|---|---|
embassy-rp | HAL in rust | Embassy support for Raspberry Pi Pico |
embedded-time | Timing library | Async timers & delays in rust |
embassy-executor | Async task executor framwork | Parallel processing in rust |
Links
Will add. ...