Project tutorial
SerialDebug: Improving Debug to Arduino

SerialDebug: Improving Debug to Arduino © MIT

Improved serial debugging, with debug levels and simple software debugger, to see/change global variables, add watch, or call a function.

  • 4,443 views
  • 6 comments
  • 29 respects

Components and supplies

Apps and online services

About this project

Improving debugging for the Arduino

Modern 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.

SerialDebug library in serial monitor of Arduino IDE

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:

Youtube

Please access the github repo for more informations:

https://github.com/JoaoLopesF/SerialDebug

Code

SerialDebug library
SerialDebug library for Arduino

Schematics

Only Arduino board is need
The board can be can be any one, como: Uno, Mega, Due, MKR, Esp8266, Esp32, Teensy. Except for Avr Tiny. The led is optional
Arduino yb5rv7ptag

Comments

Similar projects you might like

Embedis: Project Keystore Library

by Team thingSoC

  • 2,025 views
  • 1 comment
  • 8 respects

Arduino-ESP WiFi Integration

Project in progress by Turai Botond

  • 10,008 views
  • 11 comments
  • 54 respects

Simple UNO calculator

Project tutorial by Joprp05

  • 12,914 views
  • 2 comments
  • 15 respects

ESP01 Webserver to Control Your Arduino UNO, Mega or Nano

Project tutorial by adamsstephen

  • 3,650 views
  • 3 comments
  • 15 respects

IoT Blink - Getting started with IoT

Project showcase by AppShed Support

  • 3,995 views
  • 1 comment
  • 19 respects
Add projectSign up / Login