In this tutorial we will learn how to detect shaking in a digital shaking sensor and debounce the signal produced by the sensor in our program. The tests were performed using a DFRobot’s ESP32 module integrated in a ESP32 development board. Introduction In this tutorial we will learn how to detect shaking in a digital shaking sensor and debounce the …
ESP32 Arduino: Digital shake sensor
On this tutorial we will check how to interact with a digital shake sensor, using the ESP32 and the Arduino core. The tests were performed using a DFRobot’s ESP32 module integrated in a ESP32 development board. Introduction On this tutorial we will check how to interact with a digital shake sensor, using the ESP32 and the Arduino core. …
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 …
Continue reading "ESP32 Arduino: Getting DHT22 sensor measurements with interrupts"
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 …
Continue reading "ESP32 Arduino: PIR motion sensor and interrupts"
ESP32: FreeRTOS counting semaphores
The objective of this post is to provide an introduction to FreeRTOS counting semaphores, using the ESP32 and the Arduino support. Introduction The objective of this post is to provide an introduction to FreeRTOS counting semaphores, using the ESP32 and the Arduino support. We assume a previous installation of the ESP32 support for the Arduino …