|Software apps and online services:|
This tutorial takes a project from my last tutorial (Thermistor – Fan control using LabVIEW) and adds in the use of a Raspberry Pi 3 for wireless control of the WF32. This means that you can now set up the fans and servo with your WF32 in your entertainment center and then control them over WiFi. In this tutorial I go over how to set up the Raspberry Pi but if you run into any trouble please refer to the Getting Started With the Raspberry Pi 2 (LabVIEW) tutorial.
Step 1: Materials
- Temperature sensor [TMP36] (250 mV output at 25°C)
- Two Slide switches
- Three 240Ω resistors
- 100 uF electrolytic capacitor
- Tactile button switch
- Breadboard (I use a MyProto Protoboard and a 270 tie breadboard)
- Two PWM controlled fans(I use two different sizes in my demo)
- Small servo motor
- Raspberry Pi 2 (I use the Raspberry Pi 3, but the process is the same)
- WiFi dongle (Wi-Pi USB WiFi Module is a good choice)
- microSD with adaptor(8GB or larger)
Everything but the fans, LabVIEW, Raspberry Pi, WiFi dongle, and WF32 is included in the LabVIEW Interaction Parts Kit.
Step 2: Connecting WF32 to WiFi
Configure the network settings: Specify the WiFi security type and passphrase.
- Note: It is recommended that you disable network security to start and then re-enable it after you confirm the LINX connection is working.
- SSID is the name of your network.
- Assign the chipKIT WF32 an available IP Address. You will need to specify this IP address again later as an input to the LINXInit VI.
- Select the Port to use, unless you have reason to use another you should select 44300.
- You will need to specify this IP address again later as an input to the LINX Init VI.
- Launch the LINX Firmware Wizard.
- Choose the chipKIT WF32.
- Go to Device Manager.
- Click on “Ports(COM & LPT)” to find the WF32’s COM port.
- Select that COM port.
- Click Launch Example.
A video going over these instructions can be found here.