Idea
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.
Parts list
- Development Boards
- Sensors
- Motor Drivers
- Motors & Actuators
- Mechanical & Hardware
- Power
- Batteries
How to build it
- Give each VL53L0X a new address at start-up by holding the others in reset with their XSHUT pins
- Follow the left wall with a P controller on the side distance
- At junctions, record L, S, R or U for a dead end
- Simplify the path (for example L U L becomes S)
- Run the simplified path on the second attempt
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.
