This is an old revision of the document!
Author: Maria Iuga, AAC
The purpose of this project is to create a small system that measures the temperature and humidity inside a room and sends the data to the Adafruit cloud platform.
For the implementation of the project, I used ESP32-WROOM 32 board, a DHT11 sensor, Adafruit IO platform and the IFTTT service. The connection between Arduino IDE and Adafruit is made using the IFTTT service through the applets. Also, two rules are set in case the sensor registers a temperature higher than a certain value or a temperature lower than a value.
ESP32 – is the name of the chip developed by Espressif Systems. This provides WI-FI and dual-mode Bluetooth connectivity to embedded devices.
DHT11 – is composite sensor that contains digital signal output of the temperature and humidity.
The connections from the ESP32 to the DHT11 sensor are the following:
IFTTT (IfThisThanThat) – is a service represented by a website or as an application available for IoS and Android that offers a simple way to connect smart devices using applets.
Adafruit IO platform – is a cloud service that makes data useful. The platform allows simple data connections with programming required. The ESP32 board was programmed using Arudino IDE and its programming language.
Aduino IDE – is an open-source software used for writing, compiling & uploading code. Programs written using Arduino Software (IDE) are called sketches.
The main libraries used for the project are:
void setup () //initialize the serial monitor for debugging Serial.begin(115200);
The emails sent by the applet depend on the conditions, as two rules are set.
Adafruit IO platform receives data from IFTTT and displays it accordingly. The readings of the sensors are displayed in Adafruit Dashboard. The humidity data is displayed live and the temperature is displayed over a course of 24h.
The emails sent by the applet when the conditions are met are as follows.
Using the IFTTT service and Adafruit IO platform is an easy way to monitor remotely the temperature and humidity inside a room from anywhere.
http://sheepdogguides.com/arduino/art4ifttt.htm
https://randomnerdtutorials.com/esp32-door-status-monitor-email/
https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-sensor-arduino-ide/
https://www.smart-thermostat.eu/remote-nodes/
https://www.nabto.com/guide-to-iot-esp-32/
https://www.electronics-lab.com/project/getting-started-with-adafruit-io-iot-cloud-platform/