ESP32 Arduino HTTP server: Template processing

In this tutorial we will check how to use the template processing features of the async HTTP webserver libraries for the ESP32. The tests were performed using a DFRobot’s ESP32 module integrated in a ESP32 development board. Introduction In this tutorial we will check how to use the template processing features of the async HTTP webserver libraries for the …

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 …

Raspberry Pi Flask: Receiving HTTP GET Request from ESP32

In this tutorial we will check how to setup a very simple Flask server on the Raspberry Pi and send HTTP GET requests to it from an ESP32 running the Arduino core. This tutorial was tested on a Raspberry Pi 3 model B+, running version 4.9 of Raspbian, and on a DFRobot’s ESP32 module integrated in a ESP32 development board. Introduction In this …

ESP32 JavaScript Espruino: String interpolation

In this tutorial we will check how to perform string interpolation in Espruino running on the ESP32. The tests were performed using a DFRobot’s ESP32 module integrated in a ESP32 development board. Introduction In this tutorial we will check how to perform string interpolation in Espruino running on the ESP32. It's important to mention that string interpolation is a …

ESP32 / ESP8266 Arduino: Conditional operator

In this tutorial we will analyze how to use the C++ conditional operator, also known as the ternary operator, on the Arduino core running both on the ESP32 and on the ESP8266. 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 …

ESP32 / ESP8266 Arduino: Bitwise AND operator

In this guide, we will check how to use the bitwise AND operator on the Arduino core, running on the ESP32 and on the ESP8266. 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. Introduction In this guide, we will …

ESP32 Espruino: Adding properties to previously created object

In this tutorial we will check how to add properties to a previously created object using Espruino on the ESP32. The tests were performed using a DFRobot’s ESP32 module integrated in a ESP32 development board.   Introduction In this tutorial we will check how to add properties to a previously created object using Espruino on the ESP32.   Recall that Espruino is a JavaScript interpreter, so we can use many of the language features on our ESP32.   …