Hi… I’m sorry if this is not directly related to Meshtastic, but is a bit more related to general hardware.
I bought a ttgo t-beam and i think the gps module might be broken. I cant get any GPS data in any application, or any of the test programs or the serial pass through. I haven’t been able to get any indication that the GPS module is active at all via the serial interface.
The board version is a T22-V1.0 20190612 with a Neo-6M GPS. I’m aware that it requires the correct setup of the power management chip to enable GPS.
I also read that in some cases, the GPS chip will only work reliably at a reduced baud rate (4800), but no deal.
I bet your problem is that the GPS is not powered. On the TBEAM there is a PMU (power management unit chip) called an AXP192. You need to tell that chip to turn on power to the GPS. If you look at meshtastic-device/src/main.cpp you’ll see an example you can copy. If you do that you can then set the TBEAM outside for 15 mins or so and the red led will start flashing (even if you never talk to the GPS). That tells you the GPS started and found satellites.
The default baud rate is 9600 bps and you should leave it at that.
Thanks for the answers.
I’m aware of the PMU and have already tried multiple different examples to enable the GPS chip without success.
Guess i’ll have to keep looking.
I bought two T-Beam modules, both T22_V1.1 20191212 version, and one of them also appears to have a bad GPS module. The other works fine, so it could just be bad luck…
@dafeman has a good point. Even though you aren’t normally using our code. You might try installing one of our prebuilt bins (per our README). Then you could at least know if your hardware is fine (set it outside and the red led should blink)
heh, well, that was the first thing i tried of course. I have gotten the red LED to blink on some occasions.
I’m pretty sure now that my boards serial connection is somehow faulty.
Thanks again for the replies
Both N8M and N6M can use active or passive GPS antennas. The small ceramic antennas coming with T-beam are less sensitive than the couple of real cheap active antennas I tested, which boost up GPS reception dramatically:
You would need to put a short pigtail-SMA adapter to mount an extra GPS antenna socket onto your case.
I designed a larger than usual 3D-printed T-beam box (permits to use larger screens/longer pinheaders) with a cover to receive a second SMA socket for the active GPS antenna.
When printed upside down, it permits to:
mount the small ceramic antenna (remove the support material and cut out the hole so the pigtail can pass, then hotglue the ceramic antenna on top which gives already a much better reception than when stuck on the battery compartment)
or leave the above space intact, and cut out the hole for the 2nd SMA socket for the active GPS antenna (my 3rd tT-beam setup is wired to LoRa + GPS antennas on the rooftop)
Thanks, I ordered the one from amazon that has the pigtail for u.fl to sma. Your setup looks good, I will have the longer gps coax to get it outside the vehicle. I like having both sma connectors to plug my antenna feeds into.
Hi I bought a few STOTON high gain antennas too. They did really improve the satellite coverage and speed to fix. I have only one SMA adaptor to fit the very small tbeam sma socket so have not done too much with them yet. I exchanged the standard antenna on a tbeam T22_V1.1 with the M8N gps. It seemed to go well - I had left the battery on the device but it was switched off. It was difficult to push on the small sma on the device but I finally managed it. I have 1.1.0 loaded on the tbeam and it seemed to boot up fine - it meshes with another tbeam and connects to my app via bluetooth. It’s seen on the android app (1.1.8) as a device I can select it and it’s present on the list of devices with no ? mark against it. However if I select it then texting does not work. If I select my other meshed device then texting works to both devices. I appear to have damaged my tbeam in some way? Any thoughts appreciated. I don’t want to wreck anymore tbeams!
I have the same problem with my T-Beam. Red GPS light is blinking, but no NMEA output received on the ESP32. Looking to the circuit diagram, there are two resistors R58/59 within the serial connections between ublox module and ESP32. I assume, that may be one of these resistors is not installed on the board. On the board there is a row of resistors and may be capacitors located between the ESP32 and the USB port. In my case one of these is not installed and different to photos of other those boards. But, as I do not have a layout of the board, I am not sure whether R58/59 are one in this row.
Thank you very much for this. I tried couple of day to make it working and nothing helped. I had red GPS light blinking but nothing on serial “No GPS data received: check wiring”. Running code V3 brought NMEA code on serial. So after that, also other sketches get GPS.