This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to connect a GPS device using UART?
#1
Question 
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?
Reply
#2
(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
Sailing in a LM23  23" motor sailor i Danmark  .  Mostly In Koege bay  .
Harbored  in SF-Syd  , Copenhagen .
Marine Enginer  ,   Pt. working on power plant 
Reply
#3
https://openplotter.readthedocs.io/en/4.....html#uart
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)