OpenMarine

Full Version: How to connect a GPS device using UART?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have MacArthurHAT on top of Raspi 5 and I'm trying to connect M5Stack GPS. I am using Pimoroni NVMe Base (as suggested Wink ), if that's relevant.

  1. I connected the TX and RX from GPS to pins GPIO12, 13 on Raspi (and GND and 5V as well) and I see the yellow LED for NMEA 0183 2 on MacArthur blinking, so I'm assuming the connection is done well.
  2. According to Header pinout, I understand that GPIO12 and 13 are connecting to UART5, correct?
  3. Unexpectedly, I see UART5 greyed out in Serial 4.0.14 [attachment=2924]
  4. Consequently, I understand it's logical that there are no connections [attachment=2925]

Can you please let me know what is the correct way to connect a GPS device using UART? Thanks!

OK, it works now, but seems that documentation is wrong.

Instead of UART5, I used UART4 (as it correctly say when enabling it on Serial app that it enables GPIO12 and 13) and now everything works fine, it seems.

Should the pinout be corrected to say GPIO12 and 13 are UART 4, instead of UART 5?
(2024-06-02, 06:34 PM)gordan Wrote: [ -> ]I have MacArthurHAT on top of Raspi 5 and I'm trying to connect M5Stack GPS. I am using Pimoroni NVMe Base (as suggested Wink ), if that's relevant.

  1. I connected the TX and RX from GPS to pins GPIO12, 13 on Raspi (and GND and 5V as well) and I see the yellow LED for NMEA 0183 2 on MacArthur blinking, so I'm assuming the connection is done well.
  2. According to Header pinout, I understand that GPIO12 and 13 are connecting to UART5, correct?
  3. Unexpectedly, I see UART5 greyed out in Serial 4.0.14
  4. Consequently, I understand it's logical that there are no connections

Can you please let me know what is the correct way to connect a GPS device using UART? Thanks!

OK, it works now, but seems that documentation is wrong.

Instead of UART5, I used UART4 (as it correctly say when enabling it on Serial app that it enables GPIO12 and 13) and now everything works fine, it seems.

Should the pinout be corrected to say GPIO12 and 13 are UART 4, instead of UART 5?

On a RPI4   it used UART5    But On a RPI5 it used UART4