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

Andreas Spiess
5 May 202422:18

Summary

TLDRفي هذا الفيديو، نتعرف على تقنية نظام الملاحة ال衛ي الشاملة (GNSS) وكيفية استخدامها لتحديد مواقع بدقة高达公分级别. يُظهر لنا القناة كيفية استخدام موديلات RTK لتحسين دقة نظام GPS التقليدي، مما يتيح لنا القدرة على قياس المسافة إلى ال衛ي المتحركة بسرعة واستخدام هذه المعلومات لحساب مكاننا الدقيق. نرى أيضًا كيف يمكن للتكنولوجيا هذه أن تساعد في بناء قاعدة بيانات عالمية وكيفية الربح من خلال إنشاء وتوصيل قاعدة بيانات خاصة.globally networked base station. كما نتعلم عن DePINs وكيف يمكن للناس الاستفادة الاقتصادياً من هذه التكنولوجيا.

Takeaways

  • 📡 تمكن تقنية نظام الملاحة ال衛성ية الشاملة (GNSS) من قياس المسافة بدقة高达 3 متر باعتماد تقنية قياس الزمن بدقة高达 10 نانو ثانية.
  • 🛰️ تتطلب الدقة الأعلى (المركزي) قياس زمن الإشارات بدقة高达 100 بيكوس وتعويض لأخطاء المواقع ال衛성ية高达 السنتيمتر.
  • 🔍 يستخدم GNSS لتحديد الموقع عن طريق قياس زمن إشارة ال衛星 المرتقبة، والتي يمكن أن تكون ضعيفة جدًا بسبب المسافة البعيدة.
  • 📊 يستخدم التكرار الرقمي العشوائي (الكود الوهمي) من قبل ال衛星ات ل允許 لاستقبالها بواسطة الاستقبالات ال衛성ية.
  • ⏱️ لتحسين الدقة، يمكن استخدام تقنية RTK (العلم الكيني الحي)، التي ت对比 بين الاستقبالين الثابتة والمتحركة لتحديد الاختلاف.
  • 💡 يمكن للخدمات الصناعية الأساسية أن تبيع إشارات تصحيح RTK بأسعار عالية، بينما تحاول شركات DePIN مثل Onocoy تقليل الأسعار.
  • 🌐 يمكن للمستخدمين المساهمة في شبكة عالمية من الاستقبالات الأساسية والحصول على ال加密货币 كأجر عن خدماتهم.
  • 🛠️ يمكن بناء الاستقبال الأساسي بتكلفة أقل من الاستقبالات التجارية التقليدية، مع القدرة على التوصيل مع خدمات مثل RTK2GO أو Onocoy.
  • 📍 يساعد RTK في تحسين الدقة المكانية بشكل كبير، مما يتيح تطبيقات متعددة مثل الطيران اللاسلكي والجرافات الصناعية.
  • 🔗 يمكن لل衛성ات ال衛성ية المساعدة في تحسين الدقة من خلال تزويدي الاستقبالات ال衛성ية بمعلومات إضافية عن مسار ال衛ست.
  • 💻 يمكن للأجهزة الذكية استخدام تقنية GPS مساعدة عبر الإنترنت لاسترداد الموقع بشكل أسرع بالإشارة إلى البيانات المطلوبة مباشرة من الإنترنت.

Q & A

  • هل من الممكن تحديد الموقع بدقة تصل إلى السنتيمتر حول العالم؟

    -نعم، من الممكن، كما يشير النص إلى أنه يمكن تحقيق هذا الدقة الفائقة باستخدام ESP32 وجهاز مستقبل GPS جيد.

  • ماذا يشير النص بـ 'DePINs'؟

    -'DePINs' يشير إلى 'decentralized physical infrastructure networks'، وهي شركات تحاول استبدال الاستثمارات بتمويل جماعي وإنشاء عملة إلكترونية لدفع مالكي البنية التحتية.

  • كيف يعمل نظام GPS في قياس المسافة إلى ال衛星 المتحركة بسرعة؟

    -يعمل نظام GPS عن طريق قياس زمن إشارة ال衛星 بدقة高达 10 نانو ثانية لكي يتمكن من حساب المسافة بدقة高达 3 متر.

  • ماذا تعني RTK في سياق النص؟

    -RTK تعني 'real-time kinematics'، وهو تقنية تستخدم لتحسين دقة GPS من قياسات بضعة المتر إلى السنتيمتر.

  • ما هي الخطوات الأساسية لبناء محطة قاعدة RTK؟

    -لإنشاء محطة قاعدة RTK، تحتاج إلى مستقبل RTK شامل، ESP32، وبرنامج لقراءة البيانات من الاستقبال وإرسال إشارات ال校正 إلى الخدمة.

  • كيف يمكن لشخص يستخدم RTK أن يكسب المال؟

    -يمكن لشخص يستخدم RTK أن يكسب المال عن طريق بناء محطة قاعدة وتوصيلها بشبكة عالمية مثل Onocoy، التي تشتري البيانات بالعملة الرقمية.

  • ماذا تشير إلى الجملة 'The width of peak is about 1ns or 30 meters'؟

    -تشير إلى أن عرض الذروة في الرسم البياني الذي يظهر تطابق نمط الإشارة القادمة من ال衛星 مع نمط الكود المعروفة هو حوالي 1 نانو ثانية، مما يعادل 30 متر في الدقة.

  • لماذا يتطلب نظام GPS ال衛star ال-clocks ال precisos؟

    -يتطلب الـ GPS الـ clocks ال precisos لضمان تطابق زمني بال衛star البعيدة، مما يسمح بدقة قياسات المسافة وتحديد المواقع بدقة.

  • ما هي العوامل التي تؤثر على دقة نظام GPS؟

    -العوامل التي تؤثر على دقة نظام GPS تشمل تأخيرات الاتزان الجوي، تأثيرات اليونوسفر، ودقة الـ clocks في ال衛star والاستقبال.

  • كيف يمكن لنظام RTK التعامل مع مشكلة الـ 'ambiguity'؟

    -RTK يحل مشكلة الـ 'ambiguity' من خلال مقارنة نمط الكود القادم من ال衛star مع نمط الكود المعروفة لتحديد بدقة المكان على الموجة ال несائية.

  • ماذا يشير النص بـ 'almanac' في سياق GPS؟

    -في سياق GPS، يشير 'almanac' إلى بيانات بسيطة تتضمن معلومات حول ال衛star مثل موقعها والاتجاهات، التي يتم استلامها من ال衛star وتستخدم لتحديد المواقع بشكل أسرع.

Outlines

00:00

📍 GPS Precision and Global Networks

The first paragraph introduces the concept of achieving centimeter-level location accuracy globally using an ESP32 and a GPS receiver module. It discusses the possibility of earning money by building a base station and connecting to a global network. The speaker expresses excitement about the technology and invites viewers to learn about how GPS measures distances to satellites to calculate exact positions. It also touches on the history of GPS, its initial accuracy limitations, and the development of other satellite systems like GNSS.

05:03

🚀 Understanding GNSS and RTK Technology

The second paragraph delves into the technicalities of how GNSS works, focusing on the importance of precise time measurements for distance calculations. It explains the challenges of decoding weak signals and distinguishing between different satellite signals. The concept of 'cross-correlation' is introduced to describe how GPS receivers identify signals from specific satellites. The paragraph also outlines the need for atomic clocks in satellites and receivers, and a clever method to overcome the limitations of less precise receiver clocks.

10:05

🔍 Enhancing Precision with RTK

The third paragraph discusses the limitations of standard GPS precision and introduces Real-Time Kinematics (RTK) as a solution to achieve higher accuracy. It explains the RTK system, which involves a fixed 'base' receiver and a movable 'rover' receiver, and how they use correction signals to improve positioning data. The paragraph also explores various methods for transmitting correction signals, including direct transmission, internet, mobile networks, and satellite uplinks.

15:08

🛠 Building a DIY RTK Base Station

The fourth paragraph provides a practical guide on building a rover using an RTK-enabled GPS receiver and an ESP32. It mentions the potential to earn money by creating a base station and selling correction data, introducing the concept of Decentralized Physical Infrastructure Networks (DePINs). The speaker shares their experience with building a base station, connecting it to RTK2GO, and the cost benefits compared to commercial options. It also briefly touches on how GPS satellites synchronize clocks and their importance in cellular networks.

20:12

🌐 Commercial Services and Personal Investment

The final paragraph summarizes the key learnings from the video, emphasizing the need for precise time signals in GPS and the role of at least four satellites in determining a three-dimensional position. It highlights the limitations of GPS accuracy and how RTK can enhance precision to the centimeter level. The speaker shares their decision to build a base station and partner with Onocoy, a DePIN company, to provide correction signals globally. The video concludes with an invitation to support the channel and a promise to provide relevant links for further information.

Mindmap

Keywords

💡GNSS

GNSS stands for Global Navigation Satellite System, which is a collective term for satellite systems that provide autonomous geo-spatial positioning globally. The video explains GNSS as encompassing not only the American GPS but also other national systems like the Russian GLONASS, European Galileo, and Chinese BeiDou. These systems allow devices to determine their location anywhere on Earth when they have a clear line of sight to four or more satellites. The video uses GNSS to discuss the evolution and capabilities of global positioning technologies.

💡RTK

Real-Time Kinematic (RTK) is an advanced satellite navigation technique used to enhance the precision of position data derived from satellite-based positioning systems. RTK improves GPS accuracy to the centimeter level by using measurements of the phase of the signal's carrier wave in addition to the information content of the signal. The video illustrates RTK by discussing a setup involving a base station (fixed position) and a rover (movable receiver), showing how they can achieve high precision in determining locations.

💡Phase

The term 'phase' in the context of GPS and GNSS refers to the specific point in the cycle of a signal's wave. By measuring the phase of the carrier signal, RTK systems can achieve centimeter-level accuracy. The video explains that although the basic GPS position might have a precision of several meters, knowing the phase can refine this to determine the exact position on a much smaller scale.

💡DePIN

DePIN stands for Decentralized Physical Infrastructure Networks. It is a concept where infrastructure networks are crowd-funded and operators are compensated with cryptocurrency rather than traditional currency. The video discusses DePIN in the context of RTK networks, highlighting how it can lower the costs of high-precision GPS services and potentially offer returns on investment to those who build and maintain these networks.

💡Cross-correlation

Cross-correlation in GPS technology is a mathematical technique used to compare and align signals received from satellites to known pseudo-random patterns emitted by them. This process helps in identifying the timing and source of satellite signals amidst noise, as described in the video. This technique is critical for determining the precise location by matching the received signals against the known patterns of each satellite.

💡Almanac

In GPS technology, the 'almanac' refers to data transmitted by GPS satellites that contains important information about the orbits of satellites, their status, and system health. This information, as described in the video, is crucial for GNSS receivers to compute and predict satellite positions, which in turn enhances positioning accuracy. The almanac data helps devices to quickly find satellites and calculate positions.

💡Ionosphere

The ionosphere is a layer of Earth's atmosphere that is ionized by solar and cosmic radiation. In the context of GNSS, it affects the travel time of signals from satellites to Earth, which can impact the accuracy of positioning. The video discusses how RTK systems need to account for these time delays and atmospheric disturbances to achieve the desired precision in location tracking.

💡Carrier wave

A carrier wave in GNSS technology is the high-frequency radio wave that carries the satellite's signal codes and navigation data. In the video, it is explained that by measuring the phase of the carrier wave, more precise positioning information can be extracted, overcoming the limitations of only using the data content of the signals for location determination.

💡Base station

A base station in the context of RTK GNSS is a fixed-position receiver that has a known precise location. It collects data from satellites and generates correction information for nearby rovers, enhancing their positioning accuracy. The video explains how building your own base station can connect you to networks like RTK2GO, potentially earning money by contributing to a decentralized network.

💡Rover

In RTK GNSS, a rover is a mobile receiver that uses data from a base station to correct its satellite-derived position to achieve high accuracy. The video describes how the rover uses the correction signals from the base station to resolve ambiguities in the satellite signals and precisely calculate its location, demonstrating the practical application of RTK in various technologies.

Highlights

It is possible to determine your location to the centimeter around the globe using an ESP32 and a GPS receiver module.

Building your own base station and connecting it to a global network can potentially earn you money.

The video provides a clear understanding of measuring distances to satellites and calculating exact positions using this information.

The technology enhances standard GPS and can deliver centimeter precision through a DIY ESP32 base station.

GPS was invented in the 1970s and became more accurate after the US military stopped artificially degrading its signals post Gulf War.

GNSS, including GPS, GLONASS, and Galileo, is a network of satellite systems providing global navigation.

Measuring time with a precision of 10 nanoseconds allows for a distance measurement precision of 3 meters.

GPS receivers use cross-correlation to identify signals from specific satellites and their precise timing.

All satellites have built-in atomic clocks regularly adjusted by ground stations to maintain synchronization.

RTK (Real-Time Kinematics) is a method that allows for centimeter-level positioning accuracy by using a fixed base station and a rover.

The base and rover can communicate corrections via direct transmission, internet, mobile networks, or satellite.

The ESP32 board includes Wi-Fi and a 4G modem for connecting to cellular networks and receiving satellite data.

RTK-enabled GPS receivers and an ESP32 can be used to build a rover for precise positioning.

DePINs (Decentralized Physical Infrastructure Networks) are networks that use cryptocurrency to incentivize infrastructure owners.

Onocoy is a DePIN company aiming to build a global network of base stations for RTK correction data at a lower cost.

Building a base station requires a special antenna, an RTK receiver, an ESP32, and software to send correction signals.

The video demonstrates the construction and operation of a DIY base station connected to RTK2GO for enhanced GPS precision.

The presenter's setup cost less than $300 and has already started to earn cryptocurrency by providing RTK correction data.

The video concludes by emphasizing the importance of GPS synchronization for various technologies and the potential threat of signal jamming.

Transcripts

00:00

Determine your location to the centimeter  around the globe? For everybody, not only for  

00:07

the military? Only with an ESP32 and a decent  GPS receiver module? Not possible! Wrong,  

00:17

it is possible. You can even earn some money by  building your own base station and connecting it  

00:24

to a global network! When I got this board  from Michael, a viewer of this channel,  

00:30

I was hooked on the idea of trying and  understanding this relatively new technology. What  

00:36

about you? Interested, too? Then, follow along. Grüezi YouTubers. Here is the guy with the Swiss  

00:45

accent. With a new episode and fresh ideas around  sensors and microcontrollers. Remember: If you  

00:52

subscribe, you will always sit in the first row. By the end of this video, you'll have a clear  

01:00

understanding of how it's possible to measure  the distance to fast-moving satellites more than  

01:06

20,000 kilometers away and use that information  to calculate your exact position. You'll also  

01:14

see how this technology enhances standard GPS. To  demonstrate, we'll use my DIY ESP32 base station,  

01:25

connect it to a global network, and see if it can  really deliver centimeter precision. And finally,  

01:32

learn what DePINs are and how you can earn money  with this technology. This isn't just about the  

01:39

technology, it's about the practical applications  and the potential it holds for us all.  

01:45

GPS was invented in the 1970s and implemented  from the 1980s on. In 1995, I had my first  

01:55

Garmin handheld GPS receiver for pilots. It  was mind-boggling because from now on, I always  

02:02

knew where I was and where the forbidden zones  started. A big stress reliever! The accuracy of  

02:10

this degraded non-military system was around 100  meters. Useful for pilots because they use wide  

02:18

“airways”, but not yet for car drivers. After the  gulf war, the US military stopped the artificial  

02:26

degradation of the GPS signals and so improved its  accuracy. I strongly suggest reading or listening  

02:34

to “You Are Here” if you are interested in how  it all began. Other nations like the Chinese,  

02:41

the Europeans, and the Russians started to build  their own “GPS” systems. Together, they are called  

02:49

“Global Navigation Satellite System”, short GNSS. How does GNSS work? I will use GPS to explain it.  

03:00

The most important fact is: In one microsecond,  light and also radio waves travel about 300  

03:07

meters and 30 cm in one nanosecond. If we want to measure the distance with  

03:15

a precision of 3 meters, we have to be able to  measure time with a precision of 10 nanoseconds,  

03:22

and if we want to measure 3 cm, we  need to get to a precision of 100  

03:29

picoseconds. Not bad. Keep in mind:  These satellites are 20’000km away,  

03:37

move at high speed, and have to have exactly  the same synchronized time. At first glance,  

03:45

this seems to be impossible! But let’s  see how they managed to make it work.  

03:51

To determine its position, a GPS receiver needs to  calculate the distance to at least four satellites  

03:58

by measuring the timing of the signals. For  that, it listens to 1575.42MHz or L1, where  

04:09

all GPS satellites transmit their signals. In the  meantime, other frequencies were added, mainly L2  

04:17

at 1227.6MHz and L5 at 1176.45MHz. The engineers  back in the 1970s had to solve two main problems:  

04:33

1. How to decode very weak signals  traveling 20’000 km through space?  

04:40

2. How to distinguish between signals of  different satellites on the same frequency?  

04:48

Let’s monitor these three frequencies with  a Spectran SDR receiver. All contain more or  

04:55

less random noise with no visible carriers.  Interesting! If I connect the same antenna  

05:02

to a proper GNSS receiver module, it shows my  position. Obviously, there are “hidden” signals  

05:10

on these frequencies. How does this work? Back then, they decided that each satellite  

05:17

transmits its own “pseudo-random” pattern of  1023 bits with a rate of 1.023Mbit/s. That  

05:29

is the reason we can hardly distinguish them  from noise. Because these patterns are known  

05:37

to all GPS receiver modules, they can compare  the signals coming from all satellites with all  

05:44

known patterns. Mathematicians call this process  “cross-correlation”. The result is a peak when  

05:53

the received signal pattern and the code of one  particular satellite match in time. Nearly no peak  

06:00

is visible for signals of other satellites. So,  such a peak contains two parts of information:  

06:08

1. Which satellite sent the signal 2. Its precise timing  

06:15

The width of peak is about 1ns or 30 meters. Even  if you can determine the peak very accurately,  

06:24

the precision of this signal is limited to a  few meters because there are other sources of  

06:30

inaccuracies, as we will later see. This is the  precision of our smartphones, for example. After  

06:38

receiving the signals of all visible satellites,  our GPS receiver knows the distance to these  

06:45

satellites. But only if the clocks of all  satellites and our receiver are exactly  

06:51

synchronized. Keep in mind: A difference of one  nanosecond means already an error of 30 meters!  

06:59

This is why all satellites have built-in atomic  clocks that are regularly adjusted by ground  

07:06

stations. Our GPS receiver module has a clock,  too. But to save cost and space, not a very  

07:13

precise one. So, the whole thing would not work  unless we use a trick that is later revealed.  

07:21

The next problem: To get our precise position,  we need not only the distance to the satellites;  

07:28

our receiver also needs to know the  momentary position of each satellite,  

07:34

also with the precision of meters. We will  later see where it gets this information from.  

07:41

To calculate a three-dimensional position,  the distance to at least three satellites  

07:47

and their precise positions are needed. The  trick to working with the unprecise receiver  

07:53

clock is to use the signal of a fourth  satellite to calculate the precise time.  

08:00

Now, we are ready to retrieve the exact  position with a precision of a few meters  

08:06

everywhere on Earth. It's incredible,  but it works with a receiver module for  

08:12

a few dollars and such tiny antennas. As said before: We want more. 100 times  

08:20

more precision. Sounds impossible again!  Let’s try to understand which problems we  

08:27

have to solve to get to such a precision: 1. We have to be able to measure the travel  

08:32

time of the signal to the picosecond 2. We have to compensate for position  

08:38

errors of satellites to the centimeter 3. We have to account for time delays  

08:44

influenced by the ionosphere. The ionosphere is  the upper part of the atmosphere and consists of  

08:51

charged particles. They are heavily influenced by  the sunlight and therefore change all the time  

08:59

4. And correct many more small  errors in the overall system  

09:04

Let’s start with the first problem: Increase the  precision of the timing. As we saw before, GPS has  

09:12

a modulation frequency of 1Mb/s. But its “carrier”  frequency is around 1.5GHz and, therefore,  

09:22

a wavelength of around 20 cm. What if we would be  able to determine where on this wave we are? Then,  

09:32

we would know our position to the centimeter!  Technically, the place on a wave is called  

09:39

“phase”, BTW. Problem solved? Unfortunately,  not. As shown before, GPS has a precision of  

09:47

some meters. Let’s assume a precise GPS position  of 5 meters. Then, 20 wavelengths fit inside these  

09:56

5 meters. This is rightly called ambiguity because  we know exactly where we are on the wave but,  

10:04

unfortunately, not on which one. Not good! Clever engineers developed real-time kinematics or  

10:13

RTK to solve this problem: Let's assume you have  two receivers close together. One is fixed, and  

10:22

its position is exactly known; the other can be  moved, and its position is not known. Both measure  

10:29

the position with GPS and determine their phase.  Because one knows exactly where it is, it can  

10:37

determine on which wave it “sits” and determine  the actual difference between its position  

10:44

and the GPS position. If it would transfer this  information to the second receiver, this one could  

10:52

determine its exact position, too. And we solved  problems 2, 3, and 4. Because both receivers are  

11:01

very close, all these differences are nearly  the same and are included in the “correction”  

11:08

signal transmitted. Cool! If we call the fixed  receiver “base” and the second one “rover”,  

11:15

we have our RTK system. Of course, it is way  more complex, but for today, we stick with that.  

11:24

Fortunately, the distance between the base  and the rover can be up to about 20 km,  

11:30

and the system still works. The next problem: How is this  

11:35

correction signal transmitted from the base to  the rover? Here, we have four typical scenarios:  

11:42

1. Directly by using a transmitter on the base  and a receiver on the rover. High-end lawn movers  

11:50

attach a base to the charging station and the  rover to the mover. Also high-end drones work with  

11:58

fixed bases close to the pilot. In this scenario,  each rover needs a base station. Commercial base  

12:05

stations, unfortunately, cost a fortune 2. Via internet. The base and the rover are  

12:12

connected to a service. The base transmits  the correction signal to the platform,  

12:18

and the rover receives a valid  correction signal without “owning” a  

12:22

base. Signals can be transmitted via Wi-Fi 3. Or via mobile networks. There are many  

12:29

such professional services available.  Usually very local and very expensive  

12:35

because building and maintaining bases every  20 km is not cheap. RTK2GO is a free service,  

12:43

but it only works if you have a base in the  vicinity. The closest one to my home is 40  

12:52

km away. So later, I will build my own for  a fraction of the price of a commercial one  

13:00

4. Via satellite. Companies like u-blox  operate many base stations around the  

13:05

world. Because they cannot afford one every  20 km, they placed them about 150km apart and  

13:14

do some math to their signals. Like that, they  typically get a precision of below one meter,  

13:21

but not to the centimeter. Still ok for many use  cases and available globally. But not cheap.  

13:30

The board I got from Michael offers transmission  methods 2, 3 and 4. The ESP32 includes Wi-Fi,  

13:39

and this 4G modem can connect to  the next cellular tower. It even  

13:44

contains a satellite receiver that can receive  u-blox data from space. They offer a limited  

13:51

service for developers free of charge, BTW. It also contains this small u-blox RTK receiver  

13:59

that covers the most important bands, L1  and L2, and shows its position on a map. So,  

14:08

let's check how it works. As said before,  I wanted the best precision. So I built a  

14:15

base station and connected it to RTK2GO. We go away from the house to reduce signal  

14:22

reflections and start with GPS only. As expected,  the position moves a few meters. With RTK enabled,  

14:31

this changes considerably. The position is solid.  And if I move the receiver, or should I say,  

14:39

the antenna, along a straight line, we see  this straight line also on the map. Impressive!  

15:01

Here, you see typical applications  for RTK. Maybe something is for you?  

15:08

To build a rover, we just need an RTK-enabled GPS  receiver and an ESP32 if we have Wi-Fi available,  

15:17

plus Michael’s Arduino software. Sparkfun  offers many such receiver modules and also  

15:24

wrote the required libraries. We know now that RTK works,  

15:29

and we saw this rover board. But I also promised  that you could earn money with RTK. How does that  

15:37

work? And how can we build a base station? Helium, with its network of LoRaWAN gateways,  

15:44

was one of the first companies that created  a new industry called “decentralized physical  

15:51

infrastructure networks”, short DePIN.  DePIN companies try to replace investors  

15:58

with crowdfunding. Like Helium, they create  a cryptocurrency and pay the owners of the  

16:04

infrastructure with this currency instead of  real money till they get paid by the customers.  

16:11

Everybody who had to work with professional  investors knows that this would be a very good  

16:17

idea for startups because often, these “investors”  are arrogant and a pain in the ass. People who  

16:25

watched my Helium video know that I was not happy  about this company. Mainly because there was no  

16:32

real business behind transferring LoRa messages.  But is DePIN in general a bad idea? I do not  

16:39

know yet because it is too new. But I give it a  chance if there is a real business case behind  

16:46

it. Selling RTK correction data seems to be a  multi-million-dollar business already now. So this  

16:54

market should be better than LoRaWAN messages.  And its future application is much broader.  

17:01

A few DePINs have already tried to get such  networks up and running. One of them is  

17:07

Onocoy. This network has two advantages: 1. They allow Makers to create their own  

17:15

hardware and do not sell overpriced “miners” 2. Its president is one of the founders of u-blox,  

17:24

a no-nonsense guy also with a Swiss accent How can we build such a base station? You need  

17:32

four things to get the best signal  and, therefore, the most rewards:  

17:36

- A special antenna for all GPS bands - An RTK receiver for all bands  

17:43

- An ESP32 - Software to read the receiver  

17:47

and send the correction signal to the service You can buy this receiver with an ESP32, but it is  

17:54

expensive and only delivers data to Onocoy. This  is why I built one myself. Mine delivers data to  

18:02

Onocoy and RTK2GO. I do not show how to build it  here, but you can find links in the description if  

18:11

you are interested in this technology. Anyway,  connecting four wires between the receiver and  

18:17

the ESP32 board and loading the software is  all it needs. The rest is configuration.  

18:24

Keep in mind: Commercial stations cost thousands  of dollars. This miner still costs roughly  

18:31

700 dollars, including shipping. My setup was less  than 300 dollars. It's not cheap, but maybe I will  

18:39

get the money back or make more than I invested.  It has already started to earn some cryptos.  

18:49

Even if I will not earn a lot, I had a good  time learning and experimenting with this  

18:55

technology. It helped me understand one of the  key technologies of our civilization, and I pay  

19:02

respect to the engineers who, more than 40 years  ago, believed that such a system was possible and  

19:10

started to work on it. Keep also in mind that GPS  satellites synchronize most of our clocks and are  

19:18

part of each cellular tower, for example. I made  a video on how you can use this precise timing  

19:25

for cheap in your lab. Jamming these signals  seems to be a major threat during war times.  

19:33

I also promised to tell you how GPS receivers get  the positions of all satellites. The pseudo-random  

19:41

code contains a very slow modulation that  transfers all this data, also called “almanac”.  

19:49

It can take more than 10 minutes to get all this  data. This is why all GPS modules have a small  

19:56

battery attached. They store the almanac data and,  because satellites do not frequently change their  

20:03

path, can use “old” data to get a faster fix. If the GNSS receiver has an internet connection,  

20:12

like a Smartphone, it uses “assisted GPS” to  get this information much faster directly via  

20:20

the internet. This is why your Smartphone  nearly immediately knows its position.  

20:26

In this video: - We learned that GPS  

20:28

needs extremely precise and synchronized  time signals to measure the distance  

20:34

between satellites and our receiver - It needs at least four satellites,  

20:39

three to determine the three-dimensional position  and one to correct the time of the receiver  

20:45

- Its accuracy is limited by the slow  modulation as well as by variable  

20:51

influences by the ionosphere, for example - If we want to get to centimeter precision,  

20:58

we need to measure the phase of the carrier signal  as well as account for the real-time difference  

21:05

between a precise position and the signal - This difference is measured by a base station  

21:12

and transmitted to a “roving” station to enable  the rover to solve the ambiguity and determine its  

21:19

exact position. The distance between a base and  a rover should be below 20 km to get an RTK fix  

21:28

- Commercial services sell such  correction signals for quite high  

21:33

prices. RTK2GO offers a free-of-charge  service but does not have broad coverage  

21:40

- This is why I built a base and connected  it to Onocoy, a DePIN company that tries to  

21:47

build a global network of base stations and  sell the data for a lower price. I will be  

21:53

paid in cryptocurrency for my services. Who  knows if I will get the invested money back  

22:00

This was all for today. As always, you find  all the relevant links in the description.  

22:06

I hope this video was useful or at  least interesting for you. If true,  

22:11

please consider supporting the channel to  secure its future existence. Thank you! Bye

Rate This

5.0 / 5 (0 votes)

العلامات ذات الصلة
RTKGPSESP32الدقةالتكنولوجياالملاحةالطقسالبياناتالشبكاتالأمانالmakers