A quick benchmark to show the performance differences between Json and MsgPack using ArduinoJson.
2021-Jul: MOVED TO https://github.com/fabianoriccardi/benchmark-json-messagepack
A quick benchmark to show the performance differences between Json and MsgPack using ArduinoJson.
2021-Jul: MOVED TO https://github.com/fabianoriccardi/benchmark-json-messagepack
The very first time I setup all this stuff on Windows I struggled for a while. Since I don't want to rely on my memory either I would repeat the same errors, I'm writing the procedure to get everything working.
I will assume that the Visual Studio Code, MSYS2, Arduino IDE, and the ESP8266 or ESP32 platforms are already installed. Also, I assume that you know how to use makeEspArduino to compile an Arduino sketch.
Before starting, let me explain why we are facing all this. The objective is to create a modern development environment for Arduino with the following requirements
In this gist, I report some current consumption measurements I had performed on DevKitC-02 and DevKitM-1, the official devkits from Espressif based on MCU ESP32-C3. The following measurements are far from comprehensive, but they may give you an idea about these devkits.
A bench power supply regulated at 5V powered the boards. I didn't use the USB connector, but direct pins. I used Arduino Core for ESP32 (version 2.0.0-alpha1). The firmware starts by disabling WiFi and BLE (they will be investigated in the future).