Skip to product information
1 of 6

M5Stack RTC Unit – HYM8563 I2C Real-Time Clock | U126

M5Stack RTC Unit – HYM8563 I2C Real-Time Clock | U126

LB-M5-U126

20 in stock
Regular price $6.90 USD
Sale price $6.90 USD Regular price $4.95 USD

Key Features

  • HYM8563 battery-backed real-time clock
  • I2C communication at default address 0x51
  • Tracks seconds, minutes, hours, weekday, date, month, and year
  • 32.768 kHz timekeeping crystal
  • Suitable for offline timestamping and scheduled control

The M5Stack RTC Unit provides battery-backed date and timekeeping for offline data loggers, scheduled controllers, clocks, access terminals, and embedded devices that must retain time while the main host is powered down. Its HYM8563 real-time clock communicates over I2C at address 0x51 and stores seconds, minutes, hours, weekday, date, month, and year. Firmware can read the clock at startup, synchronize it from a trusted network source, and continue timestamping local events when network access is unavailable.

Battery-Backed Timekeeping with the M5Stack RTC Unit

Maintain Date and Time During Host Power Loss

The backup supply allows the HYM8563 to continue counting when the main controller is switched off, so the host can recover a usable calendar time after restart.

Read Calendar Data over I2C Address 0x51

The host can read seconds, minutes, hours, weekday, date, month, and year through the Grove I2C connection. The documented I2C address is 0x51.

Synchronize Offline Logs with Network Time

A connected device can periodically correct the RTC from NTP, GNSS, or another trusted source, then use the local clock to timestamp measurements during network outages.

M5Stack RTC Unit Applications

  • Offline sensor and event data logging
  • Scheduled control and timed automation
  • Clocks, calendars, and information displays
  • Access, attendance, and check-in terminals
  • Network-independent timestamp retention

How to Integrate the M5Stack RTC Unit

  1. Connect the unit to a compatible Grove I2C port and confirm that address 0x51 is free.
  2. At first setup, write a trusted date and time to the RTC.
  3. On every startup, read the clock and validate the year and status before using timestamps.
  4. Store timestamps in a defined time zone or UTC and handle daylight-saving rules in application software.
  5. Periodically compare the RTC with a trusted reference and correct accumulated drift when necessary.

M5Stack RTC Unit Deployment Notes

  • A real-time clock reduces dependence on network time but still accumulates oscillator drift.
  • Validate clock data after long storage, battery replacement, or an invalid-status indication.
  • The RTC stores calendar values; time-zone and daylight-saving conversion belong in host software.
  • Keep the backup battery and unit away from excessive heat, moisture, and mechanical damage.
  • This module is not a precision timing reference for billing, legal metrology, or safety-critical synchronization.

M5Stack RTC Unit Development Resources

M5Stack RTC Unit – HYM8563 I2C Real-Time Clock | U126

$6.90 USD


Does it come with a warranty?

Add your collapsible row content here. If it's set to open one row at a time, consider keeping the content in each row about the same length.

What happens if I don't like it?

Add your collapsible row content here. If it's set to open one row at a time, consider keeping the content in each row about the same length.

How fast is shipping?

Add your collapsible row content here. If it's set to open one row at a time, consider keeping the content in each row about the same length.

What's the returns policy?

Add your collapsible row content here. If it's set to open one row at a time, consider keeping the content in each row about the same length.

Don’t Just Take Our Word for It

  • A Clearer Way to Get Started

    LogicBoundless made it much easier to understand which components worked together. The product information was clear, and I could move from an idea to a working prototype without wasting time on incompatible hardware.


    Verified Maker
    First-Time IoT Builder
  • Practical Support Beyond the Product

    What stood out was the practical guidance. The specifications, compatibility notes, and troubleshooting resources helped us choose the right hardware and solve development issues more efficiently.


    Verified Customer
    Embedded Systems Engineer
  • Making Hardware Easier to Learn

    The clear explanations and project-focused resources made complex hardware easier to understand. Instead of simply following instructions, learners could see how each component contributed to the complete system.


    Education Partner
    STEM Instructor
1 of 3