Introduce .

This function is only supported on ESPrtk 2.5.5 or higher.

This function allows users to configure Ublox module in the same way as Ublox Center software. Just connect the UART1 port (ESPrtk) to the UART-Configure (Ublox module), select the appropriate baudrate and start the configuration.

This function uses the latest Ublox Center API and protocol and supports configuration on all of Ublox’s latest product lines such as F9P-M8P-LEA -NEO.

Support “Autoscan Baudrate”  also.

Ublox Configure is in beta, please let us know if you have a problem or error while configuring.

Wiring.

ESPrtk ZED-F9P M8P Other
TX-UART1 RX1 RX1 RX-UART Conigure
RX-UART1 TX1 TX1 TX-UART Conigure

ESPrtk configure Ublox -F9P M8P NEO -LEA module

                                                       (Full Size)

Have some tutorials below how to configure Ublox module: 

https://drotek.com/section/dropixpixhawk-integration-2/

https://learn.sparkfun.com/tutorials/gps-rtk-hookup-guide/connecting-the-gps-rtk-to-a-correction-source

https://www.youtube.com/watch?v=n8PUyOtiGKo

Below show  all functions supported on ESPrtk 2.6.0 ( mark * is not support): 

  • ANT (Antenna Settings)
  • BATCH (Batch mode output)
  • CFG (Configuration)
  • DAT (Datum)
  • DGNNS (Differential GNSS configure)
  • DOSC (Disciplined Oscillator)
  • (*)EKF (EKF Settings)
  • (*)ESFGWT (Gyro + Wheeltick)
  • ESRC (External Source Config)
  • (*)FXN (Fix Now Mode)
  • GEOFENCE (Geofence Config)
  • GNSS (GNSS Config)
  • HNR (High Nav Rate)
  • INF (Inf Message)
  • ITFM (Jamming/Interference Monitor)
  • LOGFIL (Log Settings)
  • MSG (Messages)
  • NAV5 (Navigation 5)
  • NAVX5 (Navigation Expert 5)
  • NMEA (NMEA Protocol)
  • ODO (Odometer/Low-Speed COG filter)
  • (*)PM (Power Management)
  • PM2 (Extended Power Management)
  • PMS (Power Management Setup)
  • PRT (Ports)
  • PWR (Power)
  • RATE (Rates)
  • RINV (Remote Inventory)
  • RST (Reset)
  • RXM (Receiver Manager)
  • SBAS (SBAS Settings)
  • SLAS (SLAS Settings)
  • SMGR (Sync Manager Config)
  • (*)TMODE (Time Mode)
  • TMODE2 (Time Mode2)
  • TMODE3 (Time Mode 3)
  • TP (Timepulse)
  • TP5 (Timepulse 5)
  • TXSLOT (Tx Time Slots)
  • USB (Universal Serial Bus)
  • (*)VALDEL (New Configuration)
  • (*)VALGET (New Configuration)
  • (*)VALSET (New Configuration)”

Support configure by List of Hex code.

This function is available on version 2.6.1 (or higher).
This function allows users to configure Ublox modules with Hex code.
(These codes are the PAYLOAD part in the communication frame to configure Ublox’s module, can find the communication frame at the configuration documents).
ESPrtk also supports syntax errors filter , error alerts, data dumps, auto-sending …
The configuration files (.TXT) for F9P /M8P can be found on this page:

https://www.ardusimple.com/question/example-configuration/

https://rtklibexplorer.wordpress.com/2016/02/03/collecting-raw-gps-data-with-rtklib/

https://cerea-forum.de/filebase/index.php

https://rtklibexplorer.wordpress.com/2018/11/30/a-first-look-at-the-u-blox-zed-f9p-dual-frequency-receiver/

 

Ublox ZED-F9P configure Hex code file : 

 (Copyright file by cerea-forum.de  )

ESPrtk support configure Ublox with File -List hex code

         (Full Size)

 

The input field has the format:

<Configuration Name> – <Hex code> <Enter)

For example:

CFG-MSG – 06 01 08 00 0A 06 00 00 00 00 00 00
CFG-MSG – 06 01 08 00 0A 07 00 00 00 00 00 00
CFG-MSG – 06 01 08 00 0A 21 00 00 00 00 00 00

Check input:

  • Configuration name and Hex code are separated by dashes: ‘-‘.
  • Each hex value must be separated by a space.
  • The configuration commands must be separated by new lines (enter).
  • A Byte Hex must contain at least 1  characters (and no more than 2 characters).
  • Irrespective of uppercase and lowercase letters.

For example, all four ways below are valid and have the same output:

  • Hex 1 = 01 02 0F 07 00 0D
  • Hex 2 = 1 2 F 7 0 D
  • Hex 3 = 1 2 f 7 0 d
  • Hex 4 = 01 2 f 07 0 d

All of the four Hex codes above have a unique output:

  • Hex = 01 02 0F 07 00 0D

See a short video below to use this function : 

Save configure every time upload Hex code.

By default, configuration commands are not saved in Flash and they will be lost when the module is reset.

You can add save configuration data to the file every time you upload Hex code.

For example: 
Open U-Center and choose CFG-CFG. Select Show Hex Tonggle and you will see the configuration code.
Its full form is: [ B5 62 06 09 0D 00 00 00 00 00 FF FF 00 00 00 00 00 00 03 1D AB ]
You need to Copy the 13 Payload bytes behind the first 6 bytes (B5 62 06 09 0D 00) .

They are [ 00 00 00 00 FF FF 00 00 00 00 00 00 03 ].
You can then add to your configuration file. Please add to the end of the file.

Copy payload Save U-Center configure - ESPrtk -ESP32 RTK

  (Full Size)

add to the end of configure file -ESPrtk -ESP32 RTK

  (Full Size)