Hardware used:
- Adafruit Feather ESP32 Huzzah, Sparkfun ESP32 Thing Plus (or similar)
- SparkFun GPS-RTK-SMA Breakout - ZED-F9P (Qwiic)
- ublox ANN-MB1 antenna
Infrastructure:
- reachable WiFi
- free line of sight between antenna (horizontal placed) at sky
To connect to a caster without using the web form provided by the submodule RTBaseManager, you need to create a CasterSecrets.h file with your credentials that looks like this:
#ifndef RTK_CASTER_SECRETS_H
#define RTK_CASTER_SECRETS_H
// A place for your caster credentials
// RTK2Go MountPoint http://www.rtk2go.com:2101/SNIP::STATUS#uptime
// Email: YOUR_RTK2GO_ACCOUNT_EMAIL.com
const char kCasterHost[] = "rtk2go.com";
const uint16_t kCasterPort = 2101;
const char kMountPoint[] = "YOUR_RTK2GO_MOUNT_POINT"; //The mount point you want to push data to
// Use "WEEK2208" until your registration is confirmed by the caster
const char kMountPointPW[] = "YOUR_RTK2GO_MOUNT_POINT_PASSWORD";
// Or
// Another free NTRIP Caster is Emlid
// Emlid Caster MountPoint
// Email: YOUR_EMLID_ACCOUNT_EMAIL.COM
const char kCasterHost[] = "caster.emlid.com";
const uint16_t kCasterPort = 2101;
const char kMountPoint[] = "YOUR_EMLID_MOUNT_POINT"; //The mount point you want to push data to
const char kMountPointPW[] = "YOUR_EMLID_MOUNT_POINT_PASSWORD";
// Use only one of this choices!
#endif /*** RTK_CASTER_SECRETS_H ***/
If you are not using the web form of the RTKRoverManager, then you have to replace the dynamically read credentials with the constant ones (add the k prefix e. g: mountPoint --> kMountPoint) in the main.cpp.
Preparation
- make a survey (automatically at first run or you can use the the web form of the included RTKBaseManager: Wipe the memory, save and reboot) OR
- set high-precision coordinates of the location of the antenna (you can use the web form of the RTKBaseManager: Enter the high-precision coordinates, save and reboot)
Change setup
- use the web form of the local server "rtkbase.local" OR
- force to open an access point by pressing the wipe button on hardware (all saved data will be deleted). Connect your computer to the AP with SSID "rtkbase" and fill the web form on address "192.168.4.1", save and reboot the ESP32.
The mklittlefs file in the root dir you have to get depending on your OS.
Or if you have Arduino IDE installed, you can borrow it from there. On macOS you can find it here: ~/Library/Arduino15/packages/esp32/tools/mklittlefs/3.0.0-gnu12-dc7f933/mklittlefs
. Help for setup the file system you can find here. This project was created on macOS (silicon).