# MAZE Robot

## Problem

The problem of this project is to complete the maze.

Our objective is to use only 2 sensors, each being different.

## Pseudocode

1. Set parameters for both sensors (ultrasonic- 4-6 inches, touch sensor-bumped)

2. Turn on motors 1 and 2 and both sensors (ultrasonic and touch)

3. Go forward

4. If there is a left turn, the robot will use the ultrasonic sensor,detecting the turn if there is more than 6 inches that the ultrasonic sensor can read. The motors will rotate between 390 and 400 degrees. Motor 1 or B will be more powerful than motor 2 or C. If it is the end of the maze, then we will pick up the robot

5. If there is a right turn, the touch sensor will be used. To perform a right turn, the touch sensor will be bumped, backup a half inch and turn right. The motors will rotate between 390 and 400 degrees. Motor C or 2 will be more powerful than motor B or 1. If it is the end of the maze, we will pick up the robot.

6. If the robot made a wrong turn, the robot will use the right turn and backup eventually turning around a full 360 degrees using this method multiple times. If it is the end of the maze, we will pick up the robot.

7. Any steps needed will be repeated if necesary.

## Problems with the Robot Design

1. We had trouble trying to figure out how many ultrasonic sensors to use.

2. We had trouble trying to find a place for the ultrasonic sensor on the robot brain.

3. We had to find a way to reduce the length of the robot.

## VI for the Robot MAZE

Here is the photo of the true part of the case structure.

This is still in progress.

Here is the false part of the case structure.

This is still in progress too.

## Other Problems Encountered

1. We could not get the robot to make a 90 degree turn.

2. We could not determine a way to fit the ultrasonic sensor to fit in the dimensions for the MAZE.

3.We are still trying to figure out how to make the robot go backwards and the turn after hitting the touch sensor.

4. Lastly, we are still trying to make a time delay with the robot going backwards.