I've read through a few discussions on this forum about poor man's DGPS and getting relative accuracy down to the ~1m range.  It seems no one's having much luck even with identical GPS units.  I'm wondering if anyone has manged this and what are your thoughts on what I'm currently building.


I'm laying out a PCB for a ublox LEA-6T (that's the one that outputs raw data and carrier phase) to interface to a MCU and a 433MHz radio.  That's the mobile unit.  My base station is then a single board computer with it's own LEA-6T, radio, and software running GPSTk post-processing software.  The mobile board will then radio the raw data (subframes 1 and 2 and psuedo range and carrier info) to my base station.  Base station code then chooses a set of sattellites that work well for both units and calculates position of both units using the same satallites and same ephemeris data.  (calculated position could then be radioed back to mobile unit)


The units are genearlly pretty close to each other (spatially) so the only error here should be that inherent to the ublox measuring psuedorange--no constellation, algorithm, iono/troposphere, ephemeris differences.


Has anybody tried this?  Do you think I can get a relative accuracy of ~1m?



Thanks for any thoughts guys and gals!


You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –


  • Hi, I can suggest you to try DGPS using differential code correction. You can use your own base or grab NTRIP stream from a local GNSS reference. Then, you wireless send RTCM 2.3 correction to any new generation u-blox/NVS receiver.

    We did it. We send RTCM 2.3 correction to a GNSS inside football players shinguard. Accuracy is submetric.


    • That's awesome accuracy. Where is your antenna? in the shinguard? ceramic patch?

      • Hi Noland. Yes, we use a tuned ceramic patch inside the shinguard and we wireless send real time corrections. Code corrections are very stable also in dynamic. Accuracy decreases with the distance from the reference (better <10km, best <1km).

  • are there still people following this thread?

    i am setting up my RTK system using 2 ublox receivers and 2 ublox active patch antenna and RTKLIB,,, sometimes i get FIX solution for short period of time but mostly FLOAT SOLUTION. Also, when i get a new FIX the position changes there is no precise point in every FIX.

    can you help me sort things out.

    thank you very much

    PS. here are my config files for ucenter and rtklib

    RTK config.conf

    RAW 10HZ.txt

  • Developer

    Did you ever get anywhere with this?

  • Dear Noland.

    I hope you have it up and running as your question was posted in 2010 .

    I have an u-blox LEA-4T.

    By hardware ublox can only accept input of RTCM messages 1,2,3 and 9. Code messages.

    It would be possible to get centimeter with carrier phase messages 18/20 and 19/21.

    I have reached 1 cm static for a 11km  baseline, confirmed with a L1+L2 geodetic receiver.

    take a look in www.rtklib.com It is a nice GPL2 software.

    I am looking for an RTCM-104 encoder to use 4T as RTK-base.


    julio menezes

    RTKLIB: An Open Source Program Package for GNSS Positioning
  • Hi All!


    I am also working on a project with the ublox LEA-4T dev kits and RTKLib.  I tried a while ago to get an RTK solution using RTKLib but the quality was quite poor, as the solution drifted by at least 10m to 20m.  This was a static test using two antenna's supplied with the ublox recievers (http://www.u-blox.com/en/gps-antennas/gps-antennas/ann-ms.html), mounted on tripods about 2m apart in an empty parking lot (reasonable sky view, I would say). Does anyone have any advice as to how to improve this solution?  Perhaps better antennas?  What are some good (reasonably priced) options?  I do intend to have them on some flying vehicles eventually, so the smaller the better!



  • Looks like there is also a SkyTraq USB dongle available from a 3rd party:

  • If you are having trouble finding/budgeting the Ublox, don't forget that the Skytraq is available with a 'RAW capable' firmware and works with RTK Lib.

    They are happy to take paypal.
This reply was deleted.


DIY Robocars via Twitter
How to use the new @donkey_car graphical UI to edit driving data for better training https://www.youtube.com/watch?v=J5-zHNeNebQ
DIY Robocars via Twitter
RT @SmallpixelCar: Wrote a program to find the light positions at @circuitlaunch. Here is the hypothesis of the light locations updating ba…
Nov 26
DIY Robocars via Twitter
RT @SmallpixelCar: Broke my @HokuyoUsa Lidar today. Luckily the non-cone localization, based on @a1k0n LightSLAM idea, works. It will help…
Nov 25
DIY Robocars via Twitter
@gclue_akira CC @NVIDIAEmbedded
Nov 23
DIY Robocars via Twitter
RT @luxonis: OAK-D PoE Autonomous Vehicle (Courtesy of zonyl in our Discord: https://discord.gg/EPsZHkg9Nx) https://t.co/PNDewvJdrb
Nov 23
DIY Robocars via Twitter
RT @f1tenth: It is getting dark and rainy on the F1TENTH racetrack in the @LGSVLSimulator. Testing out the new flood lights for the racetra…
Nov 23
DIY Robocars via Twitter
RT @JoeSpeeds: Live Now! Alex of @IndyAChallenge winning @TU_Muenchen team talking about their racing strategy and open source @OpenRobotic…
Nov 20
DIY Robocars via Twitter
RT @DAVGtech: Live NOW! Alexander Wischnewski of Indy Autonomous Challenge winning TUM team talking racing @diyrobocars @Heavy02011 @Ottawa…
Nov 20
DIY Robocars via Twitter
Incredible training performance with Donkeycar https://www.youtube.com/watch?v=9yy7ASttw04
Nov 9
DIY Robocars via Twitter
RT @JoeSpeeds: Sat Nov 6 Virtual DonkeyCar (and other cars, too) Race. So bring any car? @diyrobocars @IndyAChallenge https://t.co/nZQTff5…
Oct 31
DIY Robocars via Twitter
RT @JoeSpeeds: @chr1sa awesomely scary to see in person as our $1M robot almost clipped the walls as it spun at 140mph. But it was also awe…
Oct 29
DIY Robocars via Twitter
RT @chr1sa: Hey, @a1k0n's amazing "localize by the ceiling lights" @diyrobocars made @hackaday! It's consistently been the fastest in our…
Oct 25
DIY Robocars via Twitter
RT @IMS: It’s only fitting that @BostonDynamics Spot is waving the green flag for today’s @IndyAChallenge! Watch LIVE 👉 https://t.co/NtKnO…
Oct 23
DIY Robocars via Twitter
RT @IndyAChallenge: Congratulations to @TU_Muenchen the winners of the historic @IndyAChallenge and $1M. The first autonomous racecar comp…
Oct 23
DIY Robocars via Twitter
RT @JoeSpeeds: 🏎@TU_Muenchen #ROS 2 @EclipseCyclone #DDS #Zenoh 137mph. Saturday 10am EDT @IndyAChallenge @Twitch http://indyautonomouschallenge.com/stream
Oct 23
DIY Robocars via Twitter
RT @DAVGtech: Another incident: https://t.co/G1pTxQug6B
Oct 23