Close

Updated firmware, footprints and symbols and stuff.

A project log for bATtiny Guard - Power Management module

Power management module in a small SMT package with 4+16 ADC channels, 2A battery charger, low on resistance output MOSFET and more

erikedrtechErik@EDrTech 08/26/2024 at 09:490 Comments

The default firmware for the module got an update. Now it works based on interrupts, so the cpu is in standby mode most of the time which has major power saving benefits. It wakes up once a second to do the readings and send them over serial, this works by using RTC overflow interrupt. Also it's waken up by pressing the buttons which starts a timer which tracks how long the buttons have been pressed to realize a smooth on/off operation.



Future firmware upgrades include a full separate i2c interface so Attiny can be accessed easily externally while also being a master for on-board devices.

Aside from firmware, EAGLE and KiCad footprints have been added.

Discussions