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 …

ESP32 Arduino: Alarm with PIR motion sensor and buzzer

In this tutorial we will check how to create a very simple alarm system with a buzzer and a PIR motion sensor. We will be using the Arduino core, running on the ESP32. The tests were performed using a DFRobot’s ESP32 module integrated in a ESP32 development board, and a DFRobot’s PIR sensor module.   Introduction In this tutorial we …

ESP32 Arduino: PIR motion sensor and interrupts

In this tutorial we will check how to interact with a PIR motion sensor using an interrupt based approach, using the Arduino core running on the ESP32. The tests were performed using a DFRobot’s ESP32 module integrated in a ESP32 development board, and a DFRobot’s PIR sensor module. Introduction In this tutorial we will check how to interact with …

ESP32 MicroPython: External interrupts

The objective of this post is to explain how to use external pin interrupts on MicroPython running on the ESP32. The tests were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board.   Introduction The objective of this post is to explain how to use external pin interrupts on MicroPython running on the ESP32. Please note …

ESP32 Arduino: External interrupts

The objective of this post is to explain how to handle external interrupts using the ESP32 and the Arduino core. The tests were performed on a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. Introduction The objective of this post is to explain how to handle external interrupts using the ESP32 and the Arduino core. The tests were performed …