1749842195
This commit is contained in:
1 parent
57813b5a02
commit
e08c045322
24 files changed
+30
-17
No files matched your search
@@ -0,0 +1,8 @@
|
|||||||
|
Added RTC (https://www.adafruit.com/product/3013)
|
||||||
|
NEO GPS Module
|
||||||
|
Wiring
|
||||||
|
Changed to 5v mode
|
||||||
|
U-Center-2 (https://www.u-blox.com/en/u-center-2)
|
||||||
|
Changed Baudrate UART1 to 921600 # 460800
|
||||||
|
Time Pulse Mode
|
||||||
|
Antenna Cable Delay set to the calculated 14ns
|
||||||
@@ -42,11 +42,16 @@
|
|||||||
2. SSH Access
|
2. SSH Access
|
||||||
3. sudo permissions
|
3. sudo permissions
|
||||||
2. A timing specific GPS module, wired to the Raspberry Pi GPIOs:
|
2. A timing specific GPS module, wired to the Raspberry Pi GPIOs:
|
||||||
1. GPS GND to RPi pin 6
|
1. GPS GND to RPi Physical Pin 6 (GND)
|
||||||
2. GPS VIN to RPi pin 2 or 4
|
2. GPS RX to RPi Physical Pin 8 (GPIO 14 / TX (UART))
|
||||||
3. GPS PPS to RPi pin 12 (GPIO 18)
|
3. GPS TX to RPi Physical Pin 10 (GPIO 15 / RX (UART))
|
||||||
4. GPS RX to RPi pin 8
|
4. GPS PPS to RPi Physical Pin 12 (GPIO 18)
|
||||||
5. GPS TX to RPi pin 10
|
5. GPS VIN to RPi Physical Physical 4 (5 volts)
|
||||||
|
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
|
### Install
|
||||||
Clone the repo
|
Clone the repo
|
||||||
@@ -99,16 +104,13 @@ Upload ~/Garfana-Visualization.json to create dashboard
|
|||||||
**todo**
|
**todo**
|
||||||
* case
|
* case
|
||||||
* gps sma antenna adaptor
|
* gps sma antenna adaptor
|
||||||
* ntp server
|
|
||||||
* outside dial in
|
|
||||||
* cloudflare tunnel?
|
|
||||||
* change gps settings
|
* change gps settings
|
||||||
|
* use 5v
|
||||||
|
* adjust time delay to be closer to
|
||||||
* higher baudrate
|
* higher baudrate
|
||||||
1. 230400
|
1. 230400
|
||||||
2. 460800
|
2. 460800
|
||||||
3. 921600
|
3. 921600
|
||||||
* uninstall desktop/etc
|
|
||||||
* change boot target to cli
|
|
||||||
* README
|
* README
|
||||||
* installer1-4.sh
|
* installer1-4.sh
|
||||||
* sudo apt update && sudo apt install -y git
|
* sudo apt update && sudo apt install -y git
|
||||||
|
|||||||
Binary file not shown.
+1
-1
@@ -56,7 +56,7 @@ else
|
|||||||
sudo bash -c "echo '# the next 3 lines are for GPS PPS signals' >> /boot/firmware/config.txt"
|
sudo bash -c "echo '# the next 3 lines are for GPS PPS signals' >> /boot/firmware/config.txt"
|
||||||
sudo bash -c "echo 'dtoverlay=pps-gpio,gpiopin=18' >> /boot/firmware/config.txt"
|
sudo bash -c "echo 'dtoverlay=pps-gpio,gpiopin=18' >> /boot/firmware/config.txt"
|
||||||
sudo bash -c "echo 'enable_uart=1' >> /boot/firmware/config.txt"
|
sudo bash -c "echo 'enable_uart=1' >> /boot/firmware/config.txt"
|
||||||
sudo bash -c "echo 'init_uart_baud=115200' >> /boot/firmware/config.txt" # set baudrate here to
|
sudo bash -c "echo 'init_uart_baud=921600' >> /boot/firmware/config.txt" # set baudrate here to
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# check if pps-gpio is in /etc/modules already
|
# check if pps-gpio is in /etc/modules already
|
||||||
|
|||||||
+6
-1
@@ -21,7 +21,12 @@ sudo usermod -aG dialout _chrony
|
|||||||
|
|
||||||
# reconfigure to normal mode
|
# reconfigure to normal mode
|
||||||
echo "Starting configure script..."
|
echo "Starting configure script..."
|
||||||
bash ./reconfig_full.sh ./working-normal-level-conf
|
# quiet level
|
||||||
|
# bash ./reconfig_full.sh ./reconfig_full.sh ./working-normal-level-conf
|
||||||
|
# running (warn level)
|
||||||
|
# bash ./reconfig_full.sh ./working-warn-level-conf
|
||||||
|
# debug/dev mode
|
||||||
|
bash ./reconfig_full.sh ./working-debug-level-conf-dev
|
||||||
|
|
||||||
# enable services
|
# enable services
|
||||||
echo "Enabling Services..."
|
echo "Enabling Services..."
|
||||||
|
|||||||
@@ -11,9 +11,7 @@ rtc module
|
|||||||
notes:
|
notes:
|
||||||
https://serverfault.com/questions/1093101/chrony-hosting-time-with-rtc-as-authoritative-clock-on-an-air-gapped-isolated?__cf_chl_tk=G_sZX4ClltOv3fQJpH1q2a65tx4O2s_H_FObeBQ2UyU-1749831141-1.0.1.1-W0v5fl8cCrf0tIpB0pAqIb93L5MuoWeebiHm7iLGAlo
|
https://serverfault.com/questions/1093101/chrony-hosting-time-with-rtc-as-authoritative-clock-on-an-air-gapped-isolated?__cf_chl_tk=G_sZX4ClltOv3fQJpH1q2a65tx4O2s_H_FObeBQ2UyU-1749831141-1.0.1.1-W0v5fl8cCrf0tIpB0pAqIb93L5MuoWeebiHm7iLGAlo
|
||||||
https://stackoverflow.com/questions/49730407/how-to-do-one-shot-time-sync-using-chrony
|
https://stackoverflow.com/questions/49730407/how-to-do-one-shot-time-sync-using-chrony
|
||||||
add bat
|
do oneshot sync?
|
||||||
wire up
|
|
||||||
do oneshot sync
|
|
||||||
script set every x seconds
|
script set every x seconds
|
||||||
`sudo hwclock -r`
|
`sudo hwclock -r`
|
||||||
change gps to use 5v if possible so rtc can use 3v
|
change gps to use 5v if possible so rtc can use 3v
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
@@ -4,8 +4,8 @@
|
|||||||
DEVICES="/dev/ttyS0 /dev/pps0"
|
DEVICES="/dev/ttyS0 /dev/pps0"
|
||||||
|
|
||||||
# -n means start without a client connection (i.e. at boot)
|
# -n means start without a client connection (i.e. at boot)
|
||||||
# -s 115200 is to set baud to 115200
|
# -s 115200 is to set baud to 921600
|
||||||
GPSD_OPTIONS="-n -s 115200"
|
GPSD_OPTIONS="-n -s 921600"
|
||||||
|
|
||||||
# also start in general
|
# also start in general
|
||||||
START_DAEMON="true"
|
START_DAEMON="true"
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user