Stream Mobile Phone GPS to Raspberry Pi

  Рет қаралды 12,952

KM4ACK

KM4ACK

Күн бұрын

Пікірлер: 67
@divye.ruhela
@divye.ruhela 2 жыл бұрын
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!
@KM4ACK
@KM4ACK 2 жыл бұрын
You're welcome! I use the cell phone GPS as my primary but keep one of the cheap GPS dongles with me as a backup.
@JoshHoffman
@JoshHoffman 3 жыл бұрын
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.
@COUREURSdesBOIS88
@COUREURSdesBOIS88 2 жыл бұрын
This is outstanding! Performs flawlessly! Really appreciate all this legwork you do to make this as easy as possible!
@jaws3810
@jaws3810 3 жыл бұрын
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!
@ClarksvilleTN
@ClarksvilleTN 3 жыл бұрын
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
@lasantiagoa
@lasantiagoa 3 жыл бұрын
Boom! Truly exciting work. Loved even more the GPS tool! Jason you are amazing, many thanks!
@ct7aus
@ct7aus 3 жыл бұрын
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 :)
@JnJTrueOutdoorAdventures
@JnJTrueOutdoorAdventures 3 жыл бұрын
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
@DonzLockz
@DonzLockz 2 жыл бұрын
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. :)
@cowboy898
@cowboy898 Жыл бұрын
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?
@KM4ACK
@KM4ACK Жыл бұрын
I haven't tied anything else. I am running an 11 pro max with the latest iOS and it still works on mine. Can't remember which processor the 11 pro has though.
@kb9mtd-aaronwebb
@kb9mtd-aaronwebb 3 жыл бұрын
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!
@yv6eda
@yv6eda 3 жыл бұрын
Amazing! I'll be waiting for the GPS Help cause I have a bluetooth one (Holux GPSlim 236). Thanks Jason!
@Capitaine.Albator
@Capitaine.Albator 3 жыл бұрын
Wow nicely explained!!!
@tga094
@tga094 9 ай бұрын
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
@KM4ACK
@KM4ACK 9 ай бұрын
Don't think they offer a trial version.
@arniep740
@arniep740 3 жыл бұрын
Very interesting. How would you use this to accurately set the time clock on the Pi in the field?
@andrewhamop6665
@andrewhamop6665 3 жыл бұрын
It's still GPS information, just coming from a different receiver. I would assume it would update just like a regular hardware GPS would.
@biringen
@biringen 3 жыл бұрын
will it be able to use it for a Clock for FT8 and js8call, when offgrid and out of cell service?
@KM4ACK
@KM4ACK 3 жыл бұрын
Yes. GPS works on most phones even when cell service is unavailable.
@donod2
@donod2 3 жыл бұрын
Thanks, works great here.
@kc3kop915
@kc3kop915 2 жыл бұрын
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
@bishalhazarika135
@bishalhazarika135 2 жыл бұрын
I need a android tutorial for the same thing. Its an emergency..please help me or share me some details how to do so?
@RTSRetroTechShed
@RTSRetroTechShed 3 жыл бұрын
Thanks Jason, great tip! :)
@phillipkf4raf
@phillipkf4raf 3 жыл бұрын
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
@KM4ACK
@KM4ACK 3 жыл бұрын
Maybe. I need to learn a bit about DRATS first and give it a trial run so I can answer at least basic questions that I may be asked.
@tomtumino1664
@tomtumino1664 Жыл бұрын
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
@KM4ACK
@KM4ACK Жыл бұрын
Provided that autogrid can read from gpsd, it should work out of the box as the phone gps data is being served by gpsd. If instead autogrid is pulling direct from the gps, I don't have an answer.
@lonewolfhamradio
@lonewolfhamradio 3 жыл бұрын
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.
@KarolKrasickiKK
@KarolKrasickiKK 3 жыл бұрын
Is it possible to make it work over bluetooth?
@KM4ACK
@KM4ACK 3 жыл бұрын
Can't say for sure. Only tried it over WiFi.
@dankissel6437
@dankissel6437 3 жыл бұрын
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.
@KM4ACK
@KM4ACK 3 жыл бұрын
I haven't play with pi-star. Sorry.
@mikering5383
@mikering5383 3 жыл бұрын
Doesn’t the USB also provide accurate timekeeping?
@KM4ACK
@KM4ACK 3 жыл бұрын
Both should provide timekeeping.
@n3vmt126
@n3vmt126 3 жыл бұрын
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
@BadHorsie2
@BadHorsie2 2 жыл бұрын
What brand phone is this. I clicked the link and it brought up several different ones.
@KM4ACK
@KM4ACK 2 жыл бұрын
Mine is an LG but I couldn't find my specific model on Amazon. Any recent prepaid Android phones should work.
@FreeStuffGuy916
@FreeStuffGuy916 3 жыл бұрын
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.
@catalinalb1722
@catalinalb1722 3 жыл бұрын
That is just great! 🙂 👍
@W7LDT
@W7LDT 3 жыл бұрын
How did you come up with port 11123 as the one to use?
@KM4ACK
@KM4ACK 3 жыл бұрын
It was suggested in one of the apps. Think it was the iPhone app.
@michaelnadlerki7qib728
@michaelnadlerki7qib728 3 жыл бұрын
You can choose any number you want, but there are side effects of the choice. In general, choose a port number above 1024. Below 1024 are privileged ports requiring root access. If you happen to choose a port that is used by some application you are already using, you will have problems. List of assigned TCP/UDP ports can be found at en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers. 11123 turns out to be unassigned, hence it's probably safe.
@jbird4h30
@jbird4h30 3 жыл бұрын
This stopped working for me after the update to Build A Pi V3.0.8
@KM4ACK
@KM4ACK 3 жыл бұрын
Try using the GPS update tool to set it up again. I am still running it without issue. Also, be sure both the pi and the phone are on the same network.
@jbird4h30
@jbird4h30 3 жыл бұрын
@@KM4ACK Tried the update tool several times. I believe they were on the same network, but I’ll verify asap, thanks. If that doesn’t work: Next step I’ll try is running through this whole process again from scratch.
@va7dgp
@va7dgp 3 жыл бұрын
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
@KM4ACK
@KM4ACK 3 жыл бұрын
Links to the apps shown in the video are in the description :-)
@lonewolfhamradio
@lonewolfhamradio 3 жыл бұрын
Nice, sometimes my usb gps takes its own sweet time updating, it will be good to have an alternative.
@lonewolfhamradio
@lonewolfhamradio 3 жыл бұрын
I tested this today, it’s perfect and I can still VNC from my iPad when I’m streaming gps from my phone!
@willdaniels8531
@willdaniels8531 3 жыл бұрын
I keep getting the error sudo: unable to resolve host WD1AJMPi: No address associated with hostname Any ideas?
@KM4ACK
@KM4ACK 3 жыл бұрын
use the ip address instead of the hostname.
@timk7749
@timk7749 3 жыл бұрын
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
@alantaylor2162
@alantaylor2162 3 жыл бұрын
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)
@KM4ACK
@KM4ACK 3 жыл бұрын
Assuming you modded the gpsd file try running “sudo systemctl restart gpsd” and see if that helps. Also, reach out to me through Patreon. Curious to figure this one out.
@jaysunkreuze1466
@jaysunkreuze1466 2 жыл бұрын
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.
@KM4ACK
@KM4ACK 2 жыл бұрын
I am still showing both apps available using the links in the description. Once you have streamed the GPS data to the Pi for a few minutes, the time should be set. You can then turn off the GPS on the phone. The Pi will keep accurate time until it is shutdown or rebooted. The only reason you might want to keep streaming the GPS data is if your station is moving and you need constant grid square updates. In that case, a USB GPS dongle might be a better fit. Personally I use the stream method as my primary GPS and keep a USB GPS dongle in by bag as a backup.
@leecwilkin
@leecwilkin 3 жыл бұрын
all works until i reboot
@InternetGoldMiner
@InternetGoldMiner 3 жыл бұрын
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.
@BrantleySmithNC
@BrantleySmithNC 3 жыл бұрын
36+ million units sold. Linux is a bit clunky but Windows isn't perfect either.
@robertocarloscaruso6840
@robertocarloscaruso6840 2 жыл бұрын
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!
Winlink Gateway on a Raspberry Pi LinBPQ
25:44
KM4ACK
Рет қаралды 12 М.
Ultimate Raspberry Pi for your Ham Radio
18:21
KM4ACK
Рет қаралды 56 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 11 МЛН
One day.. 🙌
00:33
Celine Dept
Рет қаралды 59 МЛН
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 31 МЛН
Long Nails 💅🏻 #shorts
00:50
Mr DegrEE
Рет қаралды 18 МЛН
MQTT with a Raspberry Pi and an Arduino
19:34
Gary Explains
Рет қаралды 73 М.
HELP! Conky Won't Start :: GPS Issue
10:48
KM4ACK
Рет қаралды 7 М.
the Raspberry Pi PHONE SYSTEM! (3CX PBX at home)
14:49
NetworkChuck
Рет қаралды 748 М.
Ultimate Raspberry Pi  Build | Ham Radio
32:54
Off-Grid Ham Radio OH8STN
Рет қаралды 101 М.
Top 10 Uses for a Raspberry Pi (400th EC video!)
11:24
ExplainingComputers
Рет қаралды 246 М.
Raspberry Pi 5: Getting Started
24:43
Jeff Geerling
Рет қаралды 514 М.
APRS Digipeater Raspberry Pi Buster
28:15
KM4ACK
Рет қаралды 40 М.
Conky System Info for Ham Radio Digital Operators
15:30
KM4ACK
Рет қаралды 19 М.
Top 5 Raspberry Pi Projects for Ham Radio
10:34
KM4ACK
Рет қаралды 36 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 11 МЛН