ESP32 JavaScript Espruino: String interpolation

In this tutorial we will check how to perform string interpolation in 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 perform string interpolation in Espruino running on the ESP32. It's important to mention that string interpolation is a …

ESP32 Espruino: Adding properties to previously created object

In this tutorial we will check how to add properties to a previously created object 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 add properties to a previously created object using Espruino on the ESP32.   Recall that Espruino is a JavaScript interpreter, so we can use many of the language features on our ESP32.   …

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 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 Espruino: Creating simple JavaScript objects

The objective of this post is to explain how to create objects on Espruino using the JavaScript object initializer notation. The tests were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. Introduction The objective of this post is to explain how to create objects on Espruino using the JavaScript object initializer notation. Using this notation, …

ESP32 Espruino: convert number to string in different bases

The objective of this post is to explain how to convert a number to string in different bases, using the Espruino on the ESP32. The tests were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. Introduction The objective of this post is to explain how to convert a number to string in different bases, using the …