Geekzone: technology news, blogs, forums
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.

1046 posts

Uber Geek
+1 received by user: 488

Topic # 180970 28-Sep-2015 12:28
Send private message

Another daylight savings event passed. I think it's sole purpose it to mess up my sleep pattern.

NTP, for those who don't know, stands for Network Time Protocol. Pretty much every thing supports it.

A commercial NTP clock are hard to find in New Zealand, and expensive, at $300 or more.

Anyhow my friend came up with almost free wall clock, that automatically adjust the time, by using an unused cell phone.

He had an old Android cell phone, with no phone provider / no SIMM card.

He uses it as a wall clock, by hanging it on the wall, with a USB charger. It uses NTP to sync time to his wireless access point. Obviously it has a battery, so a quick power loss has no affect.

Just about everywhere sells cheap Android tablets. In New Zealand there are a lot for $100.


Though most devices use NTP, an alternate way of getting time is GPS, which essentially are flying atomic clocks.

However GPS time is off by more than 19 seconds.

Also GPS time is set to Coordinated Universal Time (UTC), which doesn't use daylight savings.

Don't believe me?

"GPS cannot tolerate the introduction of leap seconds. Hence, in 1980, when the Department of Defense started keeping time on the GPS satellites, its system time and frequency were set to agree with UTC(USNO MC). At that time, TAI minus UTC was 19 seconds. Since then, UTC has been delayed many leap seconds and GPS time has not. Hence, GPS time is still very close to TAI minus 19 seconds."

Create new topic
1524 posts

Uber Geek
+1 received by user: 143


  Reply # 1395706 28-Sep-2015 12:45
Send private message

Do you have examples of how he did it?

What tablet?
Which app is he using etc etc?

Does it display weather as well or just the time?

CPU: Intel 3770k| RAM: F3-2400C10D-16GTX G.Skill Trident X |MB:  Gigabyte Z77X-UD5H-WB | GFX: GV-N660OC-2GD gv-n660oc-2gd GeForce GTX 660 | Monitor: Qnix 27" 2560x1440



1245 posts

Uber Geek
+1 received by user: 137

  Reply # 1395708 28-Sep-2015 12:55
Send private message

Geez and I thought repurposing an old iPad as a wall clock/weather HUD was over the top

4390 posts

Uber Geek
+1 received by user: 821

Lifetime subscriber

  Reply # 1395710 28-Sep-2015 12:56
Send private message

Get a cheap tablet. Lots of wall clock app available.

Hang onto the wall... Done!

3343 posts

Uber Geek
+1 received by user: 1089


  Reply # 1395712 28-Sep-2015 12:58
Send private message

NTP also uses UTC.  Each device has to know when local time daylight saving starts and ends.

And of course you can use GPS time, you just need to make the appropriate adjustments to match UTC and then the appropriate adjustments to match your current time zone.

1952 posts

Uber Geek
+1 received by user: 723


  Reply # 1395724 28-Sep-2015 13:04
One person supports this post
Send private message

"GPS, which essentially are flying atomic clocks." - best thing I've read all day :)

It looks like I'm using an adblocker. I should consider whitelisting Geekzone in my adblocker or a subscription. The Quick Reply box will appear for me when Geekzone is whitelisted. Hooray for me! If I want to reply to this topic I should click on Compose Reply.

1046 posts

Uber Geek
+1 received by user: 488

  Reply # 1395803 28-Sep-2015 14:34
Send private message

mentalinc: Do you have examples of how he did it?

What tablet?
Which app is he using etc etc?

Does it display weather as well or just the time?

He told me the NTP was already available, so nothing to download there.

I'd guess getting time from GPS would work, but since more people have networking experience NTP seems the more natural choice.

He had to disable the lock screen, obviously.

As mentioned, there's apparently no shortage of clocks, so try several freebies and pick the one you like.

The clock with weather idea is good. I'd guess a news ticker wouldn't be out of the question on a tablet.

I'll ask him what clock he used.

21124 posts

Uber Geek
+1 received by user: 4210


  Reply # 1395812 28-Sep-2015 14:51
Send private message

My phones ignore the NTP server from the DHCP server and go off and get the time themselves from elsewhere. Not sure if it's GSM or NTP but it's out from my domain controller which I have to periodically bring back to correct time.

I have a 3/4 finished arduino and ethernet shield clock that does NTP and outputs to some 7 segment displays. Of course if I was starting it now would use a esp8266 module for wifi clock instead.

Am wondering how quickly the mechanism from a cheap wall clock could step in order to have it go forward /back at daylight saving changeover too.


1046 posts

Uber Geek
+1 received by user: 488

  Reply # 1395830 28-Sep-2015 15:07
Send private message

Short answer: NTP is one the simple network protocols to get working.

If you're local DHCP doesn't support NTP, try this list in New Zealand, otherwise Google NTP:

The US Naval NTP clocks are also good, since they are related to the GPS clocks.

Long answer, which may be incorrect.

NTP uses a "Daemon" to get the time, and adjust the clock.

How the Daemon works is up to the manufacturer / programmer.

As mentioned, these use UTC, the location information (what country are you in?) and the daylight savings information (every countries adjustments to daylight savings)

If the time reading is wildly different, it's ignored for some period (again up to the manufacturer).

If it's a small change

* less critical device like phones, it's instantly change.

* more critical devices like server, it's slowly change over an extended period

As a sidenote, Windows uses the "slowly change" technique to adjust times


9822 posts

Uber Geek
+1 received by user: 1470

  Reply # 1395838 28-Sep-2015 15:12
Send private message

Now if he can add PIR to detect when someone is around and only then display the clock I would be impressed.

Internal camera is a possibility for movement detection but keeping it powered defeats the purpose of reducing power consumption and increasing safety. Still it would be worth a look.

4123 posts

Uber Geek
+1 received by user: 842
Inactive user

  Reply # 1395840 28-Sep-2015 15:16
Send private message

GPS time receivers compensate for the 19 seconds and give accurate time, just so that no one thinks a GPS based clock is 19 seconds out.

Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:

Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:

Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:

News »

N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08

Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03

Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27

Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13

Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00

Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12

Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52 to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34

Enable doubles fibre broadband speeds for its most popular wholesale service in Christchurch
Posted 2-Jun-2018 20:07

All or Nothing: New Zealand All Blacks arrives on Amazon Prime Video
Posted 2-Jun-2018 16:21

Innovation Grant, High Tech Awards and new USA office for Kiwi tech company SwipedOn
Posted 1-Jun-2018 20:54

Commerce Commission warns Apple for misleading consumers about their rights
Posted 30-May-2018 13:15

IBM leads Call for Code to use cloud, data, AI, blockchain for natural disaster relief
Posted 25-May-2018 14:12

New FUJIFILM X-T100 aims to do better job than smartphones
Posted 24-May-2018 20:17

Stuff takes 100% ownership of Stuff Fibre
Posted 24-May-2018 19:41

Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.