Waveshare RP2040-LoRa can't get GPS work #5671
-
Has anyone been successful in getting a GPS to work with the Waveshare RP2040-LoRa board? I have tried two different GPS's with no luck. I tried using 3 different pairs of Uart pins. I also tried connecting the same GPS's to a Heltec V3, and both GPS's worked the first try using that hardware. Thanks for any help you can offer. Walter |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
What do you see in the logs? https://flasher.meshtastic.org --> Open Serial Monitor ? If you are building your own firmware, try setting #define GPS_DEBUG 1 in variant.h |
Beta Was this translation helpful? Give feedback.
-
There's a lot going on, but I don't see any [GPS] references, like there are on devices that do connect to the gps. I am not seeing any serial errors, or anything. Is there something I should be looking for? |
Beta Was this translation helpful? Give feedback.
-
Give it a reboot. Early in the startup, there should be lines about detecting a GPS ... or not. |
Beta Was this translation helpful? Give feedback.
ok, try adding
#define HAS_GPS 1
#define GPS_TX_PIN (XXX) // This is for bits going TOWARDS the CPU - replace XXX with the GPIO number
#define GPS_RX_PIN (XXX) // This is for bits going TOWARDS the GPS - replace XXX with the GPIO number
#define PIN_SERIAL1_RX GPS_TX_PIN
#define PIN_SERIAL1_TX GPS_RX_PIN