Hello colleagues!
I have in use 2 modules TTGO Lora 32 V2.1 and I have a separate GPS module NEO-6. I want to do an experiment. In this regard, there are questions:
Can I connect NEO-6 to Lora32 V2.1 module?
Is there support for GPS modules in the Lora32 V2.1 firmware?
Maybe it is possible to activate the GPS-modules with some kind of meshtastic-commands?
Unfortunately, I’m not a programmer at all and I have to look for coders from friends. I hope there is someone who can deeply understand the code and help me with something. If the result is positive, then I will definitely share it.
The GPS support needs to be included at build time, so alas the python tool can’t do it. However, for all ESP32 targets (unless the target has been customized for a different pin) have the GPS enabled on the following pins:
gpio 34 gps_rx (i.e. data from the gps towards the main CPU)
gpio 12 gps_tx (i.e. data from the main CPU towards the GPS)
If you use these pins you don’t need to build any code at all. And both pins look unused on the lora board you mentioned,
At a minimum you need to hook up power, ground and gps_rx. gps_tx is optional but recommended.
But all of these behaviors are controlled by src/configuration.h. In this case see line 108.
I downloaded firmware 1.2.11 alpha to my T3_V1.6 module
I connected the GPS to the module along three lines (+V, GND and TX (data from GPS to the module, pin IO34))
But the screen also shows No GPS. (At the same time, the module shows with an LED that the satellites have been found and the coordinates have been fixed.)
If this is the code for ESP32 pico d4, which is in the T3_1.6 module, then IO36 is not in it. For the convenience of connection, it would probably be convenient to use IO_15 and IO_13, since on the board, these pins are next to each other.
For example, maybe it would be convenient to connect like this. IO_13 and IO_15 or IO_34 and IO_35. Perhaps even crossed. The main thing is that there would be pins nearby.
Kevin, thanks a lot for editing the code.
Checked the work of the GPS. Everything works well. I see my position on the T3_V1.6 board!
I only used the TX line on pin IO15 (RX for the CPU and TX for the GPS module) and it worked.
Yes, you say everything correctly! I wanted to check the gps very quickly, I forgot to connect the antenna.
Don’t forget to connect the radio antennas to the board!