MOD-GPS is very sensitive, low power GPS SirfStarIII module with UEXT connector and can be connected directly to any of our boards. It sends NMEA messages with 19200 bps.
To connect it to OLinuXino is very easy just plug it to UEXT connector, to connect to RaspberryPI you will need RPI-UEXT adapter.
The Project files are at GitHub: https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/A13/MOD-GPS
MOD-GPS is with UART connection, as same UART is used in OLinuXino and RaspberryPI for console to work with MOD-GPS you should first disable the console and connect to OLinuXino or RaspberryPI via ssh.
In OLinuXino you should do this:
Comment the line: “T0:23:respawn:/sbin/getty -L -a root ttyS0 115200 vt102”
Save the file and reboot.
!!!Before rebooting you should have working SSH
in RaspberryPi you should do the same but there the console UART name is ttyAMA0
After the reboot login with ssh and connect MOD-GPS to OLinuXino or RaspberryPI, then compile and run it:
#make clean #make #./MOD-GPS --tty:"/dev/ttyXXX"
for OLinuXino ttyXXX is ttyS0 for RaspberryPi ttyXXX is ttyAMA0
if everything is OK you should see this picture:
congratulations now you have GPS to your linux board🙂