Serializing DS18B20 temperature measurement to MessagePack format, using the ESP32 and the Arduino core.
ESP32 ArduinoJson v6: Serializing JSON
How to serialize JSON on the ESP32, using the ArduinoJson library.
ESP32: Sending JSON messages over MQTT
The objective of this post is to explain how to send JSON messages over MQTT using the ESP32. Introduction The objective of this post is to explain how to send JSON messages over MQTT using the ESP32. To do so, we will be using two libraries that handle the low level details and expose us …
ESP32: Parsing JSON
The objective of this post is to explain how to parse JSON messages with the ESP32 and the ArduinoJson library. Introduction The objective of this post is to explain how to parse JSON messages with the ESP32 and the ArduinoJson library. We assume a previous installation of the ESP32 support for the Arduino IDE. If …
ESP8266: Posting JSON data to a Flask server on the cloud
The objective of this post is to explain how to make a POST request containing JSON data to a cloud server, with the ESP8266. The cloud server will be implemented using Flask and will be hosted in Pythonanywhere. Introduction The objective of this post is to explain how to make a POST request containing JSON …
Continue reading "ESP8266: Posting JSON data to a Flask server on the cloud"
ESP8266: Encoding JSON messages
The objective of this post is to explain how to encode a JSON message using the ArduinoJson library. Introduction The objective of this post is to explain how to encode a JSON message in the ESP8266, using the ArduinoJson library. We assume that the ESP8266 libraries for the Arduino IDE were previously installed. You can check how …