ESP32 Protocol buffers: Encoding a DS18B20 temperature measurement

In this tutorial we will check how to obtain a measurement from the DS18B20 temperature sensor and encode it using protocol buffers. We will be 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. Introduction In this tutorial we will check …

ESP32 Arduino: Getting DS18B20 sensor unique identifier

In this tutorial we will learn how to fetch the unique identifier of a DS18B20 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. Introduction In this tutorial we will learn how to fetch the unique identifier of a DS18B20 sensor, …

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. Introduction In this tutorial we will check how to obtain temperature measurements from a DHT22 sensor …

ESP8266 Arduino: Getting temperature and humidity with a DHT22 sensor

In this tutorial we will check how to get temperature and humidity measurements from a DHT22 sensor, with the Arduino IDE running on the ESP8266. The tests were performed using a DFRobot’s ESP8266 FireBeetle board and a DFRobot DHT22 module. Introduction In this tutorial we will check how to get temperature and humidity measurements from a DHT22 sensor, with the …

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 …

ESP32 Arduino: Getting temperature from a DHT22 sensor

In this ESP32 tutorial, we will check how to get temperature measurements on the Arduino core running on the ESP32, using a DHT22 temperature and humidity sensor. The tests were performed using a DFRobot’s ESP32 module integrated in a ESP32 development board.   Introduction In this ESP32 tutorial, we will check how to get temperature measurements on the Arduino …