Category Archives: ESP32

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 … Continue reading

Posted in ESP32 | Tagged , , , , , , , | Leave a comment

ESP32 Arduino: Getting humidity measurements from a DHT22 sensor

In this tutorial, we will check how we can get humidity measurements from a DHT22 sensor, with the Arduino core running on the ESP32. To make the interaction with the sensor easier, I’m using a DFRobot DHT22 module which has all the additional … Continue reading

Posted in ESP32 | Tagged , , , , , , , | Leave a comment

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.

Posted in ESP32 | Tagged , , , , , , , | 2 Comments

ESP32 Arduino: Encryption using AES-128 in ECB mode

In this tutorial, we are going to check how to use AES-128 in ECB mode, using the Arduino core running on the ESP32 and the mbed TLS library. The tests were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board.

Posted in ESP32 | Tagged , , , , , , | Leave a comment

ESP32 Arduino: Using structs as items in FreeRTOS queues

In this ESP32 tutorial we will check how to use structs as items in FreeRTOS queues. This will allow us to store more complex messages in queues, facilitating the process of inter-task communication. The tests were performed using a DFRobot’s ESP-WROOM-32 device integrated … Continue reading

Posted in ESP32 | Tagged , , , , | Leave a comment

ESP32 / ESP8266 Arduino: Initializer list

The objective of this post is to explain how to use an initializer list to initialize data members of a class. The tests on the ESP32 were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. The tests on the ESP8266 were performed … Continue reading

Posted in ESP32, ESP8266 | Tagged , , , , , , | Leave a comment

ESP32 / ESP8266: Class constructors

The objective if this post is to give an introduction on class constructors. The tests on the ESP32 were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. The tests on the ESP8266 were performed on a DFRobot’s ESP8266 FireBeetle board.

Posted in ESP32, ESP8266 | Tagged , , , , , , , , | 1 Comment