Stream Mobile Phone GPS to Raspberry Pi

Ready, click the button in the top right corner to generate summary
AI thinking...



Learn how to stream GPS data from your mobile phone to your Raspberry Pi. This works great for getting the GPS data from your mobile device to the Raspberry Pi in the field.

🔹Links mentioned in the video
iPhone App – https://itunes.apple.com/us/app/gps-2-ip/id408625926?mt=8
Android App – https://f-droid.org/packages/io.github.tiagoshibata.gpsdclient/

Timestamps
0:00 Intro
0:38 Phone GPS Advantages
2:43 Android App Overview
3:18 iPhone App Settings
5:43 Pi Settings
10:15 Make it Permanent
14:09 Bonus Sneak Peek

🔹Commands used in the video

🔹Raspberry Pi Build Guide – http://tiny.cc/pi4guide

🔹Frequently Asked Questions – http://tiny.cc/km4ack-faq

🔹Weekly Newsletter – https://mailchi.mp/40da1fe472e3/km4acknewsletter

🔹Follow Me
Instagram @km4ack
Twitter @km4ack

🔹FREE Get Started Guide – http://tiny.cc/getstartedguide

🔹Cool Ham Gear – http://km4ack.com

🔹Support the channel through Patreon – https://www.patreon.com/km4ack

🔹Did you just get a raspberry pi and want to hook it up to your radio? Start here https://youtu.be/E1SEgPFQk4M

Want your raspberry pi to play nice with your ham radio? Are you into digital modes like FT8, JS8Call, FLDIGI, Winlink, APRS, Digipeaters and others? Each week I put out new content showing you exactly what steps to take to get the latest ham radio software on your raspberry pi. Whether you just want to ragchew or are seriously into emergency preparedness, emcomm, or ARES and want to learn all you can about using the raspberry pi to drive your ham radio, this channel has something for you. Be sure to click the subscribe button and ring the bell before heading off. That way you will get notified of all future videos.

🔹My Shack🔹
Yaesu 857D – https://amzn.to/2MOAZtx
Yaesu FT65R – https://amzn.to/2XsOQq5
Raspberry Pi – https://amzn.to/2WjLzIk
Signalink Soundcard – https://amzn.to/2EZjxMx
🔹🔹🔹🔹🔹

As an Amazon Associate I earn from qualifying purchases

Previous Article TOP 20 Best Driving Games for Mobile!

44 Comments

  1. Thank you so much for your video,
    I used it to setup the App on the Iphone side, and used my own C based program to catch the GSP datagram,
    I use the light (free version) of GPS2IP which seem a bit limited.
    Is there a way to have the full version i trial mode?
    Taoufik

  2. Great video. I'm just getting into it and this really helps. But the Gpsd client will not load on my phone. it says it was made for an older version of my phone. An A11. Have you tried anything else? Also can that data be streamed to APRS?

  3. Thanks for the great video, a much better solution than getting GPS from the IC-705. Can we take it to the next level? How do we get that GPS data into WSJT-X's Autogrid option so that the WSJT-X maidenhead grid square can be updated from the phone GPS for portable ops?
    73 & thanks again for the great video,
    Tom, N2YTF

  4. I got the GPS from my phone to work with the Pi… now out in the field is it possible to share internet from the phone to the Pi while sharing the GPS data? 73 Ian

  5. Thank you! This simple method helped me avoid the USB Dongle completely, which kept having USB 3.0 interferences & other troubles. While the Dongle would take maybe 15-20 mins to see 10-12 satellites, the phone finds 36 satellites within 5 seconds. 🙏 You've made life soo much simpler for me!

  6. Brilliant, I was actually wondering this the other day!
    I downloaded that Android app.
    Do you happen to know of any newer Android app that may be better with options like the Mac version? Thnx Jason. 🙂

  7. This video is gold. I bought the ublox6 gps i found many problems. i got to this video late. This has worked like magic and cost me nothing. KM4CK you have a new follower!

  8. GPS 2 IP no longer exists and google has updated their terms for apps restricting gps functionality in the background when the app is not running making the user keep their phone screen on with app open. This ties up the phone to only one purpose.

  9. will it be able to use it for a Clock for FT8 and js8call, when offgrid and out of cell service?

  10. This is a great little trick, have you tried to do this on a pi-star system? I'm trying to combine pi-star with an APRS tracker. It looks like pi-star has stripped something from the OS, but I can't figure out what. GPSD gives you an error that it can not open the IPv6 socket. Just curious if you've tried this.

  11. One thing you might want to add is how to get GPSd on your PI if it didnt' come with it loaded (as the Raspian BUSTER might not). Just use the command sudo apt-get install gpsd gpsd-clients and it will go out and retrieve it. Otherwise, great video. Very helpful video as I didn't know about that app. Cheers

  12. Very cool. I also got it to work as Mr. Sheafer describes below: DEVICES=“udp://*:11123” Rebooted and still works lol

  13. Tried this method out in the field today, gps working a charm and cgps displays location elevation and time.

    However the pi system time didn’t update and I couldn’t figure out why.

  14. So I just got my Raspberry Pi and installed Build A Pi last evening. Wanting to add GPS to the system I followed along in this video and got GPS data streaming from my iPhone to Conky after a few minutes. Awesome! So I paid for the full version of the app and was quite happy until I had to reboot the Pi. Conky lost the GPS stream, and running CGPS confirmed no data coming in from the iPhone. And yes, I had edited the GPSD config file, in fact I watched that section of the video several time to make sure I didn’t make a typo, but no luck. I began reading thru the comments, looking for someone mentioning a similar problem and I came across Jim Sheafer’s comment about using an asterisk when assigning the UDP address in the config file. Figured why not give it a try, and for whatever reason I can now reboot the Pi and as long as I have the app running on the iPhone Conky regains it’s GPS data stream from the phone. Just thought I would throw that out in case someone runs into a similar problem. Thank you Jason for your work on Build A Pi, and all the other scripts you’ve developed!

  15. Once again another great video Jason! I have a slightly off topic question, but since you mention a Build a Pi 3 in the works is there any chance we might see D-RATS integrated in the new version or if at all possible? Thanks

  16. Bill-N6EF-Awesome, Jason. Thanks for sharing. I might be able to use an old phone I'm no longer using specifically for this use-case. I'll have to see if this works from the old Android table I use for logging since that's always powered up. If so, one freed up USB port.

  17. This is great Jason. You always have your cell phone with you, and the GPS in the phone seems to work even if you have no cell service available. I have a couple mapping apps on my phone and when I am hunting at our camp, which has no cell service, my mapping app still works and I can see my tracking on a USGS topographic map. This is really nice, and since I do have an Iphone I am going to get the app. Thanks for the video. Juddie – WD8WV

  18. Amazing! I'll be waiting for the GPS Help cause I have a bluetooth one (Holux GPSlim 236). Thanks Jason!

  19. Great work Jason, I really appreciate all you do for the ham community. You have done a great job at removing a lot of pain points and answering questions when it comes to the RPI and radio.

  20. Its actually not true that your phone is superiors to the usb stick. In fact they are rather equal. The problem is you are using sub par linux type operating system. Its like using an atari.

  21. Very interesting. How would you use this to accurately set the time clock on the Pi in the field?

  22. DEVICES=“udp://*:11123”

    Will make the pi listen on ALL network IPs for the NMEA stream, so there is no need to worry about what the IP of the pi is for that file.

    -Jim, KG4OAP

  23. can not get the gpsd android app to connect with pi. double checking the ip address is the pi or that or phone tried both ways , no joy

  24. Phone aside. Its possible to also serve the gps data over udp from a Pi to other devices on the network?

    For example if you have a pi with a dongle upstairs in your home providing time and gps data you could pass this gps data via udp. If another pc say in your basement can retrieve needed gps data via the network. This would not put a constant drain on your phone I suppose.

    Great info and tutorial Jason! Thank you!

  25. Hello Jason, this is a great tool , thanks.

    I have followed the instructions 2 or 3 times at the end of the installation the stream of gps data works 100%.

    However if I reboot then it fails to get the data from the iPhone, I am using the paid version on an iPhone and cgps does not get data.

    Any ideas?

    73 Alan G0SMD
    (Patreon)

  26. Thanks for all the hard work on this. Absolute awesome. Anytime I can multipurpose an item in my radio kit is huge plus. Keep up the good work. 73 de KF7VUT

  27. In the GPsDD app it's asking for User Name or Device Name. I just loaded this on my Android phone while I was watching the video. Downloaded the wrong one. It's GPSd I needed

  28. this is really great! one extra USB free on the Pi! thank you so much for your work Jason. cheers!
    p.s. anxiously waiting for the update tool 🙂