You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
PAGE 44<br />
Teacher Notes for use with Set 9795<br />
SECTION 5 INTERMEDIATE AND ADVANCED<br />
IDEAS USING INVESTIGATOR<br />
PILOT AND INVENTOR<br />
The Fire Alarm<br />
Learning Objectives<br />
Students will:<br />
Write a program to make an input control an output using Inventor Level<br />
4.<br />
Also in the program, capture data from a temperature sensor over time.<br />
Graph the temperature sensor data.<br />
Write a report about their project, describing the results.<br />
Discussion<br />
In the example program below, the temperature sensor is checked with a<br />
Temperature Fork.The Land and Jump icons loop so the sensor checks<br />
continue until the light sensor is activated.<br />
To gather data, first initialize the sensor and remember to modify it with<br />
the correct port number. Here the light sensor is using the default setting<br />
of port 1 so it does not need a modifier. However, the temperature sensor<br />
icons need to be modified with the port 3 modifiers.<br />
Inventor level programming is preferred here because it allows users to<br />
include the Music icons and program their own alarm sounds. See the<br />
Doorbell activity in Section 4 for details about using the Piano Player.<br />
For more information about the Investigator software, see the book<br />
Getting Started 2: Teacher’s Guide for ROBOLAB 2.0 Software.<br />
ACTIVITY<br />
3