ESP32 Espruino DHT22: Getting temperature and humidity

In this tutorial we will check how to get temperature and humidity measurements from a DHT22 sensor using Espruino, running on the ESP32. 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 temperature and humidity measurements from a DHT22 sensor using Espruino, …

ESP32 Espruino: Get SDK version, free heap and software reset

In this tutorial we will check how to use some ESP32 specific functionalities on Espruino. We will analyze how to obtain the SDK version, the number of free bytes available on the heap and how to perform a software reset on the device. The tests from this tutorial were performed using a DFRobot’s ESP32 module integrated in a ESP32 …

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 Espruino: Converting an object to a JSON string

In this tutorial, we will check how to convert an object to a JSON string using Espruino on the ESP32. 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 convert an object to a JSON string using Espruino on the ESP32. JSON …

ESP32 Espruino: Listing property names of objects

In this tutorial, we will check how to obtain the property names of a JavaScript object created on Espruino, running on the ESP32. 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 obtain the property names of a JavaScript object created on Espruino, …

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 …