ESP32 / ESP8266 Arduino: Bitwise AND operator

In this guide, we will check how to use the bitwise AND operator on the Arduino core, running on the ESP32 and on the ESP8266. The tests on the ESP32 were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. The tests on the ESP8266 were performed on a DFRobot’s ESP8266 FireBeetle board. Introduction In this guide, we will …

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 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, …