Skip to main content

A GPSDO experiment

Project description

GPSDO projects

This package contains Python files which rely on very specific hardware and software conditions. The project implements a GPSDO (GPS disciplined oscillator) which uses a u-blox NEO-M8N GPS board. The intention is to demonstrate using the pulse output from the GPS module as a reference frequency source . I am a novice Python programmer, so I am sure that the code can be optimised. The code runs on a Raspberry Pi Zero 2 with a u-blox NEO-M8N GPS board and optionally a 2.4' Nextion display.

gpsdo.py

The gpsdo.py project implements a GPS based oscillator. The project assumes that there is a suitable prgrammed Nextion display. You can set the locked and unlocked pulse output frequency between 10 Hz and 11.999 MHz. You can set the waveform duty cycle between 10 and 90% the defualt is 50%.

gpsdont.py

The gpsdont.py project implements a GPS based oscillator. The project does not require a Nextion display. You can set the locked and unlocked pulse output frequency between 10 Hz and 11.999 MHz. You can set the waveform duty cycle between 10 and 90% the defualt is 50%.

getFreq.py Created on 2 Oct 2020 @author: semuadmin reads the GPS module to determine the current stored frequencies. I was unable to intgrates it into my code so I call getFreq.py from within my code.

Hardware requirements

This software has been tested on a Raspberry Pi Zero2, running headless. The program is started via SSH or the Linux terminal but can be configured to run on boot.

The u-blox GPS module is connected to the UART GPIO pins 14/15. +5V =pin4, GND =pin6, UART0_TXD GPIO14 = pin8, UART0_RXD GPIO15 = pin10. TXD is connected to RXD on the GPS board. RXD is connected to TXD on the GPS board.

The 2.4" Nextion display is a NX3224F024 'discovery' model. You should be able to modify the HMI file using the Nextion Editor to use any Nextion display.

Software requirements

The clock imports PySerial and serial.tools.list_ports which must be installed separately using PIP. It also imports, shelve, time, and threading

HMI file

The HMI file can be edited with the Nextion Editor software. Remove the .py extension first. The file in the package is sepcific to the NX3224F024 display, but you should be able to modify it using the Nextion Editor "Device ID" to use any Nextion display.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

GPSDO-0.1.0.tar.gz (833.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

GPSDO-0.1.0-py3-none-any.whl (836.0 kB view details)

Uploaded Python 3

File details

Details for the file GPSDO-0.1.0.tar.gz.

File metadata

  • Download URL: GPSDO-0.1.0.tar.gz
  • Upload date:
  • Size: 833.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.2

File hashes

Hashes for GPSDO-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ef7ce255b67ac0b0983f5d02637627674e502028364f381bf1595546bace884b
MD5 abe33035adb17c5913241d14f8e6a0dc
BLAKE2b-256 325aa941d16cdb71bdde32dd2814868929e9f9c5c02f44070678a890c58b7f9b

See more details on using hashes here.

File details

Details for the file GPSDO-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: GPSDO-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 836.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.2

File hashes

Hashes for GPSDO-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d33bfa01c1f945ff1412153d97368efe615719057a02f180770ce9c7eb203e3
MD5 9311e0d9fa97f2e2e15dd5c575cddd8e
BLAKE2b-256 457a067a62bd0a159147410c899381300432b0f485f1b5484efff76ad603fed3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page