Ok. Check the A+ pinout (https://pinout.xyz/). You can see that indeed GPIO 14 (pin 8) is UART Tx, and GPIO 15 (pin 10) is UART Rx. Therefore, the data out pin from the GPS must be connected to pin 10, and must not exceed 3.3V. Also, GND on the GPS must be connected to Pi GND.Hi again, thanks for all the kipperly advice, might take me a while to digest it all though.
The Pi I'll be using is an "A+" . I've written successful code for a gps connected to the usb port via an FDTI thingy, but as the A+ only has one usb port I'll be needing that for a USB memory stick. Once I've read the data I can manipulate that to give me what I need. Really all I need is the Python command to read the data coming in on the RX pin.
If you click on GPIO 15 at that website you get a little more information, such as "you must make sure you disable the Serial Console in raspi-config first.", and a link to more information:
https://pinout.xyz/pinout/uart
There is also a short code sample using WiringPi. The use of WiringPi is not relevant, but if you look at the code it opens port '/dev/ttyAMA0'. You can do the same with PySerial, so the last thing to confirm is the baud rate of the GPS.
Your kipper is smoking.
Statistics: Posted by ame — Wed Apr 03, 2024 4:28 am