M5Stack Timer Power Unit with OLED Display (INA3221)


Description

The TimerPWR Unit is a timed power supply unit whose main functions are "charging & discharging + timed switching + screen display + boost output." It features an internal STM32 microcontroller that implements RTC and overall control, allowing users to set automatic power on/off times as needed. It is powered via the Type-C interface and can be connected to an external rechargeable battery via a 1.25-2P interface. The unit includes a built-in battery charging circuit supporting a charging current of 330mA. It also features an integrated DCDC boost circuit that provides a 5V/800mA (1400mA @ 1C battery power) power output to external devices via the Grove port. Additionally, the INA3221 sensor is built-in, allowing real-time monitoring of power input and output current and voltage. The unit is equipped with a 0.66-inch OLED display and two side buttons for user interaction, making it easy to view real-time system status and modify settings. Users can set parameters such as power on/off using the side buttons or via the I2C bus through the Grove interface with I2C commands. This product is suitable for smart homes, industrial automation, and timed control devices.

Features

  • RTC cycle timing control

  • Battery power supply

  • Built-in DCDC boost circuit

  • Current/voltage monitoring

  • OLED display

  • Grove interface

  • Button-controlled power on/off mode

Applications

  • Timed control devices

  • Portable electronic devices

  • Powering sensor nodes

Specifications

Specification
Parameters

MCU

STM32G031G8U6

Input Voltage

Supports 5V DC input (via Type-C interface)

Output Voltage

Built-in DCDC boost circuit, output 5V for external devices

Battery Power Supply

3.7V Polymer Lithium Battery

Display Screen

0.66-inch OLED display, resolution 64x48, SPI communication

Interfaces

Type-C interface: for battery charging (cannot power Grove port directly) Grove interface: for external sensors and modules, supports communication and power output Battery interface: 1.25mm@2P

I2C Communication Address

0x56

Current Sensor

INA3221

Charging Current

DC5V@330mA

Charging Chip

LGS4056H

Charging Temperature

55°C

Grove Port Max Current Output

Dependent on battery capacity and discharge ability, e.g.: 1400mAh@1C 3.7V: DC4.96V@800mA 500mAh@1C 3.7V: DC4.97V@700mA 110mAh@1C 3.7V: DC5.03V@400mA

Standby Current

DC4.2V@36.67uA

Operating Temperature

0-40°C

Product Dimensions

40*24*11mm

Package Dimensions

136*92*14mm

Product Weight

7.6g

Package Weight

12.9g

Schematic

PinMap

  • PORT A Interface

PORT A
SCL
SDA
VCC
GND

Core (Basic)

G22

G21

5V

GND

Core2

G33

G32

5V

GND

CoreS3

G1

G2

5V

GND

Atom Lite / Atom Matrix

G21

G25

5V

GND

AtomS3 / AtomS3 Lite

G1

G2

5V

GND

StickC PLUS / PLUS2

G33

G32

5V

GND

  • I2C\LED\BUTTON

STM32G031G8U6
PB6
PB7
PA11
PA12
PB4
PA0
PA4

I2C1(GROVE)

SCL1

SDA1

I2C2(INA3221)

SCL2

SDA2

LED(Charging indicator)

CHAG

Button A

BTN_A

Button B

BTN_B

  • OLED

STM32G031G8U6
PA2
PA1
PA6
PA7
PB0
PB1

OLED

OLED_MOSI

OLED_SCK

OLED_DC

OLED_RST

OLED_CS

BL_EN

Module Size

Protocol

Last updated