Building Stratum One NTP Server
#5
(06-18-2016, 12:45 PM)lospinos Wrote: I found this project for Raspberry Pi, a Stratum One NTP server using a GPIO expansion card.
http://www.satsignal.eu/ntp/Raspberry-Pi-NTP.html

The expansion card is available from:
https://store.uputronics.com/index.php?r...duct_id=81

I would like to use my Pine64 instead of the RPi.

Anybody here knows if the GPIO header has the same pinout as the RPi? Ideally, I want to buy this card and plug it into my Pine.

The PI-2-Bus header has the same basic pin-out as the 40-pin connector on the Raspberry Pi -- hence the label -- and most of the connections are the same or close equivalents.  The expansion card here connects to pins 1, 3, 5, 8, 10, and 12 (and presumably one or more of the GND pins) and these are all the same: 1 is 3.3V, 3 and 5 are the TWI-1 bus (/dev/i2c-1), pins 8 and 10 are the serial port (UART2, /dev/ttyS2) and pin 12 is PB4 / GPIO36, which is used to receive the 1PPS, the 1 pulse per second synchronization signal.

Now I don't know if the Linux kernels support the use of 1PPS (yet), but disregarding the 1PPS for now, I have already managed to get a similar GPS card working, using the Adafruit Ultimate GPS HAT which has essentially the same UART connections, and using GPSD to receive and collate the data stream.  GPS-receivers are not much different as they all emit NMEA-standard text on a serial line, and GPSD is good at handling the variety in the messages that they produce.


Messages In This Thread
Building Stratum One NTP Server - by lospinos - 06-18-2016, 12:45 PM
RE: Building Stratum One NTP Server - by tllim - 06-18-2016, 05:06 PM
RE: Building Stratum One NTP Server - by lospinos - 06-22-2016, 06:03 PM
RE: Building Stratum One NTP Server - by tllim - 06-23-2016, 04:13 PM
RE: Building Stratum One NTP Server - by KnReLe - 08-23-2016, 08:29 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Mastodon instance \ Nextcloud Server fearg 1 3,513 03-31-2020, 08:18 PM
Last Post: tllim
  Plex server arghne 59 112,924 07-06-2018, 10:36 AM
Last Post: Moshe.Vazan
  Turn your Pine64 into a music server with mpd JulianM 2 9,565 03-23-2017, 10:50 PM
Last Post: tllim
  Plex server arghne 48 38,931 03-22-2017, 04:15 AM
Last Post: pineadmin
  Pine64 as NAS/Media Server VandaL.pr! 1 5,153 12-27-2016, 10:48 AM
Last Post: Luke
  3d printer server oldsmarracin 3 4,240 09-13-2016, 02:43 AM
Last Post: JAYJAYN
  Cannot install Plex Media Server under Arch Linux malevolent 2 4,440 09-11-2016, 12:20 PM
Last Post: ChrisLane
  Starbound Server. Is the Pine64 capable? iamfallen 1 3,117 08-03-2016, 10:36 AM
Last Post: MarkHaysHarris777
Brick Minecraft Server chrislink14 16 22,952 05-06-2016, 08:03 AM
Last Post: jeremycobert
  Media server montero65 3 4,811 04-28-2016, 06:02 PM
Last Post: queonda

Forum Jump:


Users browsing this thread: 1 Guest(s)