Skip to main content
Version: FILS English

Autonomous maze solving robot

A car like autonmous robot that can mapout an maze and solve it as fast as possible all by itself.

info

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 diagram

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

diagram diagram

Bill of Materials

DeviceUsagePrice
2x Raspberry Pi Pico 2The microcontroller + Debugger93.98 RON
[2x N20 6V Micro Motor DC with reduction and encoder]Movement and mapping of maze98.16 RON
TB6612FNG motor driverMotor Driver26.01 RON
2x VL53L0X time of flight sensorOrientation in the maze69.98 RON
AMS1117-3.3V voltage regulatorPico voltage bottleneck3.30 RON
7.4V LiPo BatteryMain power supply113,22 RON
Pololu wheels 40x7 mmMovement30.52
WiresElectrical connections7.99 RON
Ball casterMovement stability3.95 RON
2x SMD ButtonPowering up and manual control1.16 RON

Software

LibraryDescriptionUsage
embassy-rpHAL in rustEmbassy support for Raspberry Pi Pico
embedded-timeTiming libraryAsync timers & delays in rust
embassy-executorAsync task executor framworkParallel processing in rust

Will add. ...