Skip to content

Custom GNSS Boards based on K823 GNSS Module

Yiannis Menexes edited this page Aug 3, 2022 · 5 revisions

K823 GNSS Module

Table of Contents

  1. Setup
    1. Wifi setup
    2. NTRIP server configuration
    3. Ethernet setup
  2. Programming the board
    1. Available interfaces
    2. Rover configuration
    3. Commands syntax & meaning
    4. Useful links & tools
      1. IP scanning
      2. GNSS Module configuration

Wifi setup (configure access point)

  1. Power the board on (through USB port)
  2. Connect to the wifi that the board itself creates (should be of name arduino-esp32 or something similar)
  3. After wifi connection, you should be redirected to the wifi's config page (board's native wifi IP address is 172.217.28.1).
    If this doesn't happen automatically, just type the above IP address in the browser followed by the endpoint "_ac". Example: 172.217.28.1/_ac
  4. In this menu, choose the option Configure new AP which will redirect you to a sub-menu where you get to choose which wifi-network the board will be connected to.
    If you have already completed step 4 previously, then IF the pre-selected wifi network is not available, after 2 minutes the board will remove it from memory and you must select a new network again (in other words, if the selected network is not in-range for ~2 minutes, it gets deleted)
  5. Now, the board should be connected to the chosen wifi-network.

At this point, the board should be connected to a network of your choice which provides an internet connection in order for the board to be able to communicate with the NTRIP server that we are going to configure below


NTRIP server configuration

For this section, let's assume that the board's wifi IP address is 192.168.45.170
  • Show current NTRIP settings:
    192.168.45.170/showcurrent
  • Edit NTRIP settings:
    192.168.45.170/set

Ethernet setup

  1. Connect your PC with the Board through an Ethernet cable
  2. Access the board through its local LAN IP (let's say 169.254.2.1), on a browser
  3. Here you can configure serial settings and anything else that is related to the ethernet adapter (Baud Rate should be 115200)


Programming the board

Users have 2 options to program the board

  • Through Telnet

    • You can access the board through Telnet, either on LAN (use configured port from "Ethernet setup" section)
      or WLAN (port 2101)
  • Through the dedicated software for the GNSS Board (Compass Receiver Utility a.k.a CRU)

It makes no difference on whether the user chooses the CRU or a simple terminal Telnet,
but for the purpose of this guide we will be using CRU

The board has 3 ports

  • COM1 is for WiFi
  • COM2 is for Bluetooth
  • COM3 is for Ethernet

Programming commands for rover setup

rtkdynamics LAND
rtksource AUTO
rtkobsmode 0
rtksolution 0
log com1 gpgga ontime 0.05
interfacemode com1 auto auto on
saveconfig

Commands syntax

  1. log port NMEAsentence ontime interval
    • Prints the selected NMEA sentence (let's say gpgga) on the given port (let's say com1) every interval (let's say 0.05s or 20hz)
    • ontime parameter can be omitted, and the command will only print once
  2. interfacemode port input mode output mode status
    • For port (let's say com1) sets the mode (let's say auto) of input and output to a status (on or off)
  3. saveconfig
    • Saves the current config so it persists through board restarts or power on/off

  1. reset
    • Restarts the board
  2. freset
    • Factory reset the board to default values
  3. unlogall
    • Disable logging for every port (Com1~3)
  4. log comconfig
    • Prints settings for every port (baud rate etc.)
  5. log loglista
    • Prints what is logged by all ports (Com1~4)
  6. log version
    • Prints firmware information


Useful links and tools

For IP scanning

For GNSS Module configuration