Orange Pi Zero NTP Stratum 1 PPS GPS Server with Armbian OS, Hardware and Software Tutorial


4 4

Recommended Posts

Orange Pi Zero NTP Stratum 1 PPS GPS Server with Armbian OS.
Link to the Tutorial -

This tutorial uses a 3.3V capable GPS module with PPS output - TOPGNSS GN-701 (u-blox 7) but other similar modules should work.

This tutorial is for the Orange Pi Zero, but will probably work for other boards.


I couldn't easily do a comprehensive hardware and software tutorial on this forum, so I've published it on my web server and linked from here and attached a PDF.
Link to the Tutorial -

Tutorial PDF

If you spot any typo's or errors please let me know.


Link to post
Share on other sites

Armbian is a community driven open source project. Do you like to contribute your code?

Just add the server to your NTP client as you would any other NTP server.
If you are using the Windows 10 OS then you can use the built in client.
Open Control Panel
Go to Clock, Language, and Region
Click the icon Date and Time
Open the tab named Internet Time
Click the button named Change settings
Tick Synchronize with internet time server
Fill in the IP of your NTP server

Click OK.

Link to post
Share on other sites

Hi @Elektrický,

Nice tutorial, worked great for me. Bought a cheap GPS module:



And a pinheader to solder onto the OrangePi Zero board itself.



The only thing I had to change was to swap the RX/TX wires, as a straight connection did not work for my GPS board.




I did not have any success getting PPS to work through the USB connection (works as ttyACM). I had to use the GPIO dtb overlay and electrical connection as per your tut.

gpsd in action:



ntp[sec] in action:



Thanks a lot!



p.s. I still have to figure out why I needed this :thumbup:

Link to post
Share on other sites

Hi @djurny, nice.  I'm glad that you liked my tutorial.

Re: "p.s. I still have to figure out why I needed this" :lol:
I have the same issue, but I like building things and I like the idea of having really accurate time.

I donated one to a friend in South Africa.  They have rolling power cuts which takes out the internet for several hours at a time.
He has a good UPS and some IoT devices that don't have real time clocks so they don't initialise properly without NTP time and he didn't have a suitable backup NTP server.   Technical overkill, but still a very economic solution to his problem.


Link to post
Share on other sites

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.

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.


4 4