The Power Management HAT for Raspberry Pi has an Atmega 328 chip for Arduino IDE programming. You can use it to control the power of Raspberry Pi such as power on or off. There is also an RTC chip for real-time controlling.
The Power Management HAT is a smart power bank designed for Raspberry Pi. With the embedded Arduino MCU and RTC, the HAT features auto power management function which allows the Pi to work more power-efficient and more safely.
If you're looking for some convenient utilities for your long-term working Raspberry Pi, such as longer battery life, or auto power on-off control, this Power Management HAT would be the ideal choice.
By auto starting up on a specified period, and auto shutdown at other times, the HAT can greatly save battery life. It will monitor the operating voltage/current status of the Raspberry Pi in real-time and can be configured to shut the Pi down according to the operating status. What's more, it comes with a handy power switch for easy on or off (safely shutdown the Pi by software), to avoid data loss caused by unplugging the power supply.
2.MP1584 power manager
3.PCF8523 RTC chip
4.CP2102 UART converter
5.CAT24C32: EEPROM storage chip
6.Raspberry Pi GPIO connector: for connecting Raspberry Pi
7.PH2.0 connector: for 7~28V regulated power supply or lithium battery
8.USB TO UART: for power input or UART communication
DEBUG side: power supply will bypass the Arduino and directly provides to Raspberry Pi
the opposite side: power supply is managed by Arduino
10.PWR button: for Raspberry Pi power on/off, or user-defined function
11.RST button: Arduino reset
14.CR1220 button battery holder
A: access Arduino via USB to UART
B: control the Raspberry Pi by Arduino
C: access Raspberry Pi via USB to UART