A NTP Server with LTC Input and Offsetting Options
Find a file
2025-07-21 15:36:25 +01:00
firmware Add files via upload 2025-07-07 18:40:05 +01:00
release upload frameworks test build 2025-07-21 14:03:53 +01:00
src expanded boundaries for Sync Status 2025-07-21 15:36:25 +01:00
.gitattributes Add .gitattributes, .gitignore, and README.md. 2024-07-27 20:16:00 +01:00
.gitignore upload frameworks test build 2025-07-21 14:03:53 +01:00
Cargo.toml ntp service implemented 2025-07-20 17:37:02 +01:00
config.json Rust ported and tested version 2025-07-09 01:18:49 +01:00
README.md Update README.md 2025-07-21 07:06:29 +01:00
setup.sh Update setup.sh 2025-07-07 19:38:29 +01:00
splash.png Rename wallpaper.png to splash.png 2025-06-24 22:29:29 +01:00
test_ltc_serial.py final test_ltc_serial.py 2025-07-07 20:23:28 +01:00
timeturner.py final python script version - moving to RUST 2025-07-08 18:50:12 +01:00

🕰️ NTP Timeturner (alpha)

An LTC-driven NTP server for Raspberry Pi, built with broadcast precision and a hint of magic.

Inspired by the TimeTurner in the Harry Potter series, this project synchronises timecode-locked systems by decoding incoming LTC (Linear Time Code) and broadcasting it as NTP — with precision as Hermione would insist upon.


📦 Hardware Requirements


🛠️ Software Features

  • Reads SMPTE LTC from Audio Interface (3.5mm TRS but adaptable to BNC/XLR)
  • Converts LTC into NTP-synced time
  • Broadcasts time via local NTP server
  • Supports configurable time offsets (hours, minutes, seconds, milliseconds)
  • Systemd service support for headless operation
  • Optional splash screen branding at boot

🚀 Installation

Clone and run the installer:

wget https://raw.githubusercontent.com/cjfranko/NTP-Timeturner/master/setup.sh
chmod +x setup.sh
./setup.sh

🕰️ Chrony NTP

chronyc sources | Checks Source
chronyc tracking | NTP Tracking
sudo nano /etc/chrony/chrony.conf | Default Chrony Conf File

Add to top:
# Serve the system clock as a reference at stratum10
server 127.127.1.0
allow 127.0.0.0/8
local stratum 10

Add to bottom:
# Allow LAN clients
allow 0.0.0.0/0

# comment out:
pool 2.debian.pool.ntp.org iburst
sourcedir /run/chrony-dhcp