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 …

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 mbed TLS: using the SHA-256 algorithm

In this tutorial we will check how to generate the hash of a string using the SHA-256 algorithm on the Arduino core running on the ESP32, with the mbed TLS libraries. 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 generate the hash of …