Skip to content
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

T-Deck Plus GPS example? #52

Open
richonguzman opened this issue Oct 3, 2024 · 13 comments
Open

T-Deck Plus GPS example? #52

richonguzman opened this issue Oct 3, 2024 · 13 comments
Labels

Comments

@richonguzman
Copy link

I cant find any info about how to activate, read or do anything to make GPS work

any info about model, brand?

is it always powered?

@lewisxhe
Copy link
Contributor

lewisxhe commented Oct 4, 2024

This example is compatible with both u-blox and l76k GPS. T-deck and t-deckplus are exactly the same, except for an additional GPS module

https://github.com/Xinyuan-LilyGO/T-Deck/blob/master/examples/GPSShield/GPSShield.ino

@richonguzman
Copy link
Author

is this example ment to activate into NMEA and then only use the SerialGPS.read(); in the Loop?

or should it run the complete configuration process of the GPS each time I turn on the board?

@lewisxhe
Copy link
Contributor

lewisxhe commented Oct 4, 2024

  1. is this example ment to activate into NMEA and then only use the SerialGPS.read(); in the Loop?

Yes

  1. or should it run the complete configuration process of the GPS each time I turn on the board?

No, I wrote the configuration process only to make it compatible with both GPS modules, and to restore the factory configuration of the device that has been flashed with meshtastic firmware, otherwise it will not be able to obtain NMEA and baud rate correctly. If you don't use meshtastic, the default baud rate of the ublox version is 38400, and the L76K version is 9600

@richonguzman
Copy link
Author

now you confuse me: the T-Deck Plus has only the L76K module, right? so for "non" meshtastic code I should use 9600, right?

@lewisxhe
Copy link
Contributor

lewisxhe commented Oct 4, 2024

T-Deck Plus has two GPS versions,
One is UBlox-M10Q GPS, using 38400 baud rate
The second is Quectel L76K, using 9600 baud rate

@richonguzman
Copy link
Author

got it, so I must test for which one works without opening the case. Or can I identify them only by looking it? or how it answer to the different BAUD_SPEEDs?

@lewisxhe
Copy link
Contributor

lewisxhe commented Oct 4, 2024

@richonguzman
Copy link
Author

awesome!

thanks a lot!! will add this soon to the Growing LoRa APRS World ;)

@lewisxhe
Copy link
Contributor

lewisxhe commented Oct 4, 2024

LoRa_APRS_Tracker ? OK. Thanks for your contribution.

Remember that T-Deck-Plus has two GPS versions! Remember to make them compatible, otherwise the fixed 9600 baud rate will cause the UBlox version to be unable to read GPS data

@richonguzman
Copy link
Author

tomorrow will test the code to see:

  1. T-Deck Plus GPS identifier
  2. T-Deck Plus GPS change to NMEA (depending on Gps type)
  3. Two Versions/Environments for both GPS versions of T-Deck Plus

@richonguzman
Copy link
Author

a little modification to be runned on VSCODE and T-deck worked fine (not L76K but M10Q was initialized and stayed fine for later usage on LoRa APRS Tracker Firmware)

should I share here the code or should I upload to github for others to see?

@lewisxhe
Copy link
Contributor

Hi @richonguzman

You can submit a simple example as a PR and put it in the examples of this repository.

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants