Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
PAGE 18<br />
Teacher Notes for use with Set 9795<br />
SECTION 3<br />
WHOLE CLASS<br />
INTRODUCTORY ACTIVITIES<br />
The Ceiling Fan<br />
Learning Objectives<br />
Students will:<br />
Build a motorized fan and program it to run using Pilot 3 or higher.<br />
Program a machine to respond to feedback from a light sensor.<br />
Write a program that runs continuously.<br />
Discussion<br />
In order to see the light sensor values in percentages on the RCX<br />
View Display, users must download a program such as the one shown<br />
on the student copymaster page that includes a light sensor on the<br />
correct port. Otherwise the values in the View display are shown in<br />
raw form - as numbers between 0 and 1023. ROBOLAB light sensor<br />
icon commands expect percentages as input.<br />
Here is an example of a program that controls turns on the ceiling fan<br />
when someone enters the room and passes by the light sensor.<br />
Notice that Pilot 3 allows users to program using two steps. In the<br />
example program, all outputs are on Stop waiting for the light sensor<br />
to see dark. In the second step, the motor in port C is set to the left<br />
(or right, it doesn’t matter). It can be set to any level. Level 3 is<br />
shown here.The fan motor stays on for 6 seconds then turns off and<br />
the program starts over.<br />
If students want to do a more elaborate program, suggest that they<br />
try using Pilot 4 or Inventor.<br />
ACTIVITY<br />
3