Smart cloud thermostat
In this recipe, we are going to combine several things we have already seen in this chapter, to create a simple thermostat that is completely based on cloud interactions between two Arduino boards.
Getting ready
This project will be based of two different boards: one will measure the temperature and send events to IFTTT, and the other one will be connected to a relay that will simulate an electrical heater.
Let's first see how to assemble the first board. First, place the DHT11 sensor on the breadboard. Then, connect the first pin of the sensor to VCC on the Arduino board, and the last pin of the sensor to the GND pin of the Arduino board. Finally, connect the second pin of the sensor to Arduino pin 6. This is the final result: ...
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.
Read now
Unlock full access