Hi there!
I am building a location-based media system for a vehicle by using GPS, Raspberry PI, and mediaDROIDX player. So I watched the tutorial from DigitalSignage a few times (... video_tutorials.html?videoNumber=locationBasedPro), and also Googled around to understand how this all should be done.
I want to configure the mediaDROIDX in a local LAN to get the GPS coordinates from the Raspberry (sendLocalCommand), which will in turn get media updates from the Cloud server when the vehicle is back in Wifi range at the home base.
The Raspbian image made available by DigitalSignage assumes attaching an Adafruit Ultimate GPS HAT to a Raspberry PI2, which in turn will be the Wifi Access Point for the media player and the Wifi Router for media updates from the Cloud server.
GPS
Instead of attaching an Adafruit GPS HAT to the Raspberry, I want to use a USB GPS Receiver on a 1-2m cable such as the MG-220 or Columbus V800. These devices also send data as per NMEA protocol the same as the Adafruit Ultimate GPS HAT from the tutorial, but via USB and not UART.
1. Is there any known problem with using a USB GPS Receiver on the PI?
2. Is there a recommended USB GPS Receiver for this? An accuracy of <5m and cold start of say 30secs is fine.
3. Is there any changes to be made to the getgps.js script?
4. Will the cgps command work with getting GPS coordinates from USB instead of UART?
Raspberry PI
The tutorial recommends using a PI2, but that model is outdated and does not have built-in Wifi. Also, according to the Adafruit GPS HAT article, it will not work on the PI3 (other articles mention some workaround). Note that the image from DigitalSignage assumes PI2 and Wifi AP+Routing.
5. For data link reliability, I am thinking of connecting the Raspberry to the mediaDROIDX with an Ethernet cable and Eth/USB-OTG converter, instead of Wifi AP. Is my assumption correct that it will make no difference for GPS coordinate data transfer, for example via sendLocalCommand? Any recommended Ethernet/USB-OTG converter?
6. Even if using Ethernet cable, I still need Wifi Routing capability for media updates from the Cloud server. What is recommended to get this on the PI2?
7. Since I intend to use a USB GPS Receiver, is it safe to use the PI3 anyway as it has built-in Wifi that can be configured for Routing? Can I still use the same Raspbian image from DigitalSignage for this?
8. Can I use a Raspberry PI Zero W instead (and also use the same Raspbian image from DigitialSignage)?
Any help is much appreciated!