Raspoootin
Posts: 12
Joined: Mon Apr 01, 2013 3:10 am

RTC That Just Works

Fri Apr 26, 2013 1:59 am

I need a RTC that I can install and the software to run it
is available via apt-get or is already included in the wheezy
distro. I'm not gonna go compile my own modules and source code.
So is there a clock that fits this?
I need plug-n-play.

scotty101
Posts: 3958
Joined: Fri Jun 08, 2012 6:03 pm

Re: RTC That Just Works

Fri Apr 26, 2013 8:37 am

http://learn.adafruit.com/adding-a-real ... t-rtc-time

If you don't want to compile your own code or install anything then perhaps raspberry pi isn't the right thing for you..
If you don't want to install a RTC then you might want to consider periodically updating the time from the internet.
Electronic and Computer Engineer
Pi Interests: Home Automation, IOT, Python and Tkinter

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: RTC That Just Works

Fri Apr 26, 2013 9:26 am

The linked tutorial is for the Adafruit Occidentialis distro
( and the RTC Adafruit sells for the Pi ) .
This might make things easier , but i believe your definition
of plug'n'play might only be matched by another ARM board.

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: RTC That Just Works

Fri Apr 26, 2013 10:17 am

The Internet is your RTC.
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

Raspoootin
Posts: 12
Joined: Mon Apr 01, 2013 3:10 am

Re: RTC That Just Works

Sat Apr 27, 2013 1:54 am

So there aren't any RTC modules with quick/easy software already included....yet. I'll check into the subject again later. As sales increase
and the market expands perhaps adafruit or someone else will do a
kit and have the wares included in the base debian distro.
I prefer to save my inner geek for other projects at this time.
Thx gurus.

BJNZ
Posts: 11
Joined: Fri Nov 30, 2012 4:37 am

Re: RTC That Just Works

Sat Apr 27, 2013 4:26 am

You could try the RasClock MODMYPI is selling. The hardware is ready assembled. Just insert the battery and plug into the Pi. You will have to do some software installing but the instructions are clear. It would probaly take less then 15 minutes all up.
Although I have built my own RTC adaptors I am going to try one out because it can fit in a case.

Brent

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26660
Joined: Sat Jul 30, 2011 7:41 pm

Re: RTC That Just Works

Sat Apr 27, 2013 6:11 am

Raspoootin wrote:So there aren't any RTC modules with quick/easy software already included....yet. I'll check into the subject again later. As sales increase
and the market expands perhaps adafruit or someone else will do a
kit and have the wares included in the base debian distro.
I prefer to save my inner geek for other projects at this time.
Thx gurus.
innergeek doesn't wear out/expire if you use it for stuff like this. It only wears out with age.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

rudiratlos
Posts: 181
Joined: Tue May 01, 2012 8:47 am

Re: RTC That Just Works

Tue Apr 30, 2013 9:30 am

This works with std. linux drivers. No compiling needed.

http://shop.basis.biz/shop/Raspberry-PI ... ack-board/

asandford
Posts: 1998
Joined: Mon Dec 31, 2012 12:54 pm
Location: Waterlooville

Re: RTC That Just Works

Tue Apr 30, 2013 7:23 pm

This works with just 4 wires, supported by hwclock:

http://dx.com/p/high-accuracy-ds3231-mo ... lue-168974

Takes a couple of weeks to deliver to UK

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: RTC That Just Works

Tue Apr 30, 2013 8:42 pm

asandford wrote:This works with just 4 wires, supported by hwclock:

http://dx.com/p/high-accuracy-ds3231-mo ... lue-168974

Takes a couple of weeks to deliver to UK
What's the hookup between that board and the Pi?
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

asandford
Posts: 1998
Joined: Mon Dec 31, 2012 12:54 pm
Location: Waterlooville

Re: RTC That Just Works

Wed May 01, 2013 4:52 pm

Joe Schmoe wrote:What's the hookup between that board and the Pi?
It connects to the I2C bus and is read by hwclock -r

Code: Select all

pi@raspberrypi ~ $  i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: 20 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
pi@raspberrypi ~ $ hwclock -r
Wed 01 May 2013 17:48:33 BST  -0.959643 seconds
pi@raspberrypi ~ $

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: RTC That Just Works

Wed May 01, 2013 5:41 pm

Could you please be more explicit?

What connects to what?
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

asandford
Posts: 1998
Joined: Mon Dec 31, 2012 12:54 pm
Location: Waterlooville

Re: RTC That Just Works

Wed May 01, 2013 7:12 pm

Joe Schmoe wrote:Could you please be more explicit?

What connects to what?

Code: Select all

RTC Board     PI GPIO Header 
--------------------------------------------
GND    ------> GND (Pin 9 / 25 / 20 / 14 / 6)
VCC    ------> 3V3 (Pin 1 / 17)   
SDA    ------> SDA (Pin 3)
SCL    ------> SCL (Pin 5)

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: RTC That Just Works

Wed May 01, 2013 10:38 pm

Thanks.

I love it when people are explicit.
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

Return to “HATs and other add-ons”