Skip to content

Commit 1e06874

Browse files
authored
Merge pull request #576 from sparkfun/PC_add_mosaic_docs
Add more mosaic docs
2 parents 870028b + 87acd62 commit 1e06874

7 files changed

+181
-32
lines changed

docs/configure_with_ethernet_over_usb.md

+148-10
Original file line numberDiff line numberDiff line change
@@ -44,27 +44,29 @@ The mosaic-X5's internal web page is (probably) the easiest way to view and chan
4444
The following is a summary of the mosaic-X5's interfaces and how they can be accessed on the RTK Facet mosaic:
4545

4646
- **Ethernet-over-USB:**
47-
- If you have followed the instructions above, the X5's internal web page can be viewed at **192.168.3.1**. This address is fixed and cannot be changed. If any of your computers other interfaces (WiFi, Ethernet) also the nnn.nnn.3.nnn subnet, you will run into conflicts. You will need to change the configuration of the other device to use a different subnet.
47+
- If you have followed the instructions above, the X5's internal web page can be viewed at **192.168.3.1**. This address is fixed and cannot be changed. If any of your computer's other interfaces (WiFi, Ethernet) also the 192.168.3.nnn subnet, you will run into conflicts. You will need to change the configuration of the other device to use a different subnet.
4848
- **USB COM (Serial) Ports:**
49-
- When connected via USB, two additional COM ports will appear. Internally to the X5, these are named _USB1_ and _USB2_. RxTools can connect directly to these ports. Or, if you wish, you can open a serial console / terminal emulator and enter commands directly.
49+
- When connected via USB, two additional COM ports will appear. Internally to the X5, these are named _USB1_ and _USB2_. RxTools can connect directly to these ports. Or, if you wish, you can open a serial console / terminal emulator and enter commands directly. We recommend using _USB2_ since _USB1_ may have been [configured for GNSS Output](./menu_ports.md#output-gnss-data-over-usb).
5050
- **RADIO Port**:
51-
- The RTK Facet mosaic RADIO port is connected directly to the mosaic-X5 **COM2** serial / UART port. Normally this port carries NMEA and/or RTCM data to/from an external radio module. But, if you wish, you can enter commands direct to this port too.
51+
- The RTK Facet mosaic RADIO port is connected directly to the mosaic-X5 **COM2** serial / UART port. Normally this port carries NMEA and/or RTCM data to/from an external radio module. But, if you wish, you can enter commands direct to this port too. The baud rate can be changed through the menu; the default baud rate is **57600** (8 data bits, no parity, 1 stop bit).
5252
- **DATA Port:**
53-
- The RTK Facet mosaic DATA port is connected to the mosaic-X5 **COM3** serial / UART port via a hardware multiplexer. Please see [Ports Menu](./menu_ports.md) for more details, and the section on the [Mux Channel](./menu_ports.md#mux-channel) in particular. Set the multiplexer to **NMEA** to connect X5 COM3 to the **DATA** port. The baud rate can be changed through the menu; the default baud rate is **230400** (8 data bits, no parity, 1 stop bit). Commands can be entered over this port too.
53+
- The RTK Facet mosaic DATA port is connected to the mosaic-X5 **COM3** serial / UART port via a hardware multiplexer. Please see [Ports Menu](./menu_ports.md) for more details, and the section on the [Mux Channel](./menu_ports.md#mux-channel) in particular. Set the multiplexer to **GNSS TX Out/RX In** to connect X5 COM3 to the **DATA** port. The baud rate can be changed through the menu; the default baud rate is **230400** (8 data bits, no parity, 1 stop bit). Commands can be entered over this port too.
5454
- **ESP32 and RTK Everywhere Firmware:**
5555
- The ESP32 processor is connected to the mosaic-X5 **COM1** and **COM4** serial / UART ports. Configuration is performed over COM4. COM1 is used to: provide RTCM correction data _to_ the X5 in Rover mode; carry NMEA and / or RTCM data _from_ the X5 in Base mode. If you have a mobile phone connected to the RTK Facet mosaic over Bluetooth, corrections received over Bluetooth are pushed to the X5 on COM1. If the ESP32 is connected directly to WiFi, TCP (NTRIP) corrections received over WiFi are also pushed over COM1. COM1 also carries the raw L-Band correction stream from the X5, when the X5 is configured to use the u-blox PointPerfect corrections (only available in the contiguous USA).
5656

5757
### mosaic-X5 microSD
5858

5959
If you are familiar with the other SparkFun RTK products, you will know that most provide data storage on microSD card. On the RTK Facet mosaic, the microSD card is connected directly to the mosaic-X5. It is not connected to the ESP32 processor. This provides many advantages and some disadvantages.
6060

61-
The mosaic-X5 can be configured to log NMEA messages direct to SD card. It also supports data logging in RINEX format, opening a new log file every 15 mins / 1 hour / 6 hours / 24 hours if desired.
61+
The mosaic-X5 can be configured to log NMEA messages direct to SD card. It also supports data logging in RINEX format, opening a new log file every 15 mins / 1 hour / 6 hours / 24 hours automatically if desired.
6262

6363
Because the SD card is connected directly to the mosaic-X5 using SDIO, the X5 is able to log data at much higher rates than our other RTK products. The data does not need to be passed to the ESP32 via UART for logging via SPI.
6464

65-
The mosaic-X5 SD card must be mounted for data logging. But it can also be unmounted, causing it to appear as a mass-storage device ("thumb drive"). Files can be downloaded or uploaded very quickly over the USB interface. The RTK Everywhere Firmware does not currently support mounting / unmounting, but it is [something we will add](https://github.com/sparkfun/SparkFun_RTK_Everywhere_Firmware/issues/559) in the near future.
65+
But, because the SD card is connected directly to the mosaic-X5, it cannot be read easily by the ESP32 and so can not be used for RTK Everywhere ESP32 firmware updates.
6666

67-
The RTK Everywhere Firmware [Data Logging Menu](./menu_data_logging.md) can be used to enable logging to microSD. The messages which are logged are the NMEA messages defined in the [Configure GNSS Messages](./menu_messages.md) menu.
67+
The RTK Everywhere Firmware [Data Logging Menu](./menu_data_logging.md#rtk-facet-mosaic) can be used to enable logging to microSD. The NMEA messages to be logged are defined via the [Configure GNSS Messages](./menu_messages.md#rtk-facet-mosaic) menu. RINEX data can be logged too for PPP. Additionally, the mosaic-X5 supports a huge list of SBF binary-format "blocks". It is not possible to select SBF blocks for logging through the RTK Everywhere Firmware, but you can do it manually. We have provided details [below](#custom-configuration).
68+
69+
The mosaic-X5 SD card must be mounted for data logging. But it can also be unmounted, causing it to appear as a mass-storage device ("thumb drive"). Files can be downloaded or uploaded very quickly over the USB interface. The RTK Everywhere Firmware does not currently support mounting / unmounting, but it is [something we will add](https://github.com/sparkfun/SparkFun_RTK_Everywhere_Firmware/issues/559) in the near future. However, you can unmount the SD card manually. We have described how to do this [below](#accessing-the-sd-card-as-mass-storage).
6870

6971
### Receiver Configuration
7072

@@ -84,7 +86,7 @@ _Current_ is the current configuration. Commands can be used to alter the curren
8486

8587
If you want to save the X5 configuration after you have changed it, we recommend using either of the _User1_ or _User2_ Receiver Configurations. The RTK Everywhere firmware will modify the _Current_ and _Boot_ Receiver Configurations, but it leaves _User1_ and _User2_ for your use. Copy the _Current_ configuration into (e.g.) _User1_ to save the modified configuration. You can restore it later by copying _User1_ into _Current_.
8688

87-
The _Admin \ Configurations_ tab can be used to view and copy the receiver configurations:
89+
The _Admin / Configurations_ tab can be used to view and copy the receiver configurations:
8890

8991
<figure markdown>
9092
![The mosaic-X5 configurations web page](./img/mosaic-X5/mosaic-X5_web_config_2.png)
@@ -97,6 +99,142 @@ Clicking on the small **+** icon next to **Current** will show how the current c
9799

98100
### Expert Control
99101

100-
The _Admin \ Expert Control \ Expert Console_ option can be very useful when modifying the mosaic-X5 configuration. It provides full access to configuration and makes it possible to use script files.
102+
The _Admin / Expert Control / Expert Console_ option can be very useful when modifying the mosaic-X5 configuration. It provides full access to configuration and makes it possible to use script files.
103+
104+
<figure markdown>
105+
![The mosaic-X5 configurations web page expert console](./img/mosaic-X5/mosaic-X5_web_config_3.png)
106+
<figcaption markdown>
107+
The mosaic-X5 configurations web page - Expert Console
108+
</figcaption>
109+
</figure>
110+
111+
_Expert Control_ is so powerful, you may wish to use the _Admin / User Administration_ settings to limit access to the X5's configuration. But be careful that you do not prevent the firmware on the ESP32 from accessing the COM ports!
112+
113+
### Streams
114+
115+
On the mosaic-X5, NMEA and SBF binary messages need to be allocated to _Streams_. Each stream can then be directed to one or more "Connector Descriptors (Cd)". Connector descriptors include: COM1-4 (the UART ports), USB1-2 (additional COM ports on USB), DSK1 (the "internal disk" which is the SD card), etc..
116+
117+
Each stream has one fixed interval. So, to output NMEA messages at two different rates, two streams are required. This is why [Menu Messages](./menu_messages.md#rtk-facet-mosaic-nmea-messages) is arranged the way it is.
118+
119+
<figure markdown>
120+
![The mosaic-X5 configurations web page current configuration](./img/mosaic-X5/mosaic-X5_web_config_4.png)
121+
<figcaption markdown>
122+
The mosaic-X5 configurations web page - Current Configuration
123+
</figcaption>
124+
</figure>
125+
126+
The RTK Everywhere firmware uses the following streams:
127+
128+
- NMEA Streams:
129+
- 1: COM1 (ESP32)
130+
- 2: COM1 (ESP32)
131+
- 3: COM2 (RADIO port)
132+
- 4: COM2 (RADIO port)
133+
- 5: USB1 (USB COM)
134+
- 6: USB1 (USB COM)
135+
- 7: DSK1 (SD card)
136+
- 8: DSK1 (SD card)
137+
- By default:
138+
- NMEA GGA + GSA + GST + RMC are output on Streams 1,3,5,7 with an interval of 500ms
139+
- NMEA GSV is output on Streams 2,4,6,8 with an interval of 1s
140+
141+
NMEA Streams 9 & 10 are available for your own use. You could use them to log or output additional NMEA messages at alternate rates.
142+
143+
- SBF Streams:
144+
- 1: COM1 (ESP32) - PVTGeodetic (position) + ReceiverTime (time) with an interval of 500ms
145+
- 2: DSK1 (SD card) - EXTEvent + ExtEventPVTCartesian (external events / triggers) on change
146+
- 3: COM1 (ESP32) - InputLink (incoming RTCM byte count) with an interval of 1s
147+
- 4: COM1 (ESP32) - ChannelStatus (SIV) + DiskStatus (SD free space) with an interval of 2s
148+
149+
SBF Streams 5-10 are available for your own use. You could use them to log or output additional SBF blocks at any desired rate.
150+
151+
RxTools can read and analyse SBF log files, and convert the data into other formats.
152+
153+
### Custom Configuration
154+
155+
The RTK Everywhere Firmware does not currently provide a way of configuring (e.g.) the logging of additional SBF binary blocks. There are just so many, managing the menu choices alone would be quite a task.
156+
157+
However, it is straightforward to define your own SBF Stream and point it at DSK1 for logging.
158+
159+
The abbreviated steps are:
160+
161+
- Select the Logging tab
162+
- In the General window, select "New SBF stream"
163+
- Select the interval (e.g. 1 sec)
164+
- Click the "Detailed selection" button to reveal the vast list of SBF blocks
165+
- Select (e.g.) PVTCart / PVTCartesian
166+
- Click OK
167+
- Click OK again to apply the changes
168+
169+
The PVTCartesian SBF block will now be logged to DSK1 (SD card) with an interval of 1 second. The firmware automatically selects SBF Stream 5, knowing it to be free.
170+
171+
<figure markdown>
172+
![The mosaic-X5 configurations web page custom configuration](./img/mosaic-X5/mosaic-X5_web_config_5.png)
173+
<figcaption markdown>
174+
The mosaic-X5 configurations web page - Custom Configuration
175+
</figcaption>
176+
</figure>
177+
178+
To save this new configuration:
179+
180+
- Select the _Admin / Configurations_ tab
181+
- In the "Copy Configuration File" window:
182+
- Select _Current_ as the Source
183+
- Select _User1_ as the Target
184+
- Click OK to apply the changes
185+
186+
To 'load' or 'restore' your modified configuration later, copy _User1_ into _Current_.
187+
188+
If you are confident that the configuration meets your needs, you can copy _Current_ into _Boot_ so that your modified configuration is loaded at power-on.
189+
190+
Please note that a [Factory Reset](./menu_system.md#factory-reset) will overwrite the _Boot_ configuration with the RTK Everywhere Firmware defaults. If you saved your configuration in _User1_ or _User2_, you can restore it from there later.
191+
192+
Please also note that changing from Rover Mode to Base Mode, or vice versa, will make small changes to the GNSS configuration too - predominantly the number of RTCM messages generated. You may notice issues if you save the configuration in Rover mode, and later restore it while in Base mode.
193+
194+
RxTools can read and analyse SBF log files, and convert the data into other formats.
195+
196+
### Geodetic Datums
197+
198+
The mosaic-X5 supports multiple Geodetic Datums, including:
199+
200+
- WGS84
201+
- ETRS89
202+
- NAD83
203+
- NAD83_PA
204+
- NAD83_MA
205+
- GDA94
206+
- GDA2020
207+
- User1 and User2
208+
209+
If you need to take measurements using datums other than WGS84, consider saving your modified configuration in _User1_ or _User2_, as described [above](#custom-configuration).
210+
211+
### Accessing the SD Card as Mass-Storage
212+
213+
As described [above](#mosaic-x5-microsd), the RTK Facet mosaic SD card is connected directly to the mosaic-X5. The SD card needs to be "mounted" to allow the X5 to log data to it. When "unmounted", the SD card is accessible as a mass-storage device ("thumb drive"). The RTK Everywhere Firmware does not yet support unmounting the SD card. But you can do this manually if desired:
214+
215+
- Connect via USB
216+
- Facet mosaic is in Rover mode and logging NMEA to DSK1 by default
217+
- Open a web browser, navigate to 192.168.3.1
218+
- Select the Logging tab
219+
- Note NMEA is being logged at about 140MB/day
220+
- Click Unmount and confirm with Unmount
221+
- Note that the Internal Disk is not mounted and logging has stopped
222+
- On the OLED, the logging icon disappears. The pulse circle is displayed instead
223+
- The SD card pops up as mass-storage. You can now transfer and delete files
224+
- Click Mount
225+
- Wait a few seconds
226+
- Logging resumes and the logging icon reappears on the OLED
227+
228+
The X5 is so clever, you don't even need to pause the DSK1 logging. It just figures it out itself, and resumes logging again when DSK1 is remounted.
229+
230+
You can also do it with commands:
231+
232+
- Open Admin \ Expert Control
233+
- In the Expert Console, enter ```emd,DSK1,Unmount```
234+
- Go back to the Overview tab, note that the Internal Disk is not mounted
235+
- On the OLED, the logging icon disappears. The pulse circle is displayed
236+
- The SD card pops up as mass-storage. You can now transfer and delete files
237+
- Return to the Expert Console, enter ```emd,DSK1,Mount```
238+
- Wait a few seconds
239+
- Logging resumes and the logging icon reappears on the OLED
101240

102-
_Expert Control_ is so powerful, you may wish to use the _Admin \ User Administration_ settings to limit access to the X5's configuration. But be careful that you do not prevent the firmware on the ESP32 from accessing the COM ports.

docs/configure_with_rxtools.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@ There are multiple ways to connect to the mosaic-X5 using RxTools:
3232
- The mosaic-X5 also supports Ethernet-Over-USB and can be configured via TCP/IP. In RXControl \ Change Connection, select **TCP/IP Connection** and enter **192.168.3.1** as the Receiver Address.
3333
- The RTK Facet mosaic **DATA** JST connector is connected the mosaic-X5 _COM3_ UART port via a multiplexer. Please see [Ports Menu](./menu_ports.md) for more details, and the section on the [Mux Channel](./menu_ports.md#mux-channel) in particular. Set the multiplexer to **NMEA** to connect X5 _COM3_ to the **DATA** port. The baud rate can be changed through the menu; the default baud rate is **230400** (8 data bits, no parity, 1 stop bit). To connect the **DATA** port to your computer, you will need a [Serial Basic Breakout](https://www.sparkfun.com/sparkfun-serial-basic-breakout-ch340c-and-usb-c.html) or similar.
3434

35-
If you want to save the X5 configuration after you have changed it, we recommend using either of the _User1_ or _User2_ Receiver Configurations. The RTK Everywhere firmware will modify the _Current_ and _Boot_ Receiver Configurations, but it leaves _User1_ and _User2_ for your use. Copy the _Current_ configuration into (e.g.) _User1_ to save the modified configuration. You can restore it later by copying _User1_ into _Current_.
35+
If you want to save the X5 configuration after you have changed it, we recommend using either of the _User1_ or _User2_ Receiver Configurations. The RTK Everywhere firmware will modify the _Current_ and _Boot_ Receiver Configurations, but it leaves _User1_ and _User2_ for your use. Copy the _Current_ configuration into (e.g.) _User1_ to save the modified configuration. You can restore it later by copying _User1_ into _Current_. See [Custom Configuration](./configure_with_ethernet_over_usb.md#custom-configuration) for more details.
3636

37+
RxTools is very powerful software. It can read, analyze and visualise log files containing both NMEA and SBF binary data. It can also convert data to other formats. The mosaic-X5 supports data [logging in RINEX format directly](./menu_data_logging.md#rtk-facet-mosaic). But it is also possible to log data in SBF binary format and later convert it to RINEX using RxTools.
Loading
63.7 KB
Loading
11.2 KB
Loading

docs/menu_messages.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,4 +223,4 @@ E.g. to set the RTCM1230 message to an interval of 10 seconds:
223223

224224
The interval can be adjusted between 0.1 and 600.0 seconds.
225225

226-
Enabling the MSM1 message group causes the Multiple Signal Message - Type 1 to be output: RTCM1071 + RTCM1081 + RTCM1091 + RTCM1101 + RTCM1111 + RTCM1121 + RTCM1131
226+
Enabling the MSM7 message group causes the Multiple Signal Message - Type 7 to be output: RTCM1077 + RTCM1087 + RTCM1097 + RTCM1107 + RTCM1117 + RTCM1127 + RTCM1137

0 commit comments

Comments
 (0)