Arduino Home Automation Projects by Marco Schwartz

Arduino Home Automation Projects by Marco Schwartz

Author:Marco Schwartz [Schwartz, Marco]
Language: eng
Format: azw3, pdf
Publisher: Packt Publishing
Published: 2014-07-23T04:00:00+00:00


Summary

In this project, we built a Bluetooth– and Arduino–based temperature and humidity sensor. Using this sensor, you can measure data that comes from your Arduino board via Bluetooth and display this data on your computer.

Let's see the major takeaways from this chapter. In the first part of the chapter, we chose the components of this project, including the Bluetooth module and the temperature and humidity sensor. We also downloaded and installed the required software components of the project.

Then, we built the hardware part of the project and made the required connections on the breadboard. We connected the Bluetooth module and the temperature and humidity sensor to the Arduino board.

Then, we spent some time building the main sketch of the project. At the same time, we tested the project by checking whether the Bluetooth connection was actually working. We also checked whether the temperature and humidity sensor was working correctly.

Finally, we used Python to build a simple interface on your computer. Using this interface, we established a connection to the Arduino board via Bluetooth and displayed the measurement data on your computer.

There are also several ways to improve the project. You can easily couple Python and a database, for example MySQL, to automatically log measurements locally on your computer. You can also couple this project, still using Python, with one of the Python-plotting modules to constantly display the measured values on a graph.

In the next chapter, we are going to use Wi-Fi again but for a completely different purpose. This time, we are not going to measure and store data locally, but automatically upload data to a cloud service so that it is stored and displayed there.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.