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.

Continue reading “ESP32 Protocol buffers: Encoding a DS18B20 temperature measurement”

Advertisements

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.

Continue reading “ESP32 Arduino: Getting DS18B20 sensor unique identifier”

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”