Skip to content

RTC Interface

The Rhino Pi-A1 features an onboard RTC interface for installing a backup battery.

CR2032 (225mAh) is recommended.

Hardware Connection

Install a CR2032 battery into the RTC interface of the Rhino Pi-A1, paying attention to the positive and negative terminals of the battery during installation.

Note

You can refer to the Hardware Information tutorial to locate the corresponding hardware interface.

Using RTC

  • Display system time

Use the date command to display the current system time.

bash
date
  • Write system time to the hardware clock
shell
sudo hwclock --systohc
  • Display the hardware clock
shell
sudo hwclock

Verifying RTC Function

Record the current system time, then disconnect the motherboard power and network, wait about 10 minutes, then reconnect the power and observe whether the system time is still tracking correctly.