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 Arduino: Obtaining MAC address of stations connected to soft AP

In this tutorial we will check how to obtain the number of stations connected to a soft AP  hosted by the ESP32, running the Arduino core. We will also obtain their MAC addresses.  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 …

ESP32 Socket Server: Controlling a relay remotely

In this tutorial we will check how to control a relay connected to the ESP32 remotely, using sockets. The code will be developed using the Arduino core. The tests of this ESP32 tutorial were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board and a DFRobot relay board. Introduction In this tutorial we will check how to control a relay …

Raspberry Pi 3 Raspbian: Exposing a Flask server to the local network

In this tutorial we will check how to expose a Flask server to the local network, so it can be reached from clients connected to that same network. This tutorial was tested on a Raspberry Pi 3 model B+, running version 4.9 of Raspbian, installed using NOOBS. Introduction In this tutorial we will check how to expose a Flask server …

ESP32 Socket Server: Connecting from a Putty socket Client

In this tutorial, we will check how to setup a socket server on the ESP32 and how to contact it using Putty as a socket client. The code will be implemented on the Arduino core 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 …

ESP32 Arduino: Temperature, humidity and CO2 concentration web server

In this ESP32 tutorial we will check how to develop a HTTP web server that will expose an API for clients to retrieve measurements of temperature, humidity and CO2, using a CO2 sensor and a DHT22 temperature and humidity sensor. The tests were performed using a DFRobot’s ESP32 module integrated in a ESP32 development board. Introduction In this ESP32 …