SerialDebug: Boost Arduino Debugging with Advanced Serial Logging
Components and supplies
 | | × | 1 | |
 | | × | 1 | |
 | | × | 1 | |
 | | × | 1 | |
 | | × | 1 | |
 | | × | 1 | |
 | | × | 1 | |
 | | × | 1 | |
 | | × | 1 | |
 | | NodeMCU ESP8266 Breakout Board |
| × | 1 | |
 | | × | 1 | |
 | | Adafruit Feather HUZZAH with ESP8266 WiFi |
| × | 1 | |
 | | × | 1 | |
 | | × | 1 | |
About this project
Improving debugging for the ArduinoModern development platforms, such as Android and iOS, has debug output with levels (verbose, debug,...).
ESP-IDF, the native SDK for ESP32, have it too.
Why levels on debug messages is important?Why do they allow you to set a level of each message, according to its importance, and it helps to filter important messages.
Why do not we have this for the Arduino?This motivated me to make a library for the Arduino.
How to improve this? SerialDebug library, which improve debugging for Arduino, with levels and more.
To improve more the debugging for Arduino, I made one desktop app for SerialDebug library, the SerialDebugApp. This is optional, due not dependency between this app and library. You choice, can use serial monitor of Arduino IDE or this app:
Please access the github repo for more informations:
https://github.com/JoaoLopesF/SerialDebug
Code
SerialDebug library
SerialDebug library for Arduinohttps://github.com/JoaoLopesF/SerialDebugSchematics
The board can be can be any one, como: Uno, Mega, Due, MKR, Esp8266, Esp32, Teensy. Except for Avr Tiny. The led is optional