Skip to main content

Working with ESP32

  • Connect the Q43 GNSS Helical RTK Module to the ESP32 via UART. Also, connect the antenna and place the setup outdoors in an open area, or at least position the positioning antenna receiver under a clear view of the sky for testing. The pin connection reference table is as follows:

    ESP32-S3Q43 GNSS Helical RTK Module
    GNDGND
    GPIO17SDA
    GPIO18SCL
    GPIO9TX1
    GPIO8RX1
    3V3/5VVCC
  • This guide uses the ESP32-S3 for testing. Set up the ESP32-S3 environment, and modify the following parameters in the example code.

    //Connect ESP to WiFi to enable access to base station server data
    const char* ssid = "mate60"; // Wi‑Fi SSID
    const char* wifiPassword = "131433"; // Wi‑Fi password

    // ---------- NTRIP (using Hi‑Target CORS as an example; modify accordingly) ----------
    const char* ntripHost = "120.253.226.97";
    const int ntripPort = 8001;
    const char* mountpoint = "RTCM33_GRCEJ";
    const char* ntripUser = "cvmh11286";
    const char* ntripPass = "fyxxx";
  • Download the program. Locate GetGPS-RTK.ino in the Q43-GNSS-Helical-RTK-Module\ESP32\GetGPS-RTK folder, compile and flash the program to the ESP32-S3. The RTK rover positioning test result is shown in the figure below:

    ESP32-RTK Positioning

  • Running the QMC5883P.ino example provides the magnetic field intensity along the X, Y, and Z axes in the environment, as shown below:

    Magnetic Field Intensity