Tag Archives: IoT

Raspberry Pi 3 Flask: Receiving HTTP POST Request from ESP32

In this tutorial we will check how to setup a simple Flask server on the Raspberry Pi and send HTTP POST requests to it from the ESP32. Then, we will access the body of the request on the Raspberry Pi. … Continue reading

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

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

Posted in ESP32, Raspberry Pi | Tagged , , , , , , , , , | 3 Comments

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

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

ESP8266 Arduino: Getting HTTP Response headers

In this post we are going to check how to obtain the headers of the response of an HTTP request, using the Arduino core on the ESP8266. The tests of this tutorial were performed using a DFRobot’s ESP8266 FireBeetle board.

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

ESP8266 Arduino: Socket Server

In this tutorial, we will check how to set a socket server on the ESP8266 running the Arduino core. As a socket client for testing, we will use Putty. The tests of this tutorial were performed using a DFRobot’s ESP8266 FireBeetle board.

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

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

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

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, … Continue reading

Posted in Raspberry Pi | Tagged , , , , , , , | 2 Comments