This is an old revision of the document!


Temperature and humidity monitoring

Author: Maria Iuga, AAC

Project Description

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.

Hardware Description

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:

  • GPIO26 pin of the ESP32 with the S pin of the DHT11 sensor;
  • GND pin of the ESP32 with the GND pin of the DHT11 sensor;
  • VIN (5V) pin in the ESP32 with VCC pin of the DHT11 sensor;

Software description

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:

  • DHT.h is an Arduino library for DHT11, DHT12 and other temperature and humidity sensors;
  • Wifi.h used for ESP32 to connect with the network and communicate with the IFTTT service.

Project implementation

void setup ()  
//initialize the serial monitor for debugging 
	Serial.begin(115200);

Conclusion

Using the IFTTT service and Adafruit IO platform is an easy way to monitor the temperature and humidity inside a room from anywhere remotely.

Resources

iothings/proiecte/2021/temphumiditymonitoring.1643316082.txt.gz · Last modified: 2022/01/27 22:41 by maria.iuga
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0