ESP32 Arduino web server: Receiving data from JavaScript websocket client

In this tutorial we will check how to setup a HTTP web server on the ESP32 that will have a websocket endpoint and that will serve a HTML file containing JavaScript code to establish a websocket connection to the server. The tests were performed using a DFRobot’s ESP32 module integrated in a ESP32 development board.
Continue reading “ESP32 Arduino web server: Receiving data from JavaScript websocket client”

ESP32 Arduino web server: Sending data to JavaScript client via websocket

In this tutorial we will check how to setup a HTTP web server on the ESP32, which will have a websocket endpoint and will serve a HTML page. The HTML page will run a simple JavaScript application that will connect to the server using websockets and periodically receive simulated temperature measurements from the server.

The tests from this tutorial were performed using a DFRobot’s ESP32 module integrated in a ESP32 development board.

Continue reading “ESP32 Arduino web server: Sending data to JavaScript client via websocket”

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 development board.
Continue reading “ESP32 Espruino: Get SDK version, free heap and software reset”