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 …

ESP32 websocket server: receiving binary frames

In this tutorial we will check how to receive binary frames from a websocket client in a server hosted by 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 receive binary frames from a websocket client in a server hosted by …

ESP32 Arduino FAT file system: Append content to file

In this tutorial we will check how to append content to a file created on the ESP32 FAT file system, using the Arduino core. 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 append content to a file created on the ESP32 FAT file …

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 …

ESP32 / ESP8266 Protocol Buffers: messages with strings

In this tutorial we will check how to use strings in our protobuf messages, using Nanopb and the Arduino core, running both 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 …

ESP32 Arduino: Getting DS18B20 sensor unique identifier

In this tutorial we will learn how to fetch the unique identifier of a DS18B20 sensor, 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 learn how to fetch the unique identifier of a DS18B20 sensor, …

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 …