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: Timer interrupts

The objective of this post is to explain how to configure timer interrupts for 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 configure timer interrupts for MicroPython running on the ESP32. For more information on the …