Skip to content

Commit

Permalink
Detailed manual for GPS base station (#29)
Browse files Browse the repository at this point in the history
* Update _index.md

First description

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* typo

* Averaging included, description complete

* wrong correction of antenna height

* Update _index.md

* minor changes

* Changed path of pics

* Rename 298698608-d476563b-2693-472f-bfa6-34cf1311e65d.png to d476563b-2693-472f-bfa6-34cf1311e65d.png

* Rename 298699177-1a24f9cc-d0d0-4cb7-b892-90c5b1ba93a3.png to 1a24f9cc-d0d0-4cb7-b892-90c5b1ba93a3.png

* Rename 298700933-c2e0268b-58a8-44b0-91a2-a799bb4fc3af.png to c2e0268b-58a8-44b0-91a2-a799bb4fc3af.png

* Rename 298701133-6016215b-4fb0-4987-825f-daec47b29621.png to 6016215b-4fb0-4987-825f-daec47b29621.png

* Rename 298701876-4768c937-6235-40fc-ab5e-42716a0524ea.png to 4768c937-6235-40fc-ab5e-42716a0524ea.png

* Rename 298702064-81771014-ea43-422a-90e1-d1e493a67990.png to 81771014-ea43-422a-90e1-d1e493a67990.png

* Rename 81771014-ea43-422a-90e1-d1e493a67990.png to OScustom

* Rename OScustom to OScustom.png

* Rename d476563b-2693-472f-bfa6-34cf1311e65d.png to Imager1.png

* Rename 1a24f9cc-d0d0-4cb7-b892-90c5b1ba93a3.png to Imager2.png

* Rename 299387133-54dadde5-2595-4b1f-ab23-84c5f2a095cb.png to Imager3.png

* Rename 299387734-85015eb9-3098-494d-852e-aed4403cd6ef.png to Imager4.png

* Rename c2e0268b-58a8-44b0-91a2-a799bb4fc3af.png to Imager5.png

* Rename 6016215b-4fb0-4987-825f-daec47b29621.png to Imager6.png

* Rename 4768c937-6235-40fc-ab5e-42716a0524ea.png to OSCustom1.png

* Rename 298702313-d9713463-4c1e-4b56-9503-7fa8be259798.png to OSCustom2.png

* Rename 298703295-8faf9864-f557-46c8-b4f9-0273558efd88.png to Imager7.png

* Rename 298704989-f9ae280a-e766-4d49-b64b-75426b92418b.png to Putty1

* Rename Putty1 to Putty1.png

* Rename 298712519-e7cb379a-4689-4d7c-a210-36986e49abe2.png to Putty2.png

* Rename 299063230-00101910-7c7d-44cd-97c7-f08ac9ca32df.png to Putty3.png

* Rename 299394100-cb9c01d6-637a-4a97-8f84-54acf576648c.png to RTKBase01.png

* Rename 299404746-72d24226-570f-4394-b615-04975b89ddf2.png to RTKBase02.png

* Rename 299396730-505978be-6c3e-4ead-bbd7-cdc914aa1c52.png to RTKBAse03.png

* Rename 299397127-0defa09d-ccb1-488c-abc3-c32eb67390f9.png to RTKBAse04.png

* Rename 299398323-2fe64f78-dbf9-415b-8e52-5a53630dfa40.png to RTKBAse05.png

* Rename 299400275-14ef9870-23a4-4a5f-a19d-1bf9718d5966.png to RTKBase06.png

* Rename 299787266-ec5ffbb7-6b81-426f-b367-31361dd0ddc8.png to RTKBase07.png

* Rename 299787501-cdf31b4d-61a7-4a19-95d4-dcb2c1264191.png to RTKBase08.png

* Rename 299788076-32be8b65-51a9-4a0d-8252-7d951a4f7c79.png to ignfr.png

* Rename RTKBAse03.png to RTKBase03.png

* Rename OScustom.png to OSCustom.png

* Rename RTKBAse04.png to RTKBase04.png

* Rename RTKBAse05.png to RTKBase05.png

* Update paths to relative and changed names

* Added easier way to determine reference position
  • Loading branch information
karlranseierausrom authored Apr 15, 2024
1 parent 4f322a5 commit 767f4fe
Show file tree
Hide file tree
Showing 24 changed files with 157 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
160 changes: 157 additions & 3 deletions content/en/docs/Knowledge-Base/rtk-base-setup/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,160 @@ description: >
Build your own GPS RTK base!
---

{{% alert title="Warning" color="warning" %}}
This part of the documentation is work in progress. There are many ways of setting up the RTK base, I'd like to show a few options. For now, please use the documentation provided by Ardusimple.
{{% /alert %}}
This part of the documentation is work in progress. There are many ways of setting up the RTK base, here is one using RPi 0W, ZED-F9P and a web based software RTKBase.

## Prerequisites
- [Raspberry Pi 0W](https://www.raspberrypi.com/products/raspberry-pi-zero-w/)
- sd card
- power supply for RPi
- [Ardusimple ZED-F9P](https://www.ardusimple.com/product/simplertk2b-basic-starter-kit-ip65/)
- A windows PC
- stable internet connection (no disconnection within one hour)
## Installation
If you know about RPi and have already a functional OS, you may head on to "Software", but in my case it did not work using an older image.
### Preparing sd card
- Download [RPi Imager](https://www.raspberrypi.com/software/) for windows
- Start Imager:

![]() <img src="Imager1.png" width="120">
- Choose your RPI (in my case RPi 0W, choosing wrong RPi will most probably result in many problems)

![]() <img src="./Imager2.png" width="120">
- Choose Operating system "Raspberry Pi OS lite (legacy, 32bit)

![]() <img src="./Imager3.png" width="120">

![]() <img src="./Imager4.png" width="120">

- Select your sd card:

![]() <img src="./Imager5.png" width="120">
- Press next so this will appear:

![]() <img src="./Imager6.png" width="120">
- Edit settings like the following (and use your personal WiFi settings and country), where you set a good password for your Pi account. Username and password are case sensitive!

![]() <img src="./OSCustom1.png" width="120">
- activate SSH:

![]() <img src="./OSCustom.png" width="120">
- Press save to see this:

![]() <img src="./OSCustom2.png" width="120">

- Click on YES and allow to overwrite the data on your sd card (if you are sure, that you will not miss them). It will start downloading and writing the data:

![]() <img src="./Imager7.png" width="120">

- Wait until it is finished, it may take half an hour, depending on your internet connection ;-)

### Start your RTKBase RPi
- Put your sd card into your RPi
- Connect ZED-F9P via usb to your RPi (NOT after the installation, it will be configured during installation).
- Power your RPi
### Connect to RPi
- Get from your router the IP of your RPi
- Start [PuTTY](https://putty.org) and connect to RPi, where you enter the local IP of your RPi

![]() <img src="./Putty1.png" width="120">
- Enter your Username Pi, press enter and than enter your password:

![]() <img src="./Putty2.png" width="120">

![]() <img src="./Putty3.png" width="120">

### Software
- Is your ZED-F9P connected? Do it!
- We will use [RTKBase](https://github.com/Stefal/rtkbase)
- To install it, you can use the following lines, which you can copy and paste at once. The original recommendation is no sudo in front of chmod. That did not work for me.

```bash
cd ~
wget https://raw.githubusercontent.com/Stefal/rtkbase/master/tools/install.sh -O install.sh
sudo chmod +x install.sh
sudo ./install.sh --all release
```
- A very long output should follow. It ends with:
```bash
GNSS Configuration: done
################################
STARTING SERVICES
################################
Created symlink /etc/systemd/system/multi-user.target.wants/str2str_tcp.service → /etc/systemd/system/str2str_tcp.service.
Job for gpsd.service failed because the control process exited with error code.
See "systemctl status gpsd.service" and "journalctl -xe" for details.
################################
END OF INSTALLATION
You can open your browser to http://192.168.178.34 (here the editor deleted IPV6)
################################
Pi@RTKBase:~ $
```
- Installation finished, go on and configure your RTKBase

## Configuring your RTKBase
- Start a browser and enter the IP address of your RTKBase. You will get this:

![]()<img src="./RTKBase01.png" width="120">

- Enter as password admin. On the following site press the copy symbol right to PPP.

![]()<img src="./RTKBase02.png" width="120">

- Go to settings and press "options" right to "Main Service", than paste your coordinates to "Base coordinates":

![]()<img src="./RTKBase03.png" width="120">

- Press on options again, than on options right to "Caster Service"

![]()<img src="./RTKBAse04.png" width="120">
- Here you have to enter the setting set up in your mower, standard is: username gps and password gps. Select the right mount point. I have named it like my city, in mower config and here.
- Save the config
- Switch on "Caster Service" and "File Service", it should look like this:

![]()<img src="./RTKBase05.png" width="120">

- Eventually change your password below these options.
- At logs you should find at least two files:

![]()<img src="./RTKBase06.png" width="120">

### Find the position of your RTKBase
There are several ways to find your position. To use openmower you do not need the perfect position. Therefore the first option should be your choice, if you want a fast and good result for openmower.
#### Easy and good way
- Click on the symbol right to PPP to copy the values to the clipboard:

![]()<img src="./RTKBase02.png" width="120">
- Enter these values to your options at MainService.

![]()<img src="./RTKBase03.png" width="120">
- Save
- ReActivate Ntrip Service
- Finished!

#### More complicated and more exact way

- You have to set up the logging of your position as mentioned above by activating "file service". You should wait for a day to average all the values to get a high precision position.
- After midnight you find a zip-file at logs. This you can convert to a Rinex file. To understand this file you may check [RINEX-File](http://walter.bislins.ch/bloge/index.asp?page=Understanding+GPS%2FGNSS+RINEX+Files+and+Relevant+Parameters) , but you don't need it.
- Press on the pencil right to the zip-file:
![]()<img src="./RTKBase07.png" width="120">
- "Create Rinex file":
![]()<img src="./RTKBase08.png" width="120">
- Download it when finished (may take a while, some minutes or longer)
- Go to [Calculator](https://rgp.ign.fr/SERVICES/calcul_online.php), upload your Rinex file and enter your email address. Don't forget to enter the "no robot"-verification.

![]()<img src="./ignfr.png" width="120">

- When you received the email, look at "ITRF2014" (or search for "longitude") and see your values like LONGITUDE 6.XXXXXXXXX° LATITUDE 51.XXXXXXXXX° HELL 79.9041

![]()<img src="./averaged.png" width="120">
- You enter these values to your options at MainService. Be aware that the order of LONGITUDE and LATITUDE is switched!

![]()<img src="./RTKBase03.png" width="120">
- Save
- ReActivate Ntrip Service
- Finished!

Thanks to Stefal and all the contributors of RTKBase and the used recources.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 767f4fe

Please sign in to comment.