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

Can't get GPS data #36

Open
guilhermesdas opened this issue Feb 18, 2020 · 7 comments
Open

Can't get GPS data #36

guilhermesdas opened this issue Feb 18, 2020 · 7 comments

Comments

@guilhermesdas
Copy link

Hi, I have a TTGO T22_V07 board and it's not receiving gps data. I'm running this code in Arduino IDE. I already tried to upload with these boards: TTGO Lora32-OLED V1, TTGO T1 and ESP32 Dev Module.

The GPS blue red is always turn on but the red led never flashes. I already tried to test in the window outside my house but nothing changes.

@jpnoronhaa
Copy link

I have the same problem, but my board is a T-Beam. I run the GPS code in the correct board and the output is:

No GPS data received: check wiring
Latitude : 0.00000
Longitude : 0.0000
Satellites: 0
Altitude : 0.00M
Time : 0:0:0

@minusplusminus
Copy link

same problem

@gagliardi67
Copy link

TX IO34 RX IO12 : ESP 32 input

@cvanaalst
Copy link

I have the same problem (T-beam v1 with Neo-M8N GPS), I cannot get the gps to work - I have bought 2 - lora works, but I have tried everything - the GPS does not work on either of the two ...


No GPS data received: check wiring
Latitude : 0.00000
Longitude : 0.0000
Satellites: 0
Altitude : 0.00M
Time : 0:0:0
Speed : 0.00


In addition I tried the TinyGPS++ lib and this shows me that nothing is being read over the serial connection from the Neo-M8N GPS ....

@minusplusminus
Copy link

Figured out that the AXP192 has to be enabled. If not, gps won't be active. See this repo for more info: https://github.com/kizniche/ttgo-tbeam-ttn-tracker

@rlpdavid
Copy link

rlpdavid commented Jul 25, 2020

Did anyone ever make this work? Looks like the AXP PMU itself is the culprit. I2C devices are working when connected to 21/22 but these can't get recognized.

#define AXP192_SLAVE_ADDRESS 0x34 #define GPS_POWER_CTRL_CH 3 #define LORA_POWER_CTRL_CH 2 #define PMU_IRQ 35

@Sherlock-Homie
Copy link

I have been using the ESP TTGO T-Beam V1.1 and found the examples from LilyGo, GlacierJay often initialize the GPS with different pin mappings to what my device requires (probably using a different version or flavour from LilyGO)

Ensure you are using Pin 34 for TX, and Pin 12 for RX.

your code should look something like - Serial1.begin(9600, SERIAL_8N1, 34, 12);

I just modified the example from GlacierJay and managed to get it to work: https://github.com/glacierjay/T_beam/tree/master/gps/tbeam_gps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants