# Serial Tx/Rx & 1PPS GPIO for GPS as a Stratum 1 remote time clock?

**URL:** <https://forum.clockworkpi.com/t/serial-tx-rx-1pps-gpio-for-gps-as-a-stratum-1-remote-time-clock/9276>\
**Category:** uConsole\
**Created:** [December 1, 2022, 11:20pm UTC](https://forum.clockworkpi.com/t/serial-tx-rx-1pps-gpio-for-gps-as-a-stratum-1-remote-time-clock/9276 "2022-12-01T23:20:46Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![VE7PPE](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@VE7PPE](https://forum.clockworkpi.com/u/VE7PPE)\
**Post date:** [December 1, 2022, 11:20pm UTC](https://forum.clockworkpi.com/t/serial-tx-rx-1pps-gpio-for-gps-as-a-stratum-1-remote-time-clock/9276/1 "2022-12-01T23:20:46Z")

</div>

Will there be the possibility to use the GPIO for serial GPSD input to have an accurate clock? There is a 40 pin GPIO located at the top of the board near the external module.

uConsole will be used for digital faint signal communications in the field. I need an accurate clock based on GPS with 1PPS signals → GPSD → Chrony → System clock. RTC would be nice, but not a must have

Thanks

---

<div class="post-metadata">

**Author:** ![forgeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/forgeman/32/6728_2.png) [@forgeman](https://forum.clockworkpi.com/u/forgeman)\
**Post date:** [December 2, 2022, 2:56pm UTC](https://forum.clockworkpi.com/t/serial-tx-rx-1pps-gpio-for-gps-as-a-stratum-1-remote-time-clock/9276/2 "2022-12-02T14:56:22Z")

</div>

There are some amazing inexpensive GPS modules ( e.g. the GT-U7 is one that puts out PPS ) that are very tinker friendly. This is a fantastic feature request, if it isn’t already supported ( I’ve personally not looked into the 3.14 board schematics that deep 🙃 ) and would love to hear "oh just use pins x,y,z. - if someone has looked 😁 .

---

<div class="post-metadata">

**Author:** ![Relei](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/relei/32/6696_2.png) [@Relei](https://forum.clockworkpi.com/u/Relei)\
**Post date:** [December 2, 2022, 3:45pm UTC](https://forum.clockworkpi.com/t/serial-tx-rx-1pps-gpio-for-gps-as-a-stratum-1-remote-time-clock/9276/3 "2022-12-02T15:45:45Z")

</div>

Hi,

I think this is a easy task. I am assuming there is a UART on the Exp Port.

Greatings,  
Rene

---

<div class="post-metadata">

**Author:** ![VE7PPE](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@VE7PPE](https://forum.clockworkpi.com/u/VE7PPE)\
**Post date:** [December 2, 2022, 6:30pm UTC](https://forum.clockworkpi.com/t/serial-tx-rx-1pps-gpio-for-gps-as-a-stratum-1-remote-time-clock/9276/4 "2022-12-02T18:30:47Z")

</div>

This is the kit GPS I’m using with a Pi3B+ & Pi OS as a LAN time server: [GPS receiver kit QLG2](http://qrp-labs.com/qlg2.html) with a clock display and enclosed in the case [[Clock kit](http://shop.qrp-labs.com/index.php?route=product/product&product_id=82)]. Using GPIO pins UART TX/RX, 5v, GND & pin 7 (4) for PPS. Direct serial is preferred for accuracy. With a bit of tuning, I’m seeing sub micro-second jitter. Current system time is 94 nano seconds fast of NTP time.

Have a USB-A BU-353S4 GPS puck w/o 1PPS that gives +/- 1 sec for field use, but would prefer a more accurate time. FT8/JS8 needs \<2 sec variance, so I want to limit the variance I contribute giving great possible signal decoding

---

<div class="post-metadata">

**Author:** ![VE7PPE](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@VE7PPE](https://forum.clockworkpi.com/u/VE7PPE)\
**Post date:** [December 2, 2022, 10:58pm UTC](https://forum.clockworkpi.com/t/serial-tx-rx-1pps-gpio-for-gps-as-a-stratum-1-remote-time-clock/9276/5 "2022-12-02T22:58:11Z")

</div>

The uConsole GPIO is 40 pins, so I wonder if it is following the standard Pi-3 & 4 GPIO pin layout? Would think so since PiOS is included as an usable OS.

Thinking I could run an extension to the GPIO to the top of the case. Then design the GPS kit with display case with a plug-in to the now external accessed GPIO. It would nest into the top of the uConsole with the display above the main display.

Cleaner option would be to internally mount the GPS board with an external SMA antenna connector at the top. Wouldn’t have a GPS/time dedicated display, but use GPSMon to get the information

---

<div class="post-metadata">

**Author:** ![zedr0k](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/zedr0k/32/6766_2.png) [@zedr0k](https://forum.clockworkpi.com/u/zedr0k)\
**Post date:** [December 6, 2022, 12:53pm UTC](https://forum.clockworkpi.com/t/serial-tx-rx-1pps-gpio-for-gps-as-a-stratum-1-remote-time-clock/9276/6 "2022-12-06T12:53:39Z")

</div>

I guess it will be the same than the DevTerm has:

> <https://github.com/clockworkpi/DevTerm/blob/main/Schematics/clockwork_Mainboard_V3.14_Schematic.pdf>

---

<div class="post-metadata">

**Author:** ![MHam68HC11](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/mham68hc11/32/5046_2.png) [@MHam68HC11](https://forum.clockworkpi.com/u/MHam68HC11)\
**Post date:** [March 12, 2023, 2:26am UTC](https://forum.clockworkpi.com/t/serial-tx-rx-1pps-gpio-for-gps-as-a-stratum-1-remote-time-clock/9276/7 "2023-03-12T02:26:06Z")

</div>

QRP labs - glad they are still around!!!  
On a Lan time server do you have a way to correct for your network latency or is +/- 1 second good enough?

need at least 30 words for comment… snark.

---

<div class="post-metadata">

**Author:** ![VE7PPE](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@VE7PPE](https://forum.clockworkpi.com/u/VE7PPE)\
**Post date:** [March 12, 2023, 6:04pm UTC](https://forum.clockworkpi.com/t/serial-tx-rx-1pps-gpio-for-gps-as-a-stratum-1-remote-time-clock/9276/8 "2023-03-12T18:04:07Z")

</div>

Maybe read up on using Chrony NTP? Should answer your question.

---

<div class="post-metadata">

**Author:** ![philosiraptor](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/philosiraptor/32/11414_2.png) [@philosiraptor](https://forum.clockworkpi.com/u/philosiraptor)\
**Post date:** [March 14, 2023, 5:25am UTC](https://forum.clockworkpi.com/t/serial-tx-rx-1pps-gpio-for-gps-as-a-stratum-1-remote-time-clock/9276/9 "2023-03-14T05:25:25Z")

</div>

Honestly, I just have one of these cludged on GlobalSat ND-105C Micro USB GPS Receiver [https://a.co/d/hopGtWu](https://a.co/d/hopGtWu)

---

<div class="post-metadata">

**Author:** ![Petrakis](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/petrakis/32/256_2.png) [@Petrakis](https://forum.clockworkpi.com/u/Petrakis)\
**Post date:** [March 14, 2023, 1:01pm UTC](https://forum.clockworkpi.com/t/serial-tx-rx-1pps-gpio-for-gps-as-a-stratum-1-remote-time-clock/9276/10 "2023-03-14T13:01:09Z")

</div>

How its the antenna of that thing? Usually the ublox ive used are finicky with antennas.

---

<div class="post-metadata">

**Author:** ![MHam68HC11](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/mham68hc11/32/5046_2.png) [@MHam68HC11](https://forum.clockworkpi.com/u/MHam68HC11)\
**Post date:** [March 14, 2023, 2:29pm UTC](https://forum.clockworkpi.com/t/serial-tx-rx-1pps-gpio-for-gps-as-a-stratum-1-remote-time-clock/9276/11 "2023-03-14T14:29:35Z")

</div>

I’ve used the GPS on a USB cord never one plugged straight in - usually I set the GPS unit on top of something so the antenna is pointed upward - in my cars I’ve used the magnetic base types and put a bracket on the windshield edge to mount the GPS then ran the cable through the trim to the unit (TNC, Raspberry Pi/ or Android Sterio…)

---

<div class="post-metadata">

**Author:** ![philosiraptor](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/philosiraptor/32/11414_2.png) [@philosiraptor](https://forum.clockworkpi.com/u/philosiraptor)\
**Post date:** [March 23, 2023, 4:55am UTC](https://forum.clockworkpi.com/t/serial-tx-rx-1pps-gpio-for-gps-as-a-stratum-1-remote-time-clock/9276/12 "2023-03-23T04:55:30Z")

</div>

Not great not terrible, good enough to get time
