Skip to content

Unable to recive gps data in arduino ide after connecting lora-gps shield #15

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

Open
cmporeddy opened this issue Mar 27, 2021 · 1 comment

Comments

@cmporeddy
Copy link

cmporeddy commented Mar 27, 2021

Unable to receive GPS data in Arduino ide after connecting LorR-GPS shield
GPS data that I'm receiving is something wrong and I found no tutorial that has proper instructions. Everyone that worked with Dragino GPS shield having the same problem. How can I solve this, Is there any official tutorial to guide how to configure the LoRa GPS shield.

NOTE: I removed the jumpers, connected "RX-4" & "TX-3".

Please someone help me fix this issue.

GPS DATA THAT I RECEIVE IS SOMETHING LOOKS LIKE THIS:

{
  "ALARM_status": false,
  "BatV": 0,
  "FW": 150,
  "LON": "OFF",
  "Latitude": -2137.614208,
  "Longitude": -1768.423424,
  "MD": "Disable",
  "Pitch": 0,
  "Roll": 0
}
@De-Man
Copy link

De-Man commented Jan 29, 2022

Hi team, I just connected up my LORA-GPS shield as per:

https://wiki.dragino.com/index.php?title=Lora/GPS_Shield

Initially it did not work. I found the problem was in the tutorial, as per the attached picture:

image

Then using the following code:

https://github.com/dragino/Arduino-Profile-Examples/blob/master/libraries/Dragino/examples/GPS/tinygps_example/tinygps_example.ino

In the tutorial they have the pins around the wrong way based on this:

image

So to fix it: swap the wires around either in the code, or to the board.

i.e, from this:

SoftwareSerial ss(3, 4); // Arduino TX, RX ,

to this:

SoftwareSerial ss(4, 3); // Arduino TX, RX ,

Hopefully this helps.

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

2 participants