1749847166

This commit is contained in:
2025-06-13 14:39:26 -06:00
parent 86d26bd581
commit 87b0e9b3e8
6 changed files with 12 additions and 11 deletions
+2 -2
View File
@@ -1,13 +1,13 @@
Added RTC (https://www.adafruit.com/product/3013)
added packages python3-smbus i2c-tools to installer
updated installer to set gpio baud to 230400
updated installer to set gpio baud to 460800
added rtc i2c overlay /boot/firmware/config.txt
removed fake-hwclock package
NEO GPS Module
Wiring
Changed to 5v mode
U-Center-2 (https://www.u-blox.com/en/u-center-2)
Changed Baudrate UART1 to 230400
Changed Baudrate UART1 to 460800
Time Pulse Mode
Antenna Cable Delay set to the calculated 14ns
Installer
+1 -1
View File
@@ -108,7 +108,7 @@ Upload ~/Garfana-Visualization.json to create dashboard
* use 5v
* adjust time delay to be closer to
* higher baudrate
1. 230400
1. 460800
* README
* installer1-4.sh
* sudo apt update && sudo apt install -y git
@@ -5,7 +5,7 @@ dtoverlay=pps-gpio,gpiopin=18
## GPS GPIO UART
enable_uart=1
init_uart_baud=230400
init_uart_baud=460800
## I2C Hardware RTC Overlay
dtoverlay=i2c-rtc,ds3231
+2 -2
View File
@@ -4,8 +4,8 @@
DEVICES="/dev/ttyS0 /dev/pps0"
# -n means start without a client connection (i.e. at boot)
# -s 115200 is to set baud to 230400
GPSD_OPTIONS="-n -s 230400"
# -s 115200 is to set baud to 460800
GPSD_OPTIONS="-n -s 460800"
# also start in general
START_DAEMON="true"
+5 -4
View File
@@ -17,8 +17,6 @@ rtc module
remove from rc
read rtc `sudo hwclock -r`
set rtc `sudo hwclock -w`
raspberry pi RTC tutorial: https://learn.adafruit.com/adding-a-real-time-clock-to-raspberry-pi/set-rtc-time
pinout: https://learn.adafruit.com/adafruit-ds3231-precision-rtc-breakout/pinouts
battery: CR1220
@@ -31,8 +29,11 @@ rtc module
do oneshot sync?
script set every x seconds
`sudo hwclock -r`
change gps to use 5v if possible so rtc can use 3v
GPS module
baudrates
1. 115200 // working
2. 230400
3. 460800
cable delay
cable is 10ft? RG-174?
14.3
+1 -1
View File
@@ -60,7 +60,7 @@ else
#
# sudo bash -c "echo '# GPS GPIO UART' >> /boot/firmware/config.txt"
# sudo bash -c "echo 'enable_uart=1' >> /boot/firmware/config.txt" # enable uart
# sudo bash -c "echo 'init_uart_baud=230400' >> /boot/firmware/config.txt" # set baudrate here too
# sudo bash -c "echo 'init_uart_baud=115200' >> /boot/firmware/config.txt" # set baudrate here too
# # i2c
# sudo bash -c "echo '# I2C Hardware RTC Overlay' >> /boot/firmware/config.txt"
# sudo bash -c "echo 'dtoverlay=i2c-rtc,ds3231' >> /boot/firmware/config.txt"