Book Image

Arduino Home Automation Projects

By : Marco Schwartz
Book Image

Arduino Home Automation Projects

By: Marco Schwartz

Overview of this book

Table of Contents (14 chapters)
Arduino Home Automation Projects
About the Author
About the Reviewers

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 humidity 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 system) 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 depending on your setup, you will see different...