LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 07-07-2020, 06:10 AM   #1
Desiderius
Member
 
Registered: Jun 2017
Location: France
Distribution: Slackware
Posts: 155

Rep: Reputation: Disabled
Install a DS3231 RTC for Slackware ARM on the Raspberry Pi


Hi all

I would want to install a DS3231 RTC on my RPI.

I have red the project from Exaga :

https://sarpi.fatdog.eu/index.php?p=chronodot-rtc

So I have tried to purchase a Chronot in an online shop.

This shop sends me an email saying that they cannot get Chronodot from Adafruit but saying that I can use this RTC available by Adafruit :

https://www.adafruit.com/product/3013

Is it true ? This product can be used for this project ?

Desiderius
 
Old 07-07-2020, 10:17 PM   #2
eduardr
Member
 
Registered: Sep 2011
Distribution: Slackware64 15.0+ (-current)
Posts: 120

Rep: Reputation: Disabled
Do you want a project (make your own clock module with soldering iron) or do you just want a clock for your Raspberry Pi computer?

If you just want a clock module ready to plug in, then some options:

Highly accurate: Adafruit PiRTC - Precise DS3231 (does NOT fit in official Raspberry Pi 4 case)
https://www.adafruit.com/product/4282

Cheaper: Adafruit PiRTC - PCF8523 (does NOT fit in official Raspberry Pi 4 case)
https://www.adafruit.com/product/3386

Smaller profile (fits in official Raspberry Pi 4 case): RasClock
(available at various online vendors - Amazon, PiShop etc)

Various other options out there, but the ones above I'm using and work well.
 
Old 09-16-2020, 05:56 AM   #3
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware ARM, AArch64
Posts: 1,067

Rep: Reputation: 685Reputation: 685Reputation: 685Reputation: 685Reputation: 685Reputation: 685
Quote:
Originally Posted by Desiderius View Post
This shop sends me an email saying that they cannot get Chronodot from Adafruit but saying that I can use this RTC available by Adafruit :

https://www.adafruit.com/product/3013

Is it true ? This product can be used for this project ?
Hi Desiderius. I really don't know how I missed your post until now, as it's about one of my favourite ARM-related common topics... Real Time Clocks! <3

The "ChronoDot" is just a DS3231 controller chip mounted on a circular PCB and given a cheesy name. In essence it's no different to most other RTCs that feature the same chip. In order to connect this Adafruit RTC (I2C) to a Raspberry Pi you're going to find it just as easy as if it were a ChronoDot. So, yes this https://www.adafruit.com/product/3013 RTC can certainly be used - and dozens of other RTC like it or similar.

I have quiet a lot of different RTCs which I've used and tested on various ARM devices. The ones I favour most are DS3231-based which accommodate CR2032 button batteries - like this - because the forget-about-maintenance period is much greater in terms of battery capacity. Plus you can just change the battery if/when it does eventually drain. It's also possible to fit a rechargeable battery and power the RTC from the 5v pin (instead of the 3.3v pin) so you may never have to change the battery again. The DS3231 is designed to use anything from 3-5.5v if memory serves me correctly.

When selecting an appropriate RTC device for the raspberry Pi, just make sure it uses the I2C interface and has connectors for PWR (VCC), GND, SDA, SCL - those are the only 4 you need. My advice would always be to stay away from the DS1307 RTCs because they can be hit-and-miss affair when it comes to accuracy of keeping time. The DS3231 is vastly more accurate and generally drifts by just a few seconds a year - if that! All my running ARM devices have some form of DS3231-based RTC installed.

Last edited by Exaga; 09-16-2020 at 06:42 AM. Reason: found a better deal on Amazon! wooohoo ^5
 
1 members found this post helpful.
Old 09-17-2020, 05:40 AM   #4
Desiderius
Member
 
Registered: Jun 2017
Location: France
Distribution: Slackware
Posts: 155

Original Poster
Rep: Reputation: Disabled
Re : Install a DS3231 RTC for Slackware ARM on the Raspberry Pi

Thanks for your answer @Exaga !

In the mean time, I have succedded to buy the ChronoDot !

SO I will follow the instructions of your tutorial

Quote:
Originally Posted by Exaga View Post
Hi Desiderius. I really don't know how I missed your post until now, as it's about one of my favourite ARM-related common topics... Real Time Clocks! <3

The "ChronoDot" is just a DS3231 controller chip mounted on a circular PCB and given a cheesy name. In essence it's no different to most other RTCs that feature the same chip. In order to connect this Adafruit RTC (I2C) to a Raspberry Pi you're going to find it just as easy as if it were a ChronoDot. So, yes this https://www.adafruit.com/product/3013 RTC can certainly be used - and dozens of other RTC like it or similar.

I have quiet a lot of different RTCs which I've used and tested on various ARM devices. The ones I favour most are DS3231-based which accommodate CR2032 button batteries - like this - because the forget-about-maintenance period is much greater in terms of battery capacity. Plus you can just change the battery if/when it does eventually drain. It's also possible to fit a rechargeable battery and power the RTC from the 5v pin (instead of the 3.3v pin) so you may never have to change the battery again. The DS3231 is designed to use anything from 3-5.5v if memory serves me correctly.

When selecting an appropriate RTC device for the raspberry Pi, just make sure it uses the I2C interface and has connectors for PWR (VCC), GND, SDA, SCL - those are the only 4 you need. My advice would always be to stay away from the DS1307 RTCs because they can be hit-and-miss affair when it comes to accuracy of keeping time. The DS3231 is vastly more accurate and generally drifts by just a few seconds a year - if that! All my running ARM devices have some form of DS3231-based RTC installed.
 
Old 09-17-2020, 08:21 AM   #5
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware ARM, AArch64
Posts: 1,067

Rep: Reputation: 685Reputation: 685Reputation: 685Reputation: 685Reputation: 685Reputation: 685
Quote:
Originally Posted by Desiderius View Post
Thanks for your answer @Exaga !

In the mean time, I have succedded to buy the ChronoDot !

SO I will follow the instructions of your tutorial
Hi Desiderius, the ChronoDot was the first RTC I bought for an ARM device - back in 2012 - because it seemed "fun to have to solder the pins on yourself" and plug it in, etc. Plus it had a replaceable battery and so fit my needs perfectly. Through time I've learned that in terms of build-quality it's one of the best, compared to most alternatives, and performance is comparable with other DS3231SN RTCs which you would expect. For sure, the DS3231 controller chip is consistently accurate.

The ChronoDot-RTC guide to install it needs updating, as it's been around for a few years and was designed around the RPi (1). However, it will enable you to install and configure the system to use the RTC on any Raspberry Pi device running Slackware ARM. Once you've done it with the ChronoDot, it's pretty much the same procedure for other RTCs. So you can practically buy any I2C RTC to use with your Slackware ARM devices.

I hope you have lots of fun.
 
Old 09-20-2020, 06:09 AM   #6
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware ARM, AArch64
Posts: 1,067

Rep: Reputation: 685Reputation: 685Reputation: 685Reputation: 685Reputation: 685Reputation: 685
Quote:
Originally Posted by Desiderius View Post
SO I will follow the instructions of your tutorial
Take a look at this photo of one of my more adventurous RTC solutions...

https://imgur.com/mfw7JO5

Just an example of applying a little D.I.Y. for when the battery on these cheap RTCs finally dies. I didn't want to give this one up because it's a great timekeeper!

This RTC is still working perfectly in one of my Raspberry Pis.
 
1 members found this post helpful.
Old 01-13-2021, 10:03 AM   #7
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware ARM, AArch64
Posts: 1,067

Rep: Reputation: 685Reputation: 685Reputation: 685Reputation: 685Reputation: 685Reputation: 685
As a follow-up to the DS3231 "ChronoDot". This RTC advertises that "the CR1632 battery should maintain timekeeping for 8 years."

I'm very pleased to say the advertising claims are quite accurate. It's been almost 8 years exactly since I purchased the ChronoDot real time clock, and I have used it on quite a few ARM devices during that time. Over the past few days I've noticed this RTC has not been keeping accurate time. So a new CR1632 has been installed, which is the first change of battery since it was first used early in 2013.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] KODI Leia - 18.x MediaPlayer - Optimized for Raspberry Pi1/Zero/Pi2B/Pi3B(+) on Slackware ARM 14.2 SF & Slackware ARM - current HF abga Slackware - ARM 25 04-29-2020 06:43 PM
[SOLVED] KODI Krypton - 17.x MediaPlayer - Optimized for Raspberry Pi1/Pi2/Pi3 on Slackware ARM 14.2 SF & Slackware ARM - current HF abga Slackware - ARM 40 08-28-2018 09:50 PM
DS3231 RTC installation guide for RPi updated Penthux Slackware - ARM 13 12-12-2016 07:34 AM
HOW TO Install a ChronoDot RTC on Slackware ARM Linux on a Raspberry Pi Penthux Slackware 0 10-16-2013 10:44 PM
RTC Alarm wakes up, even while BIOS has RTC alarm disabled mastermind2501 Linux - Newbie 2 12-22-2008 04:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 06:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration