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

Advertisements
Posted in ESP32, Raspberry Pi | Tagged , , , , , , , , , | Leave a comment

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

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

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 FireBeetle board.
Continue reading

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

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.

Continue reading

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

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.

Continue reading

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

ESP32 Espruino DHT22: Getting temperature and humidity

In this tutorial we will check how to get temperature and humidity measurements from a DHT22 sensor using Espruino, running on the ESP32. The tests were performed using a DFRobot’s ESP32 module integrated in a ESP32 development board.

Continue reading

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

ESP32 Espruino: Get SDK version, free heap and software reset

In this tutorial we will check how to use some ESP32 specific functionalities on Espruino. We will analyze how to obtain the SDK version, the number of free bytes available on the heap and how to perform a software reset on the device. The tests from this tutorial were performed using a DFRobot’s ESP32 module integrated in a ESP32 development board.
Continue reading

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