kizniche / ttgo-tbeam-ttn-tracker

TTGO T-Beam Tracker for TTN Mapper and TTN Tracker using US (915 MHz) and EU (868 MHz) frequencies
https://kylegabriel.com/projects/2019/04/lorawan-tracker-and-mapper.html
GNU General Public License v3.0
262 stars 140 forks source link

GPS doesn't work... #20

Open schroepfer opened 4 years ago

schroepfer commented 4 years ago

... with t-beam Rev1. My T_BEAM_V10 is defined in the configuration.h , the RX and TX of the GPS is set right. The blue GPS-LED blinks, even the t-beam is switched off!

I searched GPS for hours. It doesn*t work. With Meshtastic GPS is working fine. With the t-beam GPS-testsoftware from https://github.com/luckynrslevin/TTGO-T-Beam-GPS it also doesn't work. Any hints?

Juergen

muckisg commented 3 years ago

Another payload output:

image

T-Beam display data is correct but ...

kizniche commented 3 years ago

Okay. Please start a new issue, as this is different issue from this one.

muckisg commented 3 years ago

OK

MatthiasHertel21 commented 3 years ago

We've come to the conclusion that Meshtastic has "broken" the TBeams GPS. We took a know good T-Beam running ttgo-tbeam-ttn-tracker (GPS lock acquired within a few minutes). Then flashed Meshtastic 0.91. That acquired a GPS lock within a few minutes. Then we reflashed ttgo-tbeam-ttn-tracker - now NO GPS. We loaded up a basic GPS serial comms sketch and theres no output from the GPS serial port. I tied the battery short reset but that doesnt make a difference. I've filed a bug report on the Meshtastic Github page: meshtastic/Meshtastic-device#334 Just received a shipment of 6 TBeams from LilyGo (all shipped with Meshtastic) and none of them will acquire a GPS lock.

thanks. same behaviour here ...

Not sure if the GPS reset scripts are working (nothing happens uploading the sketch ... last message from arduino is "Hard resetting via RTS pin ...") ... device stucks after that ...

netmonk commented 3 years ago

Do you know that meshtastic is modifying gps settings during run ? Did you try to reset your gps to factory settings ?

MatthiasHertel21 commented 3 years ago

indeed - it 's working fine after a reset of the GPS Chip ... thanks for your help!

geeksville commented 3 years ago

To clarify: meshtastic didn't "break" the GPS. The GPS has configurable protocol options that it stores in its own flash, meshtastic just uses a different set of options (Ublox protocol rather than NMEA) than this project and tells the GPS to make those changes.

robomaniac commented 2 years ago

Hello I've modified a LilyGO sketch with SparkFun libraries to help you out to reset U-blox NEO GPS devices on TTGO T-beam T22- V1.0 and 1.1 This sketch will bring back U-blox GPS N6M & N8M factory settings so that NMEA 9600 over the GPS serial output is enabled. You can download this sketch on my GitHub: https://github.com/eriktheV-king/TTGO_T-beam_GPS-reset It worked fine for my 5 T-beams... good luck !

this works for me. all my TTGO had meshtactics and could not get GPS to lock on TTGO T-Beam Tracker. I uploaded your code for few minutes then uploaded TTGO T-Beam Tracker again and got everything to work! thanks!

davmu49 commented 10 months ago

Hello,

I have a T-Beam-AXP2101-V1.2 and the gps doesn't works. Meshtastic was already installed on it when i got it

I tried all the sketch above but none of them works for me as they were all written for AXP192.

I'm quite a newbie so i'm unable to correct the code.

Could someone help me please ?

Regards