Skip to Content
Learning AWS IoT
book

Learning AWS IoT

by Agus Kurniawan
January 2018
Intermediate to advanced
278 pages
5h 13m
English
Packt Publishing
Content preview from Learning AWS IoT

Developing the Arduino program

For the IoT node device, we apply Arduino Yún with the DHT22 sensor that provides temperature and humidity sensing. You can find DHT22 easily on an online electronic store or at a local store.

The general  DHT22 sensor scheme is described in the following image. The third pin is unused. This sensor will be attached to Arduino Yún :

Now we can write the Arduino program. You can proceed with the following steps:

  1. To use the DHT sensor with the Arduino board, we use the DHT library from Adafruit. You can find it at https://github.com/adafruit/DHT-sensor-library. You can install it by downloading the DHT source from ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn AWS Serverless Computing

Learn AWS Serverless Computing

Scott Patterson

Publisher Resources

ISBN: 9781788396110Supplemental Content