I would like to ask if it possible to get NMEA code/string from a GPS module that connected to one of the GPIO of a Raspberry?


You don't mention which GPS module you have, so I can not provide a definitive yes, but given the right GPS module it is possible using the UART (tx/rx pins). Another alternative depending on your module is to use one of the USB ports (either directly connected for modules that have a usb cable or via a USB to TTL cable). Adafruit has a complete tutorial covering the use of a GPS module with the Raspberry Pi.

  • hi @SteveRobillard right now my collegue told me that our GPS antenna provide NMEA code/string by means of its either TTL and RS323 – CeciliA Jan 9 '17 at 5:23
  • read the linked tutorial – Steve Robillard Jan 9 '17 at 5:24
  • You can also search this site for nema – Steve Robillard Jan 9 '17 at 5:26
  • Sir @SteveRobillard is there a way i can get the NMEA string using python? – CeciliA Jan 9 '17 at 5:34
  • 1
    Don't be sorry take it as a lesson learned, we were all noobs once and I learned this lesson from the very first system administrator I ever worked with. – Steve Robillard Jan 9 '17 at 6:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.