Christopher AndrewsNishant Pai
Published

AI Maze-Solving Robot

A robot that solves a maze and then shows the shortest path to the treasure!

IntermediateFull instructions provided6 hours2,899
AI Maze-Solving Robot

Things used in this project

Hardware components

TI Robotics System Learning Kit TI-RSLK
Texas Instruments TI Robotics System Learning Kit TI-RSLK
Basic kit, though you can buy the advanced kit if desired.
×1
Green 5mm LED
Can be any color. Green was what we were given. Kit comes with 2 red LEDs, but we used 3 LEDs.
×1
Through Hole Resistor, 470 ohm
Through Hole Resistor, 470 ohm
Kit comes with 1 470Ω resistor. Need a total of 3 for the 3 LEDs.
×2

Software apps and online services

Code Composer Studio
Texas Instruments Code Composer Studio

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
Solder Wire, Lead Free
Solder Wire, Lead Free
Wire Stripper & Cutter, 30-20 AWG / 0.25-0.81mm Capacity Wires
Wire Stripper & Cutter, 30-20 AWG / 0.25-0.81mm Capacity Wires
Need stripping (22-24 AWG), cutting, and plying (as in pliers) capabilities. This tool does all 3.
Heat Gun
Shrinks heat-shrink to cover exposed connections. Not absolutely necessary, but ensures exposed connections can't touch.
Multitool, Screwdriver
Multitool, Screwdriver
Small Phillips-head screwdriver.

Story

Read more

Schematics

Top Breadboard Schematic with the 3 LEDs

The top breadboard LEDs are used to indicate left turns, right turns, bumping into something, and treasure discovery. The port numbers and the ground connection are on the red Launchpad board. Note that the order of each LED and resistor pair does not matter. The schematic simply shows the order we used for each LED for physical placement convenience.

Maze for Printing

The PowerPoint file is the maze we used. It is for printing on 2ft x 3ft poster. We printed it for $25 at Office Depot on 55lb paper. Can also use black tape on a poster or multiple sheets of paper if preferred.

TI RSLK Basic Kit Build Instructions

The RSLK Basic Kit build instructions include the wiring for all parts of the robot except for the top breadboard.

Code

All Code for the Robot

C/C++
This is a Code Composer Studio v8 project. There are many .c and .h files involved in the code, but most of them are relatively short and purpose-made. File descriptions are at the top of each file. Uses C only, not C++. Licensed under Simplified BSD license.
No preview (download only).

Credits

Christopher Andrews

Christopher Andrews

1 project • 1 follower
Student at the University of Texas at Dallas. Always had an interest in hardware and software, so Computer Engineering is perfect for me!
Nishant Pai

Nishant Pai

1 project • 0 followers

Comments