This commit is contained in:
2025-10-29 19:01:17 -06:00
parent 832a1a81d1
commit 79340916d5
5 changed files with 50 additions and 59 deletions
+21
View File
@@ -0,0 +1,21 @@
# Notes
## Cable Delay
gps cable delay : RG-85 : 0.051 ns/cm
10ft in cm: 304.8
gps cable delay: 304.8*0.051 = 15.5448ns, round up to 16ns
## pins running
### GPS
#### gps WORKING
yellow - 3.3v - pi physical #17 (3.3)
black - gnd - pi physical #6 (gnd)
white - pps - pi Physical #12 (gpio 18)
blue - rx (module) to tx (pi) pi physical #8 (tx)
green - tx (module) to rx (pi) pi physical #10 (rx)
baud 9600
### RTC
#### i2c rtc WORKING!
red - 3.3v - pi physical #1 (3.3)
black - gnd - pi physical #9 (gnd)
brown - scl - pi physical #5 (i2c clock)
green - sda - pi physical #3 (i2c data)
+1 -17
View File
@@ -17,20 +17,4 @@
| Red | 1 | Voltage In | 1 | 3.3 Volts | 3.3 V | NOT 5V TOLERANT |
| Black | 9 | Ground | 9 | GND | 3.3 V | NOT 5V TOLERANT |
| Brown | 3 | SCL1 / I2C Clock | 5 | GPIO 4 / SCL1 | 3.3 V | NOT 5V TOLERANT |
| Green | 4 | SDA1 / I2C Data | 3 | GPIO 2 / SDA1 | 3.3 V | NOT 5V TOLERAGE |
# GPS
# gps WORKING
yellow - 3.3v - pi physical #17 (3.3)
black - gnd - pi physical #6 (gnd)
white - pps - pi Physical #12 (gpio 18)
blue - rx (module) to tx (pi) pi physical #8 (tx)
green - tx (module) to rx (pi) pi physical #10 (rx)
baud 9600
# RTC
# i2c rtc WORKING!
red - 3.3v - pi physical #1 (3.3)
black - gnd - pi physical #9 (gnd)
brown - scl - pi physical #5 (i2c clock)
green - sda - pi physical #3 (i2c data)
| Green | 4 | SDA1 / I2C Data | 3 | GPIO 2 / SDA1 | 3.3 V | NOT 5V TOLERAGE |
+6 -37
View File
@@ -39,29 +39,11 @@
## Setup
### Requirements
1. Raspberry Pi with
1. Raspberry Pi OS Light Version Installed
2. SSH Access
3. sudo permissions
2. A timing specific GPS module, wired to the Raspberry Pi GPIOs:
1. GPS GND to RPi Physical Pin 6 (GND)
2. GPS RX to RPi Physical Pin 8 (GPIO 14 / TX (UART))
3. GPS TX to RPi Physical Pin 10 (GPIO 15 / RX (UART))
4. GPS PPS to RPi Physical Pin 12 (GPIO 18)
5. GPS VIN to RPi Physical Pin 27 (3.3 volts)
1. Raspberry Pi 4+
2. A timing specific GPS module
3. I2C RTC Module
1. RTC GND to Rpi Physical Pin 9 (GND)
3. RTC SDA to RPi Physical Pin 3 (GPIO 2 / SDA1 (I2C))
4. RTC RCL to RPi Physical Pin 5 (GPIO 4 / SCL1 (I2C))
5. RTC VCC to RPi Physical Pin 1 (3.3 volts)
### Install
### Hardware
1. pi4/5 and stuff for it
2. gps timing module
3. rtc
4. battery for rtc
5. wires
1. battery for RTC Module
4. Jumper wire to wire it up
### Wiring
[Pins and Wiring Guide](./Pins.md)
#### OS
@@ -94,11 +76,7 @@
6. save and test
3. Dashboards->New-Import
1. Upload [Garfana-Visualization.json](./Garfana-Visualization.json)
2.
#### Software (Manual)
Clone the repo
`git clone https://github.com/PrincessPi3/Precision-Timekeeping-Fuckery.git ~/Precision-Timekeping-Fuckery`
**raspi-config**
Run raspi-config
1. Interface Options->Serial Port
1. Would you like a login shell to be accessible over serial? **<No>**
@@ -127,13 +105,4 @@ Run raspi-config
* Chipset https://www.u-blox.com/en/product/neolea-m8t-series
* Breakout https://www.ebay.com/itm/134243322249
**U-Blox Software (U-Center)** https://www.u-blox.com/en/product/u-center
notes:
gps cable delay : RG-85 : 0.051 ns/cm
10ft in cm: 304.8
gps cable delay: 304.8*0.051 = 15.5448ns, round up to 16ns
**known bugs**
**U-Blox Software (U-Center)** https://www.u-blox.com/en/product/u-center
+18 -2
View File
@@ -24,5 +24,21 @@ manual
# tell clients im the big dog
local stratum 1
# Good Time Servers
pool time.cloudflare.com iburst
# NTS Servers
## Stratum 1
### Wiktel
server ntp1.wiktel.com iburst nts maxsamples 1
server ntp2.wiktel.com iburst nts maxsamples 1
## Stratum 2
### Ubuntu
server 1.ntp.ubuntu.com iburst nts maxsamples 1
server 2.ntp.ubuntu.com iburst nts maxsamples 1
### System76
server ohio.time.system76.com iburst nts maxsamples 1
server virginia.time.system76.com iburst nts maxsamples 1
### Cifelli
server stratum1.time.cifelli.xyz iburst nts maxsamples 1
server time.cifelli.xyz iburst nts maxsamples 1
## Stratum 3
### Cloudflare
server time.cloudflare.com iburst nts maxsamples 1
+4 -3
View File
@@ -1,6 +1,5 @@
**todo**
# Todo
* case
* Raspberry OS Lite
* Document scripts
* time_fuckery.sh [test]
* show_running_configs.sh
@@ -37,4 +36,6 @@
* backup image
* check wiring
* check antenna tight both ends
* make image backup
* make image backup
**Known Bugs**