Tag Archives: Internet of Things

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

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

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

Posted in ESP32 | Tagged , , , , , , , | 1 Comment

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.

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

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

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

ESP32 Arduino Bluetooth Classic: Controlling a relay remotely

In this tutorial we will check how to control a relay remotely using serial communication over Bluetooth Classic. 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.

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

ESP32 Arduino: DHT22 Minimum Sampling Period

In this tutorial we will check how to get the minimum sampling period of the DHT22 and how to use it to make some temperature measurements without crossing the maximum sampling rate. To facilitate the interaction with the sensor, I’m using … Continue reading

Posted in ESP32 | Tagged , , , , , , , | 1 Comment

ESP32 Arduino: Getting humidity measurements from a DHT22 sensor

In this tutorial, we will check how we can get humidity measurements from a DHT22 sensor, with the Arduino core running on the ESP32. To make the interaction with the sensor easier, I’m using a DFRobot DHT22 module which has all the additional … Continue reading

Posted in ESP32 | Tagged , , , , , , , | 1 Comment