Hardware Reference
In-Depth Information
The following is a list of the software requirements:
• You will need the DHT library for this project, which can be found at ht-
tps://github.com/adafruit/DHT-sensor-library .
To install a library, you simply need to place the folder into the /library folder
of your main Arduino folder.
• Finally, you will need to have a working installation of Python 2.7 for this project.
It comes already installed on many operating systems, but if this is not the case,
you can find it at https://www.python.org/downloads/ .
• You will also need to get the Python serial library, which is available at ht-
tp://pyserial.sourceforge.net/ .
The instructions to install this library can be found at ht-
tp://pyserial.sourceforge.net/pyserial.html#installation .
• You can also chose to install a Python distribution that already comes preinstalled
with pySerial. You can get this from the following web page:
https://store.continuum.io/cshop/anaconda/
Note
The complete code for this project is available at the GitHub repository that cor-
responds to this chapter; it is found at the following web page:
https://github.com/openhomeautomation/arduino-home-automation/tree/master/
chapter3
Search WWH ::




Custom Search