2024-07-24 -

This commit is contained in:
Adolfo Delorenzo 2024-07-24 19:39:15 -06:00
parent 483bd83feb
commit 1c52539c35
5 changed files with 48 additions and 4 deletions

Binary file not shown.

View File

@ -12,7 +12,7 @@ from datetime import datetime
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
ser = serial.Serial('/dev/ttyS0', 115200)
ser = serial.Serial('/dev/ttyUSB3', 115200)
ser.flushInput()
rec_buff = ''

View File

@ -11,7 +11,7 @@ from datetime import datetime
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
ser = serial.Serial('/dev/ttyS0',115200)
ser = serial.Serial('/dev/ttyUSB3',115200)
ser.flushInput()
rec_buff = ''

View File

@ -9800,3 +9800,47 @@ Timestamp,Latitude,Longitude
2024-07-24 19:01:27,9.939978,-84.104878
2024-07-24 19:01:53,9.939978,-84.104878
2024-07-24 19:02:08,9.939978,-84.104878
2024-07-24 19:16:54,9.938575,84.100955
2024-07-24 19:17:09,9.939665,-84.104121
2024-07-24 19:17:24,9.939742,-84.104358
2024-07-24 19:17:39,9.939858,-84.104587
2024-07-24 19:17:54,9.939880,-84.104724
2024-07-24 19:18:09,9.939890,-84.104747
2024-07-24 19:18:23,9.939891,-84.104748
2024-07-24 19:18:24,9.939891,-84.104749
2024-07-24 19:18:38,9.939891,-84.104750
2024-07-24 19:18:39,9.939891,-84.104750
2024-07-24 19:18:53,9.939891,-84.104751
2024-07-24 19:18:54,9.939891,-84.104751
2024-07-24 19:19:08,9.939891,-84.104752
2024-07-24 19:19:09,9.939892,-84.104752
2024-07-24 19:19:24,9.939892,-84.104754
2024-07-24 19:19:39,9.939892,-84.104755
2024-07-24 19:19:54,9.939892,-84.104757
2024-07-24 19:20:09,9.939894,-84.104768
2024-07-24 19:20:24,9.939907,-84.104795
2024-07-24 19:20:39,9.939919,-84.104824
2024-07-24 19:20:54,9.939921,-84.104825
2024-07-24 19:21:09,9.939921,-84.104825
2024-07-24 19:21:25,9.939921,-84.104826
2024-07-24 19:21:40,9.939921,-84.104826
2024-07-24 19:21:55,9.939921,-84.104826
2024-07-24 19:22:10,9.939921,-84.104827
2024-07-24 19:22:25,9.939921,-84.104827
2024-07-24 19:24:21,9.939949,-84.105015
2024-07-24 19:24:36,9.939950,-84.104943
2024-07-24 19:24:51,9.939949,-84.104944
2024-07-24 19:25:06,9.939949,-84.104943
2024-07-24 19:25:21,9.939949,-84.104941
2024-07-24 19:25:36,9.939949,-84.104940
2024-07-24 19:31:49,9.939910,-84.104871
2024-07-24 19:32:04,9.939921,-84.104881
2024-07-24 19:32:19,9.939922,-84.104880
2024-07-24 19:32:34,9.939922,-84.104880
2024-07-24 19:32:49,9.939922,-84.104880
2024-07-24 19:33:04,9.939922,-84.104880
2024-07-24 19:33:19,9.939922,-84.104880
2024-07-24 19:33:20,9.939922,-84.104880
2024-07-24 19:33:34,9.939922,-84.104880
2024-07-24 19:33:49,9.939921,-84.104880
2024-07-24 19:34:04,9.939921,-84.104879

1 Timestamp Latitude Longitude
9800 2024-07-24 19:01:27 9.939978 -84.104878
9801 2024-07-24 19:01:53 9.939978 -84.104878
9802 2024-07-24 19:02:08 9.939978 -84.104878
9803 2024-07-24 19:16:54 9.938575 84.100955
9804 2024-07-24 19:17:09 9.939665 -84.104121
9805 2024-07-24 19:17:24 9.939742 -84.104358
9806 2024-07-24 19:17:39 9.939858 -84.104587
9807 2024-07-24 19:17:54 9.939880 -84.104724
9808 2024-07-24 19:18:09 9.939890 -84.104747
9809 2024-07-24 19:18:23 9.939891 -84.104748
9810 2024-07-24 19:18:24 9.939891 -84.104749
9811 2024-07-24 19:18:38 9.939891 -84.104750
9812 2024-07-24 19:18:39 9.939891 -84.104750
9813 2024-07-24 19:18:53 9.939891 -84.104751
9814 2024-07-24 19:18:54 9.939891 -84.104751
9815 2024-07-24 19:19:08 9.939891 -84.104752
9816 2024-07-24 19:19:09 9.939892 -84.104752
9817 2024-07-24 19:19:24 9.939892 -84.104754
9818 2024-07-24 19:19:39 9.939892 -84.104755
9819 2024-07-24 19:19:54 9.939892 -84.104757
9820 2024-07-24 19:20:09 9.939894 -84.104768
9821 2024-07-24 19:20:24 9.939907 -84.104795
9822 2024-07-24 19:20:39 9.939919 -84.104824
9823 2024-07-24 19:20:54 9.939921 -84.104825
9824 2024-07-24 19:21:09 9.939921 -84.104825
9825 2024-07-24 19:21:25 9.939921 -84.104826
9826 2024-07-24 19:21:40 9.939921 -84.104826
9827 2024-07-24 19:21:55 9.939921 -84.104826
9828 2024-07-24 19:22:10 9.939921 -84.104827
9829 2024-07-24 19:22:25 9.939921 -84.104827
9830 2024-07-24 19:24:21 9.939949 -84.105015
9831 2024-07-24 19:24:36 9.939950 -84.104943
9832 2024-07-24 19:24:51 9.939949 -84.104944
9833 2024-07-24 19:25:06 9.939949 -84.104943
9834 2024-07-24 19:25:21 9.939949 -84.104941
9835 2024-07-24 19:25:36 9.939949 -84.104940
9836 2024-07-24 19:31:49 9.939910 -84.104871
9837 2024-07-24 19:32:04 9.939921 -84.104881
9838 2024-07-24 19:32:19 9.939922 -84.104880
9839 2024-07-24 19:32:34 9.939922 -84.104880
9840 2024-07-24 19:32:49 9.939922 -84.104880
9841 2024-07-24 19:33:04 9.939922 -84.104880
9842 2024-07-24 19:33:19 9.939922 -84.104880
9843 2024-07-24 19:33:20 9.939922 -84.104880
9844 2024-07-24 19:33:34 9.939922 -84.104880
9845 2024-07-24 19:33:49 9.939921 -84.104880
9846 2024-07-24 19:34:04 9.939921 -84.104879

View File

@ -12,8 +12,8 @@ myhost = os.uname()[1]
client = mqtt.Client(myhost)
client.connect(mqttBroker, 1883)
preferred_device = '/dev/ttyUSB0'
fallback_device = '/dev/ttyUSB5'
preferred_device = '/dev/ttyUSB5'
fallback_device = '/dev/ttyUSB0'
device_path = preferred_device if os.path.exists(preferred_device) else fallback_device