Lesson 1: Mission Introduction and Objectives


Quick Review

Last year's "Introduction to Computer Programming I" provided all students with the fundamentals of coding, syntax and other basic information.

Data Types:
  • short, int, long - integers or whole numbers
  • float, double - real numbers or floating point numbers (decimals)
  • boolean - true or false
  • char, String - characters or a sequence of characters

 

Variables and Camel Case naming convention
int count;
boolean isRunning = FALSE;
int pushButton = 3;

 

Control Structures
  • for loops
  • while loops
  • do...while loops
  • if-then-else

 

Arithmetic operators:
  • +, -, *, /
  • %
  • ++, --
  • +=, ==, *=, /=
  • =

 

Comparison operators:
  • ==, >, <, >=, <=, !=
  • &&, ||
  • !

 

Arrays

Mission Objective

Design, engineer, build and program an autonomous robotic rover to navigate the length of an unknown flat terrain landscape while avoiding standard sized obstacles, collect and report environmental conditions to mission controllers.

Materials To Use

Materials Provided:

  1. Two (2) Arduino UNO microcontrollers, one for drive and navigation and one for sensor data collection
  2. Servos for drive system
  3. Environmental sensors (visible light, UV index, infrared, temperature, pressure and humidity)
  4. Navigation sensors (ultrasonic and magnetic compass)

 

Materials Students will need to purchase:

  1. Small hobby screws
  2. Wide elastic bands for wheel traction, if desired and if wheel design dictates
  3. Tank track links, if desired