Jump to content

Recommended Posts

Posted

I'm unable to make an RTC module to work:
RTC module ds3231, BPI M2Z and ARMBIAN Bookworm
i2c pins 3 and 5
Driver RTC-ds1307 loaded, because RTC-ds3231 is not available.

 

Why do I need a RTC-module?

Often in the field I'm not online but I do need the right time on my observation camera's.

My application does not allow me for having a monitor.

My system does the recordings by motion detection, and the recordings do need the right time on it. 

 

armbian-config
i2c0 set

 

Tools installed:

apt install python3-smbus i2c-tools

 

i2cdetect -y 0
Detects address 068 and not UU as proof of driver been loaded

 

File "hwclock-set" adapted

#if [ -e /run/systemd/system ] ; then

# exit 0

#fi

 

Fake hwclock removed

sudo apt -y remove fake-hwclock

sudo update-rc.d -f fake-hwclock remove

 

armbianEnv.txt
overlay and dtoverlay correctly set

 

modules.conf added:
rtc-ds1307

 

Still, after a power down, the hardware clock shows 1970 as the date

The same module tested on my RPi Zero 2W, and all is working perfect.

 

If somebody can help me, that would be wonderful.

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines