← All clocks

ESP-KVM is free, open-source firmware that turns an ESP32-P4 board into an IP-KVM: another computer's screen, keyboard and mouse in your browser, from the BIOS up. The M5Stack Unit RTC is an optional extra: a battery-backed clock that keeps the time across a power cut. What it does → Try the demo →

M5Stack Unit RTC
Clock (optional)

M5Stack Unit RTC

An RTC8563 (a PCF8563 twin) with its battery inside and a Grove connector.

StatusRun on hardware
FamilyAll M5Stack parts
ChipRTC8563, at 0x51
ConnectorGrove (HY2.0-4P), cable in the box
Power5V; its own 3.3 V regulator, and the I2C pull-ups go to that
Batterybuilt in
Settingfound by itself, also on the display's Grove bus
Firmware0.61.0 or newer to be found by itself

M5Stack docs

On the M5Stack Unit PoE-P4 it goes on the Grove port next to a status display (through a Grove hub) and is found by itself: "Auto" looks on the display's bus too. On other boards it is four wires: 5V, GND, SDA and SCL. Its pull-ups go to its own 3.3 V, so 5V on VCC is safe for the ESP32-P4.

Run on the Unit PoE-P4 beside a Unit OLED. Two things kept it from being found before 0.61.0, both fixed: its BM8563 reads one bit of the timer register differently from the NXP PCF8563, and a new one holds no valid time until the device first sets it. On older firmware, pick "PCF8563" under Settings → System → Clock, choose "own pins" and name the display's two pins.

Fits these boards