ESP32 precision GPS receiver (incl. RTK-GPS Tutorial). How to earn money with it (DePIN) -

ESP32 precision GPS receiver (incl. RTK-GPS Tutorial). How to earn money with it (DePIN)

Andreas Spiess
Views: 280011
Like: 13190
Determine your location to the centimeter around the globe? For everybody, not only for the military? Only with an ESP32 and a decent GPS receiver module? Not possible! Wrong; it is possible by using real-time kinematics. You can even earn money by building a base station and connecting it to a global network (Decentralized physical infrastructure network)!.
When I got a board from Michael, a viewer of this channel, I was hooked on trying to understand this relatively new technology. Are you interested, too? Then, follow along.

My second channel:

Book about navigation:
ESP32 mini:
UM980 RTK-GNSS receiver:
RTK all-band GNSS antenna (order the “S” type): or
Cable (TNC male to SMA male):
Splitter (with a case, not needed for single receiver):
DC Block (for 2 receivers):
u-blox RTK receiver:
Sparkfun RTK solutions:
Michaels project:
How to build a base station:
Base software for t services:
euspa report:

Patreon supporter companies:

The links above are usually affiliate links that support the channel (at no additional cost to you).
Supporting Material and Blog Page:
My Patreon Page:
If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission on your purchases to buy new stuff for the channel
My shop:
For Banggood
For AliExpress: For AliExpress: (just go on from here to your product)
For Amazon US:
For Amazon UK:

Please do not try to email me. This communication channel is reserved for my primary job
As an Amazon Associate, I earn from qualifying purchases


  1. Great video, just one small mistake on 6:15 it says that 1 ns = 30 m, but it should be 1 ns = 30 cm, one nanosecond equals to 30 centimeters light flight and not 30 meters.

  2. At 6:55, you say: "Keep in mind: A difference of 1 nanosecond means already an error of 30 meters!" You are of by a factor of 100, an error of 1 nanosecond equals to a misscalculation of 30 centimeter.

  3. The arrow indicating a Wavelength from 9:23 onwards is drawn 2 Wavelength long

  4. hi Andreas! Very interesting video… I'm at pos. 10:08… and, correct me if I'm wrong, but your arrow showing the wavelength stretches too far! From peak to peak = 1 wavelength?! Thanks a lot!

  5. Maybe you could try to arrange an interview with Daniel Ammann? Could be interesting (I’d be interested in some ublox stories too).

  6. WTRTK-982 or WTRTK-980? Seems both are mentioned in the build guide but no mention of preference?

  7. I had the feeling, you get rusty and quite, good to hear you again

  8. Actually, what you say is not entirely correct according to my information. Correct me if I'm wrong, but here's how I was taught it: With only three usable satellite signals, you can calculate your coordinates on a spherical surface, which is technically a 2-dimensional position is a spherical coordinate system. Only if you have four usable signals or more are you able to calculate a true, 3-dimensional position relative to the sphere's center, which is what we generally think of as a 3-dimensional coordinate.

  9. RTK is used at some airports for precision GPS landings, with the difference being transmitted by VHF (if I remember correctly)

  10. Can you comment on the projected payback period for the system?

  11. Very nice, thank you for sharing this project. It's still amazing that we can now achieve nanosecond precision with some COTs !

  12. Thanks for posting your video. A master dowser (who dowses remotely using Google earth) has given me geo-coordinates for some buried treasure – however when I use my iPhone it can be 20m out and that's a lot of digging seeing as it is suppose to be 3ft down! I hope to make something using your recommendations to get within 20cm of the treasure before I start digging! 🙂

  13. Ai jobloss is the only thing I worry about anymore.

  14. very cool! thanks for publishing this!

  15. dude did you hack the eurovision song contest. that song is lame but won the thropy 🤷🏻‍♂️

  16. Fun fact: some military units do not use gps in their systems because it can be derailed by enemy. Lets say you need cm precision for a system over wife area. You get yourself a yeam of cartographers who activly measure each point you need. We have predetermined points all over the area that have premeasured known positions. The team syarts with those positions and determines the needed spot coordinates.
    Would be easier to use gps… I am living in a peaceful coutry next to Russia. They are actively fing up the gps system for the whole region. Drones near the can go haywire anywhere in the boarder regions. Local airport is unable to receive flights because they EU recommended flight control systems are not reliable in these condition. My robot mower is stably couple meters off the map driving thorough houses this year. Last year the robot mower sped lightspeed all over the map. Couple km here, ten km in other direction while never leaving the charging station. Gos is not a reliable method of positioning for military purposes….

  17. Good explanation of GPS, Andreas! However, you are off by a factor of 100 around minute 07:00. It's always useful to remember that radio waves travel about 30cm (or for our US friends, 1 foot) every nanosecond, so the timing accuracy is not quite so stringent!

  18. Nice video. However the true science of positioning is understanding coordinate reference frames, transformation parameters and datum’s. The earth crust is moving at different velocity and direction across the globe, while relative positioning solutions (RTK) account for this locally it is critical to understand these movements, particularly when you get to cm level positioning accuracy. The absolute accuracy of RTK is only as good as the coordination of the base station. Garbage in = garbage out.

  19. I have always wondered how you know a location to 1cm without gps? If you use a fixed station to provide a dynamic correction how do you know where it is to 1cm? I wouldn't think you could use gps but how does land surveying do it? I know cartographers use triangulation points but they are not near enough usually to measure by tape from.

  20. We put up a meassuring syst with basestation and gps bords back in the end of 1980:s. This gave us a "wrong vektor" of < 1 cm dev for stationary meassuring.
    And this on the degraded "koding" of pseudo "random" generated fals signals.

  21. Finally, a correct explanation of GPS. How often did I heared "triangulation" instead of "trilateration" (/ multilateration)

  22. Imagine a project for civil engineers. An opensource total station.

  23. Now I understand why some lawn mowers cost so much!

  24. Apart from building the base station I failed to understand exactly how to build the receiver.

  25. It is possible to build a rover with parts from aliexpress?

  26. Where is instruction step by step.😮😮😮

  27. It would be much nicer and more valuable if the reward for supplying data to the DePIN network was free RTK data aound the world. More valuable than their sh*tcoIns.

  28. Thank you Andreas – another well defined video with a great business case and engineering insight.

  29. You could do the same using a simple GPS and say s 3 ~900mhz transmitters (lora or HC12) . fixed at two known positions and ping the response to get the finer pin point position. but then it all down to how accurate the base stations are for geo positioning but for field accuracy perfectly fine and you can cover miles and miles of territories with a couple 900mhz devices . but I guess in Europe some police channels run at 900mhz and a licensed or prohibited channel .so you could do it with 2.4ghz 5 ghz with low channel width (ie 5mhz). so it does not cause to much interference at either the channel first or the last channel as the outer edge of channels have the least noise and interference usually and make it invisible to other wireless devices , to build your own RTN system at a far cheaper cost. RTK/RTN in north america runs at 900mhz , 450mhz and other open and licensed channels

  30. Got my first GPS, the Garmin GPS 2, back in 1997. That time SA was still active. The accuracy of 50m fascinated me. It is quite a long way from 50 meters to mm accuracy with the equipment in similar size and budget. I build an NTP Server for my home lab from RPi and GPS hat. Your video make me think to start to make base station for GNSS RTK soon.

  31. When you make the Helium-hate video several years ago, I posted a comment to it. I said that the bussiness idea is so good but in reality even if the beginning of the implementation of the idea welcomes some more doors to be open. Thanks for your videos

  32. How does the base station determine its fixed position to centimeter precision?

  33. Fascinating. Thanks for taking so much time to explain how GPS works.

  34. God bless our engineers! We owe our cellphones, computers, tv's, and all other 'smart' objects to their ingenious work! Respect!

  35. Speaking of Swiss accents, I just returned from Geneva where I was attending the ITU WP4A meeting. Always enjoy my visits there. Next trip in October 🙂

  36. Set speed to 1.25x or you're going to have a bad time.

  37. I don't understand how you're making money with this.

  38. I love your accent. It's fun. I am from Texas so… I didn't get the blessing of a quality accent. 😐

  39. Finally a get why my phone changes the initial.position seconds after i.started an gps app.

  40. great clip. interesting and amazing technology.

  41. So RTK is a multi million dollar industry and telecommunications is not??

  42. I've watched a lot or your videos, I like tech stuff for back ground noise and or unwind before bed. You always have great stuff. Your English is impeccable so I usually tune your accent out. But every time u say ionosphere I hear yawn a sphere 😂🫡

  43. Please order the "S" type of the antenna (all band). It is in the same link I provided.

Leave a Reply

Your email address will not be published.