Meshtastic 03 adding GPS on TTGO lora32 V2

 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

留言

這個網誌中的熱門文章

Heltec ESP32+OLED+Lora, hardware testing

micro SD card for ESP32, on lolin32 with OLED and heltec 32 lora oled

AIS0. understanding AIS NMEA 0183: How it's coded