Unit 7 Conditional Statements and Sensor State, Multitasking, and Variables

Concepts taught:

*   Electronic control

*   Measurement

*   Conversion of Units

*   Basic Algebra

*   Geometry

*   Trigonometry

*   Logical Thinking

*   Programming concepts

Loops

Conditional Statements

Variables

Mathematic functions and variables

Resetting sensors

Timers

Multitasking

 

Standards Addressed

 

Resources

Advance Programming Worksheet and Advanced Programming Worksheet Solutions

Containers and Timers PowerPoint Presentation

Programming examples of multitasking, variables, and timers

Advance Programming Worksheet PDF

 

Teachers will:

Prepare presentations on:

*   Containers (variables)

*   Timers

*   Multitasking

Build and Program a robot to use containers, timers, and multitasking to move autonomously to complete a task.

 

Students will:

Participate in a teacher led discussion on timers, program control loops, and timer forks to control autonomous robots.

Participate in teacher-led review of conditional statements, including touch sensor, light sensor, temperature sensor and rotational sensor forks.

Participate in a student led discussion to write a line follower with a time fork program.

Participate in a teacher led discussion on the use of task splits to perform multiple simultaneous tasks

 

Evaluation

Class Participation

Teacher Observation

Work Habit Evaluation

Robot Evaluation Tool

Activities:

Complete one of the following teacher assigned robotics exercises:

Legoclock

Four legged walker

Robot to sense gravity

Pipe Bot 1

Pipe Bot 2