Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.raspberry-pi > #10494 > unrolled thread

Raspberry Pi clock trivia

Started byHils <hils@saynotospam.net>
First post2016-02-01 23:26 +0000
Last post2016-02-06 17:29 +0000
Articles 20 on this page of 32 — 15 participants

Back to article view | Back to comp.sys.raspberry-pi


Contents

  Raspberry Pi clock trivia Hils <hils@saynotospam.net> - 2016-02-01 23:26 +0000
    Re: Raspberry Pi clock trivia Adrian Caspersz <email@here.invalid> - 2016-02-01 23:48 +0000
    Re: Raspberry Pi clock trivia Alister <Alister.ware@ntlworld.com> - 2016-02-02 10:16 +0000
    Re: Raspberry Pi clock trivia andre <ahr@blabla.be> - 2016-02-02 14:27 +0100
      Re: Raspberry Pi clock trivia The Natural Philosopher <tnp@invalid.invalid> - 2016-02-02 13:48 +0000
    Re: Raspberry Pi clock trivia "Peter Heitzer" <peter.heitzer@rz.uni-regensburg.de> - 2016-02-02 16:15 +0000
      Re: Raspberry Pi clock trivia Hils <hils@saynotospam.net> - 2016-02-03 07:01 +0000
        Re: Raspberry Pi clock trivia Martin Gregorie <martin@address-in-sig.invalid> - 2016-02-03 08:49 +0000
          Re: Raspberry Pi clock trivia "Kerr Mudd-John" <admin@127.0.0.1> - 2016-02-03 11:50 +0000
            Re: Raspberry Pi clock trivia Moi <moi@here.now> - 2016-02-03 15:21 +0000
              Re: Raspberry Pi clock trivia Martin Gregorie <martin@address-in-sig.invalid> - 2016-02-03 15:47 +0000
                Re: Raspberry Pi clock trivia James Harris <james.harris.1@gmail.com> - 2016-02-04 11:26 +0000
                  Re: Raspberry Pi clock trivia Martin Gregorie <martin@address-in-sig.invalid> - 2016-02-04 12:03 +0000
                    Re: Raspberry Pi clock trivia James Harris <james.harris.1@gmail.com> - 2016-02-04 12:35 +0000
                    Re: Raspberry Pi clock trivia mm0fmf <none@mailinator.com> - 2016-02-04 18:11 +0000
        Re: Raspberry Pi clock trivia rickman <gnuarm@gmail.com> - 2016-02-03 08:59 -0500
          Re: Raspberry Pi clock trivia David Taylor <david-taylor@blueyonder.co.uk.invalid> - 2016-02-03 14:51 +0000
            Re: Raspberry Pi clock trivia rickman <gnuarm@gmail.com> - 2016-02-03 10:33 -0500
              Re: Raspberry Pi clock trivia David Taylor <david-taylor@blueyonder.co.uk.invalid> - 2016-02-03 19:25 +0000
                Re: Raspberry Pi clock trivia rickman <gnuarm@gmail.com> - 2016-02-03 20:48 -0500
                  Re: Raspberry Pi clock trivia David Taylor <david-taylor@blueyonder.co.uk.invalid> - 2016-02-04 14:18 +0000
                  Re: Raspberry Pi clock trivia Rob <nomail@example.com> - 2016-02-04 15:30 +0000
              Re: Raspberry Pi clock trivia Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-02-03 19:59 -0500
                Re: Raspberry Pi clock trivia David Taylor <david-taylor@blueyonder.co.uk.invalid> - 2016-02-04 14:31 +0000
                  Re: Raspberry Pi clock trivia Rob <nomail@example.com> - 2016-02-04 15:25 +0000
                    Re: Raspberry Pi clock trivia David Taylor <david-taylor@blueyonder.co.uk.invalid> - 2016-02-04 15:47 +0000
                      Re: Raspberry Pi clock trivia Rob <nomail@example.com> - 2016-02-04 16:02 +0000
                      Re: Raspberry Pi clock trivia rickman <gnuarm@gmail.com> - 2016-02-04 11:23 -0500
                        Re: Raspberry Pi clock trivia Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-02-04 22:39 -0500
        Re: Raspberry Pi clock trivia David Taylor <david-taylor@blueyonder.co.uk.invalid> - 2016-02-03 14:50 +0000
          Re: Raspberry Pi clock trivia Hils <hils@saynotospam.net> - 2016-02-06 16:31 +0000
            Re: Raspberry Pi clock trivia David Taylor <david-taylor@blueyonder.co.uk.invalid> - 2016-02-06 17:29 +0000

Page 1 of 2  [1] 2  Next page →


#10494 — Raspberry Pi clock trivia

FromHils <hils@saynotospam.net>
Date2016-02-01 23:26 +0000
SubjectRaspberry Pi clock trivia
Message-ID<n8opjc$1u02$1@gioia.aioe.org>
One of my Raspberry Pis has been running continuously since losing its
internet connection in April. In that time its clock lost 1 hour, 10
minutes, 43 seconds, an overall drift of -15.11s/day.

[toc] | [next] | [standalone]


#10495

FromAdrian Caspersz <email@here.invalid>
Date2016-02-01 23:48 +0000
Message-ID<dha964Fb7uU1@mid.individual.net>
In reply to#10494
On 01/02/16 23:26, Hils wrote:
> One of my Raspberry Pis has been running continuously since losing its
> internet connection in April. In that time its clock lost 1 hour, 10
> minutes, 43 seconds, an overall drift of -15.11s/day.
>

You mean just 10 minutes, 43 seconds.

The hour is an inherent automatic daylight saving feature :-)

-- 
Adrian C

[toc] | [prev] | [next] | [standalone]


#10497

FromAlister <Alister.ware@ntlworld.com>
Date2016-02-02 10:16 +0000
Message-ID<rm%ry.698924$Dn6.48034@fx46.am4>
In reply to#10494
On Mon, 01 Feb 2016 23:26:38 +0000, Hils wrote:

> One of my Raspberry Pis has been running continuously since losing its
> internet connection in April. In that time its clock lost 1 hour, 10
> minutes, 43 seconds, an overall drift of -15.11s/day.

it is a computer not a clock
the time is maintained by a counter that is periodically updated by an 
interrupt

There are many things that can affect the accuracy of this counter.

you would see the same effect on a PC left running for any length of time 
as they only check their RTC chip on start-up (or at least that was the 
case with MSDOS)



-- 
It was a JOKE!!  Get it??  I was receiving messages from DAVID LETTERMAN!!
YOW!!

[toc] | [prev] | [next] | [standalone]


#10498

Fromandre <ahr@blabla.be>
Date2016-02-02 14:27 +0100
Message-ID<n8qard$qr$1@gioia.aioe.org>
In reply to#10494
Le 02/02/2016 00:26, Hils a écrit :
> One of my Raspberry Pis has been running continuously since losing its
> internet connection in April. In that time its clock lost 1 hour, 10
> minutes, 43 seconds, an overall drift of -15.11s/day.
>
You could install a crystal based clock module!
There are many on internet.
Google 'raspberry rtc' to see!
Regards
André

[toc] | [prev] | [next] | [standalone]


#10499

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2016-02-02 13:48 +0000
Message-ID<n8qc34$4k7$1@news.albasani.net>
In reply to#10498
On 02/02/16 13:27, andre wrote:
> Le 02/02/2016 00:26, Hils a écrit :
>> One of my Raspberry Pis has been running continuously since losing its
>> internet connection in April. In that time its clock lost 1 hour, 10
>> minutes, 43 seconds, an overall drift of -15.11s/day.
>>
> You could install a crystal based clock module!

If you actually gave an RA*..yes.

> There are many on internet.
> Google 'raspberry rtc' to see!
> Regards
> André

*http://vps.templar.co.uk/Cartoons%20and%20Politics/ratsass.jpg

-- 
He who shits in the road, will meet flies on his return.

"Mr Natural"

[toc] | [prev] | [next] | [standalone]


#10500

From"Peter Heitzer" <peter.heitzer@rz.uni-regensburg.de>
Date2016-02-02 16:15 +0000
Message-ID<dhc31vFdfn0U1@mid.individual.net>
In reply to#10494
Hils <hils@saynotospam.net> wrote:
>One of my Raspberry Pis has been running continuously since losing its
>internet connection in April. In that time its clock lost 1 hour, 10
>minutes, 43 seconds, an overall drift of -15.11s/day.
Normal quartz oscillators have a deviation of +/- 100 ppm. That gives
about +/- 9s per day in worst case. As frequency of a crystal is also
influenced by temperature the measured drift looks rather normal to me.
For better accuracy you need an external clock module or sync regularely
with a time server if possible.

[toc] | [prev] | [next] | [standalone]


#10508

FromHils <hils@saynotospam.net>
Date2016-02-03 07:01 +0000
Message-ID<n8s8jr$see$1@gioia.aioe.org>
In reply to#10500
On 02/02/16 16:15, Peter Heitzer wrote:
> Hils <hils@saynotospam.net> wrote:
>> One of my Raspberry Pis has been running continuously since losing its
>> internet connection in April. In that time its clock lost 1 hour, 10
>> minutes, 43 seconds, an overall drift of -15.11s/day.
> Normal quartz oscillators have a deviation of +/- 100 ppm. That gives
> about +/- 9s per day in worst case. As frequency of a crystal is also
> influenced by temperature the measured drift looks rather normal to me.
> For better accuracy you need an external clock module or sync regularely
> with a time server if possible.

I thought it was fairly typical, but thanks for the rigorous analysis. I
happened to have the data, it seemed a shame to keep it to myself. I
rather like the idea of getting the time from a GPS receiver.

[toc] | [prev] | [next] | [standalone]


#10509

FromMartin Gregorie <martin@address-in-sig.invalid>
Date2016-02-03 08:49 +0000
Message-ID<n8seu7$jp1$1@dont-email.me>
In reply to#10508
On Wed, 03 Feb 2016 07:01:13 +0000, Hils wrote:

> On 02/02/16 16:15, Peter Heitzer wrote:
>> Hils <hils@saynotospam.net> wrote:
>>> One of my Raspberry Pis has been running continuously since losing its
>>> internet connection in April. In that time its clock lost 1 hour, 10
>>> minutes, 43 seconds, an overall drift of -15.11s/day.
>> Normal quartz oscillators have a deviation of +/- 100 ppm. That gives
>> about +/- 9s per day in worst case. As frequency of a crystal is also
>> influenced by temperature the measured drift looks rather normal to me.
>> For better accuracy you need an external clock module or sync
>> regularely with a time server if possible.
> 
> I thought it was fairly typical, but thanks for the rigorous analysis. I
> happened to have the data, it seemed a shame to keep it to myself. I
> rather like the idea of getting the time from a GPS receiver.
>
Either that or run an instance of ntpd, the Internet time server, which 
keeps your system clock in sync with UTC time as well as providing the 
time to  its client. Its one of the Debian standard packages, so is dead 
easy to install and has a default configuration, so it mostly 'just 
works'.
 

-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

[toc] | [prev] | [next] | [standalone]


#10512

From"Kerr Mudd-John" <admin@127.0.0.1>
Date2016-02-03 11:50 +0000
Message-ID<op.yb89uxd3msr2db@dell3100.dlink.com>
In reply to#10509
On Wed, 03 Feb 2016 08:49:11 -0000, Martin Gregorie  
<martin@address-in-sig.invalid> wrote:

> On Wed, 03 Feb 2016 07:01:13 +0000, Hils wrote:
>
>> On 02/02/16 16:15, Peter Heitzer wrote:
>>> Hils <hils@saynotospam.net> wrote:
>>>> One of my Raspberry Pis has been running continuously since losing its
>>>> internet connection in April. In that time its clock lost 1 hour, 10


>>>> minutes, 43 seconds, an overall drift of -15.11s/day.
>>> Normal quartz oscillators have a deviation of +/- 100 ppm. That gives
>>> about +/- 9s per day in worst case. As frequency of a crystal is also
>>> influenced by temperature the measured drift looks rather normal to me.
>>> For better accuracy you need an external clock module or sync
>>> regularely with a time server if possible.
>>
>> I thought it was fairly typical, but thanks for the rigorous analysis. I
>> happened to have the data, it seemed a shame to keep it to myself. I
>> rather like the idea of getting the time from a GPS receiver.
>>
> Either that or run an instance of ntpd, the Internet time server, which
> keeps your system clock in sync with UTC time as well as providing the
> time to  its client. Its one of the Debian standard packages, so is dead
> easy to install and has a default configuration, so it mostly 'just
> works'.
>
See the bit at the top about "losing it's internet connection"?

-- 
Bah, and indeed, Humbug

[toc] | [prev] | [next] | [standalone]


#10516

FromMoi <moi@here.now>
Date2016-02-03 15:21 +0000
Message-ID<fWosy.858678$EF6.625193@fx07.fr7>
In reply to#10512
On Wed, 03 Feb 2016 11:50:47 +0000, Kerr Mudd-John wrote:

>> Either that or run an instance of ntpd, the Internet time server, which
>> keeps your system clock in sync with UTC time as well as providing the
>> time to  its client. Its one of the Debian standard packages, so is
>> dead easy to install and has a default configuration, so it mostly
>> 'just works'.
>>
> See the bit at the top about "losing it's internet connection"?

When reconnected to internet it will update time.

[toc] | [prev] | [next] | [standalone]


#10519

FromMartin Gregorie <martin@address-in-sig.invalid>
Date2016-02-03 15:47 +0000
Message-ID<n8t7dr$i14$2@dont-email.me>
In reply to#10516
On Wed, 03 Feb 2016 15:21:47 +0000, Moi wrote:

> On Wed, 03 Feb 2016 11:50:47 +0000, Kerr Mudd-John wrote:
> 
>>> Either that or run an instance of ntpd, the Internet time server,
>>> which keeps your system clock in sync with UTC time as well as
>>> providing the time to  its client. Its one of the Debian standard
>>> packages, so is dead easy to install and has a default configuration,
>>> so it mostly 'just works'.
>>>
>> See the bit at the top about "losing it's internet connection"?
> 
> When reconnected to internet it will update time.

Exactly so. I also read 'losing its internet connection' to mean a 
temporary loss, rather than a permanent disconnection.  If the latter was 
the case, why not say so?


-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

[toc] | [prev] | [next] | [standalone]


#10527

FromJames Harris <james.harris.1@gmail.com>
Date2016-02-04 11:26 +0000
Message-ID<n8vccm$920$2@dont-email.me>
In reply to#10519
On 03/02/2016 15:47, Martin Gregorie wrote:
> On Wed, 03 Feb 2016 15:21:47 +0000, Moi wrote:
>
>> On Wed, 03 Feb 2016 11:50:47 +0000, Kerr Mudd-John wrote:
>>
>>>> Either that or run an instance of ntpd, the Internet time server,
>>>> which keeps your system clock in sync with UTC time as well as
>>>> providing the time to  its client. Its one of the Debian standard
>>>> packages, so is dead easy to install and has a default configuration,
>>>> so it mostly 'just works'.
>>>>
>>> See the bit at the top about "losing it's internet connection"?
>>
>> When reconnected to internet it will update time.
>
> Exactly so. I also read 'losing its internet connection' to mean a
> temporary loss, rather than a permanent disconnection.  If the latter was
> the case, why not say so?

The OP did say "One of my Raspberry Pis has been running continuously 
since losing its internet connection in April."

James

[toc] | [prev] | [next] | [standalone]


#10528

FromMartin Gregorie <martin@address-in-sig.invalid>
Date2016-02-04 12:03 +0000
Message-ID<n8vem5$gk6$1@dont-email.me>
In reply to#10527
On Thu, 04 Feb 2016 11:26:41 +0000, James Harris wrote:

> On 03/02/2016 15:47, Martin Gregorie wrote:
>> On Wed, 03 Feb 2016 15:21:47 +0000, Moi wrote:
>>
>>> On Wed, 03 Feb 2016 11:50:47 +0000, Kerr Mudd-John wrote:
>>>
>>>>> Either that or run an instance of ntpd, the Internet time server,
>>>>> which keeps your system clock in sync with UTC time as well as
>>>>> providing the time to  its client. Its one of the Debian standard
>>>>> packages, so is dead easy to install and has a default
>>>>> configuration,
>>>>> so it mostly 'just works'.
>>>>>
>>>> See the bit at the top about "losing it's internet connection"?
>>>
>>> When reconnected to internet it will update time.
>>
>> Exactly so. I also read 'losing its internet connection' to mean a
>> temporary loss, rather than a permanent disconnection.  If the latter
>> was the case, why not say so?
> 
> The OP did say "One of my Raspberry Pis has been running continuously
> since losing its internet connection in April."
>
If I'd been the OP I'd have said 'permanently losing'.
 

-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

[toc] | [prev] | [next] | [standalone]


#10529

FromJames Harris <james.harris.1@gmail.com>
Date2016-02-04 12:35 +0000
Message-ID<n8vge9$p69$1@dont-email.me>
In reply to#10528
On 04/02/2016 12:03, Martin Gregorie wrote:
> On Thu, 04 Feb 2016 11:26:41 +0000, James Harris wrote:

...

>> The OP did say "One of my Raspberry Pis has been running continuously
>> since losing its internet connection in April."
>>
> If I'd been the OP I'd have said 'permanently losing'.

OK. He seemed to me to be saying that the clock on his machine had 
drifted since losing the internet connection. I inferred from that the 
connection had remained down, and that he probably already had ntp 
connecting across the internet.

James

[toc] | [prev] | [next] | [standalone]


#10538

Frommm0fmf <none@mailinator.com>
Date2016-02-04 18:11 +0000
Message-ID<6vMsy.428577$ey.66767@fx45.am4>
In reply to#10528
On 04/02/2016 12:03, Martin Gregorie wrote:
> On Thu, 04 Feb 2016 11:26:41 +0000, James Harris wrote:
>
>> On 03/02/2016 15:47, Martin Gregorie wrote:
>>> On Wed, 03 Feb 2016 15:21:47 +0000, Moi wrote:
>>>
>>>> On Wed, 03 Feb 2016 11:50:47 +0000, Kerr Mudd-John wrote:
>>>>
>>>>>> Either that or run an instance of ntpd, the Internet time server,
>>>>>> which keeps your system clock in sync with UTC time as well as
>>>>>> providing the time to  its client. Its one of the Debian standard
>>>>>> packages, so is dead easy to install and has a default
>>>>>> configuration,
>>>>>> so it mostly 'just works'.
>>>>>>
>>>>> See the bit at the top about "losing it's internet connection"?
>>>>
>>>> When reconnected to internet it will update time.
>>>
>>> Exactly so. I also read 'losing its internet connection' to mean a
>>> temporary loss, rather than a permanent disconnection.  If the latter
>>> was the case, why not say so?
>>
>> The OP did say "One of my Raspberry Pis has been running continuously
>> since losing its internet connection in April."
>>
> If I'd been the OP I'd have said 'permanently losing'.
>
>
If you'd have been the OP there would have been mention of your home 
brewed 6809 system and how ICL mainframes did their timekeeping.

[toc] | [prev] | [next] | [standalone]


#10513

Fromrickman <gnuarm@gmail.com>
Date2016-02-03 08:59 -0500
Message-ID<n8t0tu$pau$1@dont-email.me>
In reply to#10508
On 2/3/2016 2:01 AM, Hils wrote:
> On 02/02/16 16:15, Peter Heitzer wrote:
>> Hils <hils@saynotospam.net> wrote:
>>> One of my Raspberry Pis has been running continuously since losing its
>>> internet connection in April. In that time its clock lost 1 hour, 10
>>> minutes, 43 seconds, an overall drift of -15.11s/day.
>> Normal quartz oscillators have a deviation of +/- 100 ppm. That gives
>> about +/- 9s per day in worst case. As frequency of a crystal is also
>> influenced by temperature the measured drift looks rather normal to me.
>> For better accuracy you need an external clock module or sync regularely
>> with a time server if possible.
>
> I thought it was fairly typical, but thanks for the rigorous analysis. I
> happened to have the data, it seemed a shame to keep it to myself. I
> rather like the idea of getting the time from a GPS receiver.

Or something like a WWVB receiver.  Very simple, low power and just as 
accurate.

-- 

Rick

[toc] | [prev] | [next] | [standalone]


#10515

FromDavid Taylor <david-taylor@blueyonder.co.uk.invalid>
Date2016-02-03 14:51 +0000
Message-ID<n8t3vj$61n$2@dont-email.me>
In reply to#10513
On 03/02/2016 13:59, rickman wrote:
[]
> Or something like a WWVB receiver.  Very simple, low power and just as
> accurate.

Far less accurate than GPS/PPS - most of the time!

-- 
Cheers,
David
Web: http://www.satsignal.eu

[toc] | [prev] | [next] | [standalone]


#10517

Fromrickman <gnuarm@gmail.com>
Date2016-02-03 10:33 -0500
Message-ID<n8t6eg$gq9$1@dont-email.me>
In reply to#10515
On 2/3/2016 9:51 AM, David Taylor wrote:
> On 03/02/2016 13:59, rickman wrote:
> []
>> Or something like a WWVB receiver.  Very simple, low power and just as
>> accurate.
>
> Far less accurate than GPS/PPS - most of the time!

????  How is that?

-- 

Rick

[toc] | [prev] | [next] | [standalone]


#10521

FromDavid Taylor <david-taylor@blueyonder.co.uk.invalid>
Date2016-02-03 19:25 +0000
Message-ID<n8tk12$cp1$1@dont-email.me>
In reply to#10517
On 03/02/2016 15:33, rickman wrote:
> On 2/3/2016 9:51 AM, David Taylor wrote:
>> On 03/02/2016 13:59, rickman wrote:
>> []
>>> Or something like a WWVB receiver.  Very simple, low power and just as
>>> accurate.
>>
>> Far less accurate than GPS/PPS - most of the time!
>
> ????  How is that?

GPS/PPS is typically within 1/10 microsecond, 100 ns, or better.  Radio 
propagation changes introduce far greater uncertainties.

-- 
Cheers,
David
Web: http://www.satsignal.eu

[toc] | [prev] | [next] | [standalone]


#10526

Fromrickman <gnuarm@gmail.com>
Date2016-02-03 20:48 -0500
Message-ID<n8uah8$7ki$1@dont-email.me>
In reply to#10521
On 2/3/2016 2:25 PM, David Taylor wrote:
> On 03/02/2016 15:33, rickman wrote:
>> On 2/3/2016 9:51 AM, David Taylor wrote:
>>> On 03/02/2016 13:59, rickman wrote:
>>> []
>>>> Or something like a WWVB receiver.  Very simple, low power and just as
>>>> accurate.
>>>
>>> Far less accurate than GPS/PPS - most of the time!
>>
>> ????  How is that?
>
> GPS/PPS is typically within 1/10 microsecond, 100 ns, or better.  Radio
> propagation changes introduce far greater uncertainties.

I have worked with GPS PPS signals and they are seldom as accurate as 
theory allows.  There are many realities in low end units so that the 
actual accuracy is in the 10's or even 100's of us.  I can get that from 
a WWVB signal at 60 kHz.

I guess the real question is, can a rPi make any use of accuracy better 
than a ms or so?  Both signals will have excellent long term accuracy. 
Both signals provide time of day and calendar, etc.  The WWVB type 
signal may be hard to receive in some areas while the GPS signal 
requires an outdoor antenna in some cases.

-- 

Rick

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | comp.sys.raspberry-pi


csiph-web