Projects / Ideas / Maze-solving robot with wall following

Maze-solving robot with wall following

AdvancedRoboticsIdeaReviewed
In short

How do you build a maze-solving robot with wall following?

Three VL53L0X distance sensors let a small robot follow the left wall through a maze, remember dead ends and run the shortest path on the second try. You need Arduino Nano, VL53L0X time-of-flight distance sensor × 3, TB6612FNG Motor Driver, N20 gear motor with encoder × 2, Robot car chassis kit 2WD (acrylic), Battery holder 18650 2S (series) and 18650 cell 2600 mAh (branded) × 2.

Level
Advanced
Time
About 360 min
Parts
7
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Run several I2C sensors with the same address, and store and simplify a path.

How to build it

  1. Give each VL53L0X a new address at start-up by holding the others in reset with their XSHUT pins
  2. Follow the left wall with a P controller on the side distance
  3. At junctions, record L, S, R or U for a dead end
  4. Simplify the path (for example L U L becomes S)
  5. Run the simplified path on the second attempt

Related projects

Common questions

What parts do I need for the maze-solving robot with wall following?

Arduino Nano, VL53L0X time-of-flight distance sensor × 3, TB6612FNG Motor Driver, N20 gear motor with encoder × 2, Robot car chassis kit 2WD (acrylic), Battery holder 18650 2S (series) and 18650 cell 2600 mAh (branded) × 2.

How long does the maze-solving robot with wall following take to build?

About 360 minutes for a advanced maker.