ESP32 Arduino: Getting temperature from DS18B20 sensor

In this tutorial we will learn how to get temperature measurements from a Maxim Integrated DS18B20 temperature sensor, using the ESP32 and the Arduino core. The tests were performed using a DFRobot’s ESP32 module integrated in a ESP32 development board and a waterproof version of the sensor.

Continue reading “ESP32 Arduino: Getting temperature from DS18B20 sensor”

Advertisements

ESP32 Arduino: Getting DHT22 sensor measurements with interrupts

In this tutorial we will check how to obtain temperature measurements from a DHT22 sesnor using the ESP32, the Arduino core and timer interrupts. The tests were performed using a DFRobot’s ESP32 module integrated in a ESP32 development board, and a DFRobot DHT22 module.

Continue reading “ESP32 Arduino: Getting DHT22 sensor measurements with interrupts”

ESP32 Arduino: DHT22 Minimum Sampling Period

In this tutorial we will check how to get the minimum sampling period of the DHT22 and how to use it to make some temperature measurements without crossing the maximum sampling rate. To facilitate the interaction with the sensor, I’m using a DFRobot DHT22 module which already has all the electronics needed and exposes a wiring terminal that facilitates the connections.

Continue reading “ESP32 Arduino: DHT22 Minimum Sampling Period”