I wish to add GPS on my running meshtastic client on TTGO lora32. I have a GPS module outputs with nema at 9600bps. In the config app, in the position sector, you can find the redefine of PGS pins. I firstly use IO00 as GPS_RX_pin. But it does not work. I guess the web config use 0 as none-config default. Then I want to know what is the default pin for GPS in meshtastic for TTGO Lora 32, I use the 2.4.x firmware for V2.1-1.6. Checked the git, there is no default gps pin for this hardware, so I changed the gps to mcu pin to 34, leave other pins stuff as 0 and do the config . And it works. there is a new flasher, which still has LILYGO T-Lora V2.1-1.6 as board selection, with latest 2.5.xx firmware maintain 34,0,0 setting is no longer working. after few try, I decided to set to 34/32/25, where 32/25 are free pin on my board. I also reference to LILYGO Meshtastic T-Beam V1.2 ESP32 LoRaGPS WiFi , it has a gps on 34/12 with 34/12/0 the setting is still working
For my boat tracking system, I found out that using AIS format seems to be a good idea, at least I don't have to worry about how to present boat data, since there are already plenty things for do this on mobile phone or PC. Here is what I read: http://catb.org/gpsd/AIVDM.html Looking into AIS NMEA0183, it has much more application then I think. Such as MOB device, epir, aid to navigation device...etc, all are included. it use the first few char to indicate the function: Table 1. AIS talker IDs !AB NMEA 4.0 Base AIS station !AD MMEA 4.0 Dependent AIS Base Station !AI Mobile AIS station !AN NMEA 4.0 Aid to Navigation AIS station !AR NMEA 4.0 AIS Receiving Station !AS NMEA 4.0 Limited Base Station !AT NMEA 4.0 AIS Transmitting Station !AX NMEA 4.0 Repeater AIS station !BS Base AIS station (deprecated in NMEA 4.0) !SA NMEA 4.0 Physical Shore AIS Station It can also be used between device on boat for message communication, AIVDO The...
I use gps info of my cell phone when I take pictures, so that I can find where these pics were taken after a long voyage. I also wish to export these pics to google earth or google map, which can be kml or kmz. https://geosetter.de/en/download-en/ Geo setter is a very powerful one. Some times my phone was not able to add geotag info on the the picture, since it does not have location info at that time(indoor picture or gps was not available). Of course you can edit the pic, but geo sitter provide a better interface, you can pic a location on map and then assign the location to the photo that you selected. much easier than deal with coordinates. I notes the steps as following. After install geosetter, select the folder where you store your images. photos with a blue location dot means these pics contain geotag. select one pic with no blue dot, and go to top menu "map", select "show overview map" a google map will show up with goe location of pictures...
留言
張貼留言