Control the Smart Fan Accessory thrust
Control the thrust and direction of a Smart Fan Accessory attached to a Smart Cart.
Access the control panel
- Connect the Smart Fan Accessory to a Smart Cart.
- Connect the Smart Cart to SPARKvue.
- Build a new experiment page and select any layout.
- Select Smart Fan Display to open the Smart Fan control panel.
Turn the fan on or off
Do either of the following to turn the fan on or off:
- Click the On or Off buttons.
- Select the Auto checkbox. When the box is checked, the fan automatically turns on when collecting data and turns off when data collection stops.
Set the thrust and direction
Do either of the following to set the thrust and direction of the fan:
- Enter a value between -100 and +100 in the Thrust field.
- Click and drag the Thrust slider between -100 and +100.
Create a program
Create a program to control the Smart Fan using the Code tool. The Hardware group provides two blocks to control the Smart Fan:
-
On/Off Block
Use this block to turn the fan on or off. Set the parameter to
true
to turn on the fan, or set it tofalse
to turn off the fan. Use a block in the Logic group in place of the true/false block to create a logical expression to turn the fan on or off. -
Thrust Block
Use this block to set the thrust of the Smart Fan between -100 and +100. You can either use the default number block to set the thrust or replace this block with a block from the Math group.