1.3-dev
This commit is contained in:
@@ -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)
|
||||||
@@ -18,19 +18,3 @@
|
|||||||
| Black | 9 | Ground | 9 | GND | 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 |
|
| 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 |
|
| 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)
|
|
||||||
@@ -39,29 +39,11 @@
|
|||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
### Requirements
|
### Requirements
|
||||||
1. Raspberry Pi with
|
1. Raspberry Pi 4+
|
||||||
1. Raspberry Pi OS Light Version Installed
|
2. A timing specific GPS module
|
||||||
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)
|
|
||||||
3. I2C RTC Module
|
3. I2C RTC Module
|
||||||
1. RTC GND to Rpi Physical Pin 9 (GND)
|
1. battery for RTC Module
|
||||||
3. RTC SDA to RPi Physical Pin 3 (GPIO 2 / SDA1 (I2C))
|
4. Jumper wire to wire it up
|
||||||
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
|
|
||||||
### Wiring
|
### Wiring
|
||||||
[Pins and Wiring Guide](./Pins.md)
|
[Pins and Wiring Guide](./Pins.md)
|
||||||
#### OS
|
#### OS
|
||||||
@@ -94,11 +76,7 @@
|
|||||||
6. save and test
|
6. save and test
|
||||||
3. Dashboards->New-Import
|
3. Dashboards->New-Import
|
||||||
1. Upload [Garfana-Visualization.json](./Garfana-Visualization.json)
|
1. Upload [Garfana-Visualization.json](./Garfana-Visualization.json)
|
||||||
2.
|
**raspi-config**
|
||||||
#### Software (Manual)
|
|
||||||
Clone the repo
|
|
||||||
`git clone https://github.com/PrincessPi3/Precision-Timekeeping-Fuckery.git ~/Precision-Timekeping-Fuckery`
|
|
||||||
|
|
||||||
Run raspi-config
|
Run raspi-config
|
||||||
1. Interface Options->Serial Port
|
1. Interface Options->Serial Port
|
||||||
1. Would you like a login shell to be accessible over serial? **<No>**
|
1. Would you like a login shell to be accessible over serial? **<No>**
|
||||||
@@ -128,12 +106,3 @@ Run raspi-config
|
|||||||
* Breakout https://www.ebay.com/itm/134243322249
|
* Breakout https://www.ebay.com/itm/134243322249
|
||||||
|
|
||||||
**U-Blox Software (U-Center)** https://www.u-blox.com/en/product/u-center
|
**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**
|
|
||||||
|
|||||||
@@ -24,5 +24,21 @@ manual
|
|||||||
# tell clients im the big dog
|
# tell clients im the big dog
|
||||||
local stratum 1
|
local stratum 1
|
||||||
|
|
||||||
# Good Time Servers
|
# NTS Servers
|
||||||
pool time.cloudflare.com iburst
|
## 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
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
**todo**
|
# Todo
|
||||||
* case
|
* case
|
||||||
* Raspberry OS Lite
|
|
||||||
* Document scripts
|
* Document scripts
|
||||||
* time_fuckery.sh [test]
|
* time_fuckery.sh [test]
|
||||||
* show_running_configs.sh
|
* show_running_configs.sh
|
||||||
@@ -38,3 +37,5 @@
|
|||||||
* check wiring
|
* check wiring
|
||||||
* check antenna tight both ends
|
* check antenna tight both ends
|
||||||
* make image backup
|
* make image backup
|
||||||
|
|
||||||
|
**Known Bugs**
|
||||||
Reference in New Issue
Block a user