ESP8266 Arduino: Getting temperature and humidity with a DHT22 sensor

In this tutorial we will check how to get temperature and humidity measurements from a DHT22 sensor, with the Arduino IDE running on the ESP8266. The tests were performed using a DFRobot’s ESP8266 FireBeetle board and a DFRobot DHT22 module. Introduction In this tutorial we will check how to get temperature and humidity measurements from a DHT22 sensor, with the …

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 Socket server: Getting remote client IP

In this ESP32 tutorial, we will check how to get the IP of a socket client that connects to a socket server hosted on the device, using the Arduino core. 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 get the IP …

ESP32 Arduino: Sending data with socket client

In this ESP32 tutorial we will check how to send data with a socket client on the Arduino core. The tests were performed using a DFRobot’s ESP32 module integrated in a ESP32 development board. Introduction In this ESP32 tutorial we will check how to send data with a socket client on the Arduino core. Since we will need to …