-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No GPS fix #20
Comments
Hello, I will update my code to support recent T-Beams at some point. In the meantime, @noppingen reported the changes needed to have that sketch work on the T-Beam v1.0 - in your case I suspect the change of GPS pins is needed. see #19 (comment) |
Thanks! I'll just leave this open for others that may end up here in the meantime. |
Good day to everyone, I would like to ask for help because like @rogerdahl I am also getting the "No gps Fix." issue, yet I am able to get updating GPS coordinates on the default firmware. I am using the following TTGO T-Beam module: I set up the dependencies as prescribed and the sketch compiles without issue of course. I've updated the device_config.h with my TTN details, as well as the gps.h file with my board's TX/RX pin. I've searched regarding this issue elsewhere and have also updated the Arduino_LMIC library file hal.cpp as prescribed for my particular board version, see here, which you referenced in #6 Thanks in advance for your time and effort. |
You shouldn't have had to do this : the default gps.h already is configured for that board gps pins. Can you double check that you didn't mess something up there please ? |
Thank you for your quick reply and apologies for the confusion, I didn't change the gps.h file for your library, I was thinking of a different library that I was working with previously. Double checked to see that it is the same with: Restarted the Arduino program and checked again on the Serial Monitor, still displaying "No gps Fix." at regular intervals. |
Can you list me the exact versions of the arduino ide, boards definition and librarys you use ? I can try to reproduce it here as I have the same board. |
Oh and by the way as far as I remember I didn't have to change hal.cpp for that board to work. |
Arduino IDE 1.8.12 Ohh, I only tried editing hal.cpp after I was already getting the "No gps Fix." error, I tried different things before finally coming here to ask for your help. Glad you have the same board, hopefully can get to the bottom of this without taking too much of your time. Thanks for the help! |
Before testing on my side, can you confirm that you are testing outside, with a clear view of the sky ? A GPS fix won't happen inside usually. Sorry if that was already obvious to you. On the same note, the T-Beam provided GPS antenna is far from ideal. Gps reception will improve a lot by upgrading it. |
No offense taken, first step of troubleshooting is the obvious things like did you turn it off and on again, haha. Anyway yes, I've tried it both indoors and outdoors, and I got an updating GPS fix (with number of satellites) in both testing locations with the default firmware. And I've also upgraded to a larger compatible antenna. :) |
Any update on this please? I also have the T-Beam and cannot get a GPS fix although other apps get a GPS fix just fine. |
@JulesFDR I just tested - sorry for the delay - and it has worked flawlessly for me. Hardware exactly the same as yours : Software : Settings : Flashed to the board, put a battery in, got outside and switched it on.
So at this point I don't know how to help you... |
@thearduinoguy Can you share the specifics of your setup please ? T-Beam version, etc... |
It is a T-Beam version 1.0 with the NEO-6M |
Ok then I haven't upgraded this sketch to support this recent version of the T-Beam yet. Will do at some point but don't know when. If you want to try that on your own, first you'll have to change the GPS pins assignments since they are wired differently. |
Thank you for this sketch!
I'm in the U.S. and trying your sketch with a TTGO T-BEAM module marked as follows:
With the default firmware (SoftRF), the module was able to get a GPS fix in short order. With this sketch, I'm unable to get a GPS fix at all. "No gps Fix." (man, that capitalization...) is written to the serial console at regular intervals.
I set up the dependencies as according to the README.md, using the versions listed. I'm on Linux and modified
~/Arduino/libraries/IBM_LMIC_framework/src/lmic/config.h
by changingCFG_eu868
toCFG_eu915
.Questions:
Have you tested the sketch with a v1.0 module?
Should I expect the red LED to start flashing when/if a GPS fix is obtained?
Should I be able to turn the module off without removing the battery?
Will any LoRa packets be transmitted before there is a GPS fix?
The text was updated successfully, but these errors were encountered: