PD Micro

by Ryan Ma

Arduino Pro Micro functionality and pinout with 5-20 V power delivery through USB-C

View all updates Jan 14, 2021

Improved RAM usage and status logging

by Ma Ho Yuen

Optimize RAM usage by AVR MCU

The recently updated PPS features increased RAM usage to nearly 50%. We’ve found about one-third of RAM is used by const variables. Unlike a 32-bit MCU, the AVR MCU needs specific macros and functions to store and access constants from flash. We carefully implemented those while keeping the library platform-independent. The result is a reduction of RAM usage from 1223 bytes (47%) to 736 bytes (28%).

Log status to the serial port

The status logging feature is now fully functional. It logs the library status, source capabilities, and protocol packet name with timestamps in milliseconds for serial port traffic. The logging mechanism is designed to have minimal impact on PD timing.

For more information about usage, please visit our GitHub repository.

About the Author

Ma Ho Yuen


$14,712 raised

of $2,800 goal

525% Funded!

Pledge Now

$28

PD Micro

One PD Micro, one set of pin headers, and one Molex 3.5 mm screw terminal jack


$49

2x PD Micro

Two PD Micros, two sets of pin headers, and two Molex 3.5 mm screw terminal jacks


$92

4x PD Micro

Four PD Micros, four sets of pin headers, and four Molex 3.5 mm screw terminal jacks

Credits

Ryan Ma


Ma Ho Yuen

See Also

Subscribe to the Crowd Supply newsletter, highlighting the latest creators and projects: