Upgrade Your Smartphone GPS to 100X More Accurate RTK GPS

Moderator: Jason Lin

Jason Lin
Posts: 310
Joined: Thu Feb 12, 2015 3:09 pm
Contact:

Upgrade Your Smartphone GPS to 100X More Accurate RTK GPS

Postby Jason Lin » Fri Dec 04, 2015 6:06 am

High precision Bluetooth RTK GPS receiver on market cost many thousand dollars. They work with smartphone, boosting smartphone’s internal meter-level GPS accuracy 100X to centimeter-level accuracy using external RTK GPS.

Using a affordable RTK GPS receiver, a GPS antenna, and a Bluetooth serial, one can have this high-precision RTK GPS for smartphone under $100.

Below shows simple hardware hookup needed:
green wire: 3.3V
white wire: ground
yellow wire: NMEA from RTK GPS to Bluetooth serial
blue wire: base station data from Bluetooth serial to RTK GPS

20151203_194827.jpg
20151203_194827.jpg (1.35 MiB) Viewed 18389 times


On software side:
Install Lefebure NTRIP Client from the Android Play Store

Screenshot_2015-12-04-04-27-54.png
Screenshot_2015-12-04-04-27-54.png (302.27 KiB) Viewed 18389 times


Select Settings Option

Screenshot_2015-12-04-04-29-41.png
Screenshot_2015-12-04-04-29-41.png (175.2 KiB) Viewed 18389 times


Screenshot_2015-12-04-05-03-12.png
Screenshot_2015-12-04-05-03-12.png (69.8 KiB) Viewed 18389 times


Select NTRIP Settings.
Set Network Protocol to NTRIP v1.0
Set up IP, COM port, user name, password of accessible base station providing RTK service. Select suitable data stream available that match user name and password entered.
A article on available public RTK base station in USA is available here: http://gpsworld.com/finally-a-list-of-public-rtk-base-stations-in-the-u-s/

Screenshot_2015-12-04-05-10-50.png
Screenshot_2015-12-04-05-10-50.png (123.2 KiB) Viewed 18389 times


When done, change to Receiver Settings page.
Receiver Connection choose External via Bluetooth. Before selecting Bluetooth Device, enable smartphone Bluetooth, scan if the Bluetooth serial device has not paired before. After pairing Bluetooth, for Bluetooth Device you can select Bluetooth serial used for RTK. You can decide if to save GPS NMEA data to file or save NTRIP base station data to file. Select GPS Mock Locations to allow other App to use RTK GPS.

Screenshot_2015-12-04-05-19-54.png
Screenshot_2015-12-04-05-19-54.png (197.4 KiB) Viewed 18389 times


When done, change to Display Settings page.
Change Info Box1 and Box2 to show longitude and Latitide so you can see position coordinate changing.

Screenshot_2015-12-04-05-23-26.png
Screenshot_2015-12-04-05-23-26.png (120.73 KiB) Viewed 18389 times


When done, go to top level screen and click Connect. NTRIP Client first try to connect with base station over Internet. When connected, no GPS fix available it shows Invalid and zero for latitude and longitude

Screenshot_2015-12-04-06-29-21.png
Screenshot_2015-12-04-06-29-21.png (220.45 KiB) Viewed 18385 times


After getting position, it first show normal meter-level accuracy GPS position fix, with 10 satellite in this case.

Screenshot_2015-12-04-06-29-44.png
Screenshot_2015-12-04-06-29-44.png (336.27 KiB) Viewed 18385 times


After 10 seconds it shows FloatRTK, meaning RTK receiver is trying to resolve integer cycle count number for each satellite in order to get centimeter-level accuracy.

Screenshot_2015-12-04-06-29-55.png
Screenshot_2015-12-04-06-29-55.png (369.81 KiB) Viewed 18385 times


After getting to centimeter-level accuracy, it shows RTK,

Screenshot_2015-12-04-06-30-35.png
Screenshot_2015-12-04-06-30-35.png (392.02 KiB) Viewed 18385 times


If you run GPS application, such as GPS Essentials, in the Satellites window, one can see position accuracy estimate is 0.02 yard

Screenshot_2015-12-04-03-47-40.png
Screenshot_2015-12-04-03-47-40.png (71.82 KiB) Viewed 18389 times


If using internal GPS of Samsung Galaxy Note 3, position accuracy estimate is 3.3 yard

Screenshot_2015-12-04-03-52-05.png
Screenshot_2015-12-04-03-52-05.png (725.51 KiB) Viewed 18389 times


Now one can proudly own survey grade centimeter-level accuracy RTK receiver working with his smartphone, like those couple thousand dollar Bluetooth RTK receiver on the market: http://www.terragotech.com/products/terrago-edge/gps-receivers !

This testing is done on roof of building. 3.3V from USB Serial breakout board used to power RTK GPS and Bluetooth serial.

For ease of use, 3 breakout board can be put into protective 3D printed enclosure with RF connector for signal input like those professional Bluetooth RTK receivers, to have option of using better antenna if needed.

20151204_063242.jpg
20151204_063242.jpg (3.9 MiB) Viewed 18384 times


At this high precision, GPS position measurement can be precise and accurate. Do you know typical GPS receiver we use daily use can be off by more than 5 meters?

Last week road test was done on open sky road driving back and forth 4 times keeping vehicle on road center, in morning and afternoon, logging position using popular brand GPS/GLONASS receiver, result is red and green tracks. Using RTK GPS receiver to log similarly, result is yellow and white tracks. As seen, normal GPS/GLONASS receiver deviate more than 5 meters, while RTK GPS deviate around 0.5 meters mostly due to human driving error. Such error usually not seen on maps due to map now show GPS position to nearest road, masking such position error.

Untitled__.png
Untitled__.png (729.48 KiB) Viewed 18092 times




Lefebure NTRIP Client
https://play.google.com/store/apps/details?id=com.lefebure.ntripclient&hl=en

GPS Essential
https://play.google.com/store/apps/details?id=com.mictale.gpsessentials&hl=en

Jason Lin
Posts: 310
Joined: Thu Feb 12, 2015 3:09 pm
Contact:

Re: Upgrade Your Smartphone GPS to 100X More Accurate RTK GPS

Postby Jason Lin » Wed Dec 30, 2015 2:01 pm

All shipping NS-HP base input baud rate lowered to 57600, different from 115200 at writing of this blog, so Bluetooth Serial PIO2 need to pull-high setting baud rate to 57600 if repeating this DIY project.

MarkO
Posts: 20
Joined: Fri Dec 18, 2015 8:03 am
Contact:

Re: Upgrade Your Smartphone GPS to 100X More Accurate RTK GPS

Postby MarkO » Wed Jan 13, 2016 12:32 pm

Thanks for the info. I tried to connect to local RTK correction stream. Everthing working, but only pulling in 6 or 7 birds max before it cuts out. Could be a power issue (I'm only using I think 200 mw power adapter) at 5V. Either that or maybe the antenna is garbage?

MarkO
Posts: 20
Joined: Fri Dec 18, 2015 8:03 am
Contact:

Re: Upgrade Your Smartphone GPS to 100X More Accurate RTK GPS

Postby MarkO » Wed Jan 13, 2016 12:34 pm

Jason Lin wrote:All shipping NS-HP base input baud rate lowered to 57600, different from 115200 at writing of this blog, so Bluetooth Serial PIO2 need to pull-high setting baud rate to 57600 if repeating this DIY project.


What exactly does this mean, and how does one rectify it?

Could be my problem???

Jason Lin
Posts: 310
Joined: Thu Feb 12, 2015 3:09 pm
Contact:

Re: Upgrade Your Smartphone GPS to 100X More Accurate RTK GPS

Postby Jason Lin » Wed Jan 13, 2016 1:37 pm

> but only pulling in 6 or 7 birds max before it cuts out.

What do you mean by "cuts out" ?


If you are using Bluetooth Serial from our web store, then PIO2 need t be connected to 3.3V to work at 57600 baud rate, since NS-HP RX2 expect base station data at 57600. If PIO2, PIO3, PIO4 are left unconnected, Bluetooth Serial has default baud rate of 115200.

MarkO
Posts: 20
Joined: Fri Dec 18, 2015 8:03 am
Contact:

Re: Upgrade Your Smartphone GPS to 100X More Accurate RTK GPS

Postby MarkO » Wed Jan 13, 2016 11:30 pm

After a few minutes it seems to stop reporting a fix. But you can see it does communicate for a while, I just wonder why it's seeing only 6 or 7 GPS sat's?


Also, could my power supply be too low? The adapter I'm using is 100 mA/6V
Attachments
Screenshot_2016-01-11-22-02-26.png
Screenshot_2016-01-11-22-02-26.png (368.29 KiB) Viewed 17503 times

Jason Lin
Posts: 310
Joined: Thu Feb 12, 2015 3:09 pm
Contact:

Re: Upgrade Your Smartphone GPS to 100X More Accurate RTK GPS

Postby Jason Lin » Thu Jan 14, 2016 5:24 pm

Your screen capture: PRN30 signal may be too low, need more time to collect data to be used for position fix. PRN7 might be unhealthy? PRN21 and PRN26 evevation angle too low, not used. PRN46 & PRN51 SBAS default not used for position fix, you can enable SBAS for position fix by : from Venus 8 pull-down menu choose "Configure SBAS".
Attachments
Untitled_.png
Untitled_.png (269.25 KiB) Viewed 17481 times
Untitled.png
Untitled.png (230.5 KiB) Viewed 17481 times

Jason Lin
Posts: 310
Joined: Thu Feb 12, 2015 3:09 pm
Contact:

Re: Upgrade Your Smartphone GPS to 100X More Accurate RTK GPS

Postby Jason Lin » Mon Jan 18, 2016 2:42 pm

100mA @ 6V power supply may be a problem. NS-HP module is 90mA peak. Bluetooth is 50mA, already over the 100mA capability. Might be good to have a higher current sourcing supply.

MarkO
Posts: 20
Joined: Fri Dec 18, 2015 8:03 am
Contact:

Re: Upgrade Your Smartphone GPS to 100X More Accurate RTK GPS

Postby MarkO » Mon Jan 18, 2016 9:53 pm

How many satellites does it need to compute a fixed position? The most I've seen is 8, and I believe they are all GPS (no Beidou, GLONASS)

Jason Lin
Posts: 310
Joined: Thu Feb 12, 2015 3:09 pm
Contact:

Re: Upgrade Your Smartphone GPS to 100X More Accurate RTK GPS

Postby Jason Lin » Tue Jan 19, 2016 6:18 am

7 or more could get fixed solution, but still subject to same requirement conditions for RTK fix mentioned in NS-HP user guide. You can use GNSS Radar or GNSS View to find out which hours you could see more satellite at your location.


Return to “Blogs”

Who is online

Users browsing this forum: No registered users and 1 guest