DietSerial

An alternative to Serial that saves up to 167 bytes of RAM, for Uno, Nano, Pro Mini, breadboard Arduinos.

Author
Greg van Paassen
Website
https://github.com/gvp-257/DietSerial
Category
Communication
License
MIT
Library Type
Contributed
Architectures
avr

Supports all standard print functions, F() macro, PROGMEM strings, but not String objects; has binary data reading and text reading functions. Not quite a drop-in replacement for Serial. Has a few little extras. Uses the watchdog timer for receive timeout. If you only need to send text (e.g. for logging or debugging), consider SendOnlySerial instead of DietSerial. It uses less flash (program memory) and even less RAM.

Downloads

Filename Release Date File Size
DietSerial-1.0.1.zip 2025-09-25 31.06 KiB
DietSerial-1.0.0.zip 2025-09-25 30.20 KiB