Hardware Reference
In-Depth Information
Testing the temperature and humidity
sensor
It's now time to compile the sketch and upload it. To do so, we are going to use the
Bluetooth connection. Let's execute the following steps to test the temperature and humid-
ity sensor:
1. Once your project is powered up (either by using a USB cable or an external power
source), you can go to the Bluetooth preferences of your operating system. You
should see that the Bluetooth module has been detected. Note that the name of this
Bluetooth module will change depending on your own module, as shown in the
following screenshot:
2. Just click on the pair button (or a similar button depending on your operating sys-
tem) and the Bluetooth module should be linked to your computer.
3. Now, let's get back to the Arduino IDE. You should now be able to select the
Bluetooth module in the serial ports' list. At this point, you can either select the one
starting with tty or cu ; it does not matter for testing purposes. Note that depend-
ing on your setup, you will see different names being displayed, but always with
EZ-Link on it:
4. You can now upload the sketch to your Arduino board. Simply click on upload as
usual, and the sketch should be uploaded to the board. Note that compared to the
usual sketch transfer via USB, the Bluetooth connection is much slower.
Search WWH ::




Custom Search