Docsity

Microprocessors Project: Autonomous Robot Maze Solver using 3pi - Prof. Stephen Kuyath, Study Guides, Projects, Research of Microprocessors

Toggle sidebar
bg1
ETEE 2213: Introduction to Microprocessors
Last Updated: February 2008
ETEE 2213
Introduction to Microprocessors
Project: Autonomous Robot Maze Solver using 3pi
Objective:
To become experts with AVR assembly language programming, and methods for accepting
inputs from sensors to control outputs to motors and LCD screens.
Assignment:
Program the Pololu 3pi robot in AVR assembly language to solve a maze as quickly as possible.
The maze will look similar to that shown in Figure 1. The robot must accept the push button
inputs to tell it when to begin and when to stop. The robot should print out a message to the LCD
screen stating what it is doing.
Figure 1: Possible Maze
Approach:
Find documentation for the 3pi robot and read it carefully. Separate the project into several
smaller projects. You should:
Sub-Project #1: Make the robot move forward and/or backward.
Sub-Project #2: Make the robot spin in place.
Sub-Project #3: Make the robot turn 90°, delay for a short period of time, then turn
another 90°, etc.
Sub-Project #4: Make the robot follow a track. The track should be a 12 inch x 12 inch
square.
Sub-Project #5: Make the robot follow each branch of the track shown in Figure 2 and
come back to the starting point.
Sub-Project #6: Print a message to the LCD screen
Sub-Project #7: Turn on an LED when a button is pushed
Sub-Project #8: Print a message to the LCD screen when a button is pushed
Project: Put it all together to solve the maze
pf2

Partial preview of the text

Download Microprocessors Project: Autonomous Robot Maze Solver using 3pi - Prof. Stephen Kuyath and more Study Guides, Projects, Research Microprocessors in PDF only on Docsity!

ETEE 2213: Introduction to Microprocessors

Last Updated: February 2008

ETEE 2213

Introduction to Microprocessors

Project: Autonomous Robot Maze Solver using 3pi

Objective: To become experts with AVR assembly language programming, and methods for accepting inputs from sensors to control outputs to motors and LCD screens.

Assignment: Program the Pololu 3pi robot in AVR assembly language to solve a maze as quickly as possible. The maze will look similar to that shown in Figure 1. The robot must accept the push button inputs to tell it when to begin and when to stop. The robot should print out a message to the LCD screen stating what it is doing.

Figure 1: Possible Maze

Approach: Find documentation for the 3pi robot and read it carefully. Separate the project into several smaller projects. You should: Sub-Project #1: Make the robot move forward and/or backward. Sub-Project #2: Make the robot spin in place. Sub-Project #3: Make the robot turn 90°, delay for a short period of time, then turn another 90°, etc. Sub-Project #4: Make the robot follow a track. The track should be a 12 inch x 12 inch square. Sub-Project #5: Make the robot follow each branch of the track shown in Figure 2 and come back to the starting point. Sub-Project #6: Print a message to the LCD screen Sub-Project #7: Turn on an LED when a button is pushed Sub-Project #8: Print a message to the LCD screen when a button is pushed

Project: Put it all together to solve the maze

ETEE 2213: Introduction to Microprocessors

Last Updated: February 2008

Figure 2: Sub-Maze

Report: Submit a well documented assembly language program (the *.lst file).

Grade: The grade for the project will be determined as follows:

1: 0 to 5 points for each sub-project numbered 1 – 4 & 8 listed above 25 2: 0 to 10 points for each sub-project numbered 5, 6, & 7 listed above 30 3: 0 to 25 points for your “Time to Solve” the maze score. The group with the quickest time will score 25 points. The next fastest will score 22, the next will score 19, etc. (0 points if you do not solve the maze) 25 4: 0 to 10 points for the documented list file 10 5: 0 to 10 points for “Time to Complete the Project.” The first group done with sub-project steps 1 – 8 will get 10 points, the next will get 9 points, the next will get 8 points, etc. 10 100