How to perform CBOR serialization and deserialization, using the ESP32, the Arduino core and the Nlohmann/json library.
Node.js: Converting Array to Buffer
Converting an integer array to a Node.js Buffer.
ESP32 Arduino: Exporting binary file of compiled sketch
How to generate and export a binary file from an ESP32 Arduino sketch.
ESP32 Websocket server: Sending binary frame to client
In this tutorial we will check how to send binary frames to a client that connects to websocket endpoint from a HTTP server 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 send binary frames to a client that …
Continue reading "ESP32 Websocket server: Sending binary frame to client"
Python websocket client: sending binary content
In this tutorial we will check how to send data in binary frames from a Python websocket client. Introduction In this tutorial we will check how to send data in binary frames from a Python websocket client. We will only develop the client and we will send the messages to this echo server, which should …
Continue reading "Python websocket client: sending binary content"
ESP32 Protocol buffers: Encoding a DS18B20 temperature measurement
In this tutorial we will check how to obtain a measurement from the DS18B20 temperature sensor and encode it using protocol buffers. We will be using the ESP32 and the Arduino core. The tests were performed using a DFRobot’s ESP32 module integrated in a ESP32 development board and a waterproof version of the sensor. Introduction In this tutorial we will check …
Continue reading "ESP32 Protocol buffers: Encoding a DS18B20 temperature measurement"
ESP32 / ESP8266 Arduino: Protocol Buffers
In this tutorial we will learn how to get started using Protocol Buffers with the Arduino core, both 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 tutorial we …
Continue reading "ESP32 / ESP8266 Arduino: Protocol Buffers"
ESP32 / ESP8266 Arduino: Printing numbers to serial in different bases
In this tutorial, we will check how we can print numbers to the serial port using different bases, more specifically in binary, octal and hexadecimal. 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 tutorial, we will …
Continue reading "ESP32 / ESP8266 Arduino: Printing numbers to serial in different bases"
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 …
Continue reading "ESP32 / ESP8266 Arduino: Bitwise AND operator"