|
| 1 | +# iOS |
| 2 | + |
| 3 | +Torch:  |
| 4 | + |
| 5 | +While we recommend SW Maps for Android, there are a variety of 3rd party apps available for GIS and surveying. We will cover a few examples below that should give you an idea of how to get the incoming NMEA data into the software of your choice. |
| 6 | + |
| 7 | +The software options for Apple iOS are much more limited because Apple products do not support Bluetooth SPP. That's ok! The SparkFun RTK products support additional connection options including TCP and Bluetooth Low Energy (BLE). |
| 8 | + |
| 9 | +## ArcGIS Survey123 |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | +*ArcGIS Survey123 Home Screen* |
| 14 | + |
| 15 | +[ArcGIS Survey123](https://apps.apple.com/us/app/arcgis-survey123/id993015031) is a popular offering from Esri that works well with SparkFun RTK products. |
| 16 | + |
| 17 | +ArcGIS Survey123 connects to the RTK device over TCP. In other words, the RTK device needs to be connected to the same WiFi network as the device running ArcGIS. Generally, this is an iPhone or iPad. |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | +*Adding WiFi network to settings* |
| 25 | + |
| 26 | +The RTK device must use WiFi to connect to the data collector. Using a cellular hotspot or cellphone is recommended. In the above image, the device will attempt to connect to *iPhone* (a cell phone hotspot) when WiFi is needed. |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | +*TCP Server Enabled on port 2948* |
| 31 | + |
| 32 | +Next, the RTK device must be configured as a *TCP Server*. The default port of 2948 works well. See [TCP/UDP Menu](menu_tcp_udp.md) for more information. |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | +*RTK device showing IP address* |
| 37 | + |
| 38 | +Once the RTK device connects to the WiFi hotspot, its IP address can be found in the [System Menu](menu_system.md). This is the number that needs to be entered into ArcGIS Survey123. You can now proceed to the ArcGIS Survey123 app to set up the software connection. |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | +*ArcGIS Survey123 Home Screen* |
| 43 | + |
| 44 | +From the home screen, click on the 'hamburger' icon in the upper right corner. |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | +*ArcGIS Survey123 Settings Menu* |
| 49 | + |
| 50 | +From the settings menu, click on the *Settings* gear. |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | +*ArcGIS Survey123 Settings List* |
| 55 | + |
| 56 | +From the settings list, click on *Location*. |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | +*ArcGIS Survey123 List of Location Providers* |
| 61 | + |
| 62 | +Click on the *Add location provider*. |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | +*ArcGIS Survey123 Network Connection Type* |
| 67 | + |
| 68 | +Select *Network*. |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | +*ArcGIS Survey123 TCP Connection Information* |
| 73 | + |
| 74 | +Enter the IP address previously found along with the TCP port. Once complete, click *Add*. |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | +*ArcGIS Survey123 Sensor Settings* |
| 79 | + |
| 80 | +You may enter various sensor-specific settings including antenna height, if desired. To view real-time sensor information, click on the satellite icon in the upper right corner. |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | +*ArcGIS Survey123 Sensor Data* |
| 85 | + |
| 86 | +The SparkFun RTK device's data should now be seen. Click on the *Map* icon to return to the mapping interface. |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | +*ArcGIS Survey123 Map Interface* |
| 91 | + |
| 92 | +Returning to the map view, we can now begin gathering point information with millimeter accuracy. |
| 93 | + |
| 94 | +## QField |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | +[QField](https://docs.qfield.org/get-started/) is a free iOS app that runs QGIS. |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | +*Modified NMEA messages on RTK Torch* |
| 103 | + |
| 104 | +First, configure the RTK device to output *only* the following NMEA messages: |
| 105 | + |
| 106 | +* GPGGA |
| 107 | +* GPGSA |
| 108 | +* GPGST |
| 109 | +* GPGSV |
| 110 | + |
| 111 | +QField currently does not correctly parse other messages such as **GPRMC**, or **RTCM**. These messages will prevent communication if they are enabled. |
| 112 | + |
| 113 | +These NMEA message settings can be found under the [Messages menu](menu_messages.md), using the [web config page](configure_with_wifi.md) or the [serial config interface](configure_with_serial.md). |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | +*Adding WiFi network to settings* |
| 121 | + |
| 122 | +Next, the RTK device must use WiFi to connect to the data collector. Using a cellular hotspot or cellphone is recommended. In the above image, the device will attempt to connect to *iPhone* (a cell phone hotspot) when WiFi is needed. |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | +*TCP Server Enabled on port 9000* |
| 127 | + |
| 128 | +Next, the RTK device must be configured as a *TCP Server*. QField uses a default port of 9000 so that is what we recommend using. See [TCP/UDP Menu](menu_tcp_udp.md) for more information. |
| 129 | + |
| 130 | + |
| 131 | + |
| 132 | +*RTK device showing IP address* |
| 133 | + |
| 134 | +Once the RTK device connects to the WiFi hotspot, its IP address can be found in the [System Menu](menu_system.md). This is the number that needs to be entered into QField. You can now proceed to the QField app to set up the software connection. |
| 135 | + |
| 136 | + |
| 137 | + |
| 138 | +*QField Opening Screen* |
| 139 | + |
| 140 | +Click on *QFieldCloud projects* to open your project that was previously created on the [QField Cloud](https://app.qfield.cloud/) or skip this step by using one of the default projects (*Bee Farming*, *Wastewater*, etc). |
| 141 | + |
| 142 | + |
| 143 | + |
| 144 | +*QField Main Map* |
| 145 | + |
| 146 | +From the main map, click on the 'hamburger' icon in the upper left corner. |
| 147 | + |
| 148 | + |
| 149 | + |
| 150 | +*QField Settings Gear* |
| 151 | + |
| 152 | +Click on the gear to open settings. |
| 153 | + |
| 154 | + |
| 155 | + |
| 156 | +Click on the *Settings* menu. |
| 157 | + |
| 158 | + |
| 159 | + |
| 160 | +*QField Positioning Menu* |
| 161 | + |
| 162 | +From the *Positioning* menu, click Add. |
| 163 | + |
| 164 | + |
| 165 | + |
| 166 | +*QField Entering TCP Information* |
| 167 | + |
| 168 | +Select TCP as the connection type. Enter the IP address of the RTK device and the port number. Finally, hit the small check box in the upper left corner (shown in pink above) to close the window. |
| 169 | + |
| 170 | +Once this information is entered, QField will automatically attempt to connect to that IP and port. |
| 171 | + |
| 172 | + |
| 173 | + |
| 174 | +*QField TCP Connected* |
| 175 | + |
| 176 | +Above, we see the port is successfully connected. Exit out of all menus. |
| 177 | + |
| 178 | + |
| 179 | + |
| 180 | +*QField Connected via TCP with RTK Fix* |
| 181 | + |
| 182 | +Returning to the map view, we see an RTK Fix with 11mm positional accuracy. |
| 183 | + |
| 184 | +## SW Maps |
| 185 | + |
| 186 | +SWMaps is available for iOS [here](https://apps.apple.com/us/app/sw-maps/id6444248083). |
| 187 | + |
| 188 | +Make sure your RTK device is switched on and operating in Rover mode. |
| 189 | + |
| 190 | +Make sure Bluetooth is enabled on your iOS device Settings. |
| 191 | + |
| 192 | +The RTK device will not appear in the _OTHER DEVICES_ list. That is OK. |
| 193 | + |
| 194 | + |
| 195 | + |
| 196 | +*iOS Settings Bluetooth* |
| 197 | + |
| 198 | +Open SWMaps. |
| 199 | + |
| 200 | +Open or continue a Project if desired. |
| 201 | + |
| 202 | +SWMaps will show your approximate location based on your iOS device's location. |
| 203 | + |
| 204 | + |
| 205 | + |
| 206 | +*iOS SWMaps Initial Location* |
| 207 | + |
| 208 | +Press the 'SWMaps' icon at the top left of the screen to open the menu. |
| 209 | + |
| 210 | + |
| 211 | + |
| 212 | +*iOS SWMaps Menu* |
| 213 | + |
| 214 | +Select Bluetooth GNSS. |
| 215 | + |
| 216 | + |
| 217 | + |
| 218 | +*iOS SWMaps Bluetooth Connection* |
| 219 | + |
| 220 | +Set the **Instrument Model** to **Generic NMEA (Bluetooth LE)**. |
| 221 | + |
| 222 | + |
| 223 | + |
| 224 | +*iOS SWMaps Instrument Model* |
| 225 | + |
| 226 | +Press 'Scan' and your RTK device should appear. |
| 227 | + |
| 228 | + |
| 229 | + |
| 230 | +*iOS SWMaps Bluetooth Scan* |
| 231 | + |
| 232 | +Select (tick) the RTK device and press 'Connect'. |
| 233 | + |
| 234 | + |
| 235 | + |
| 236 | +*iOS SWMaps Bluetooth Connected* |
| 237 | + |
| 238 | +Close the menu and your RTK location will be displayed on the map. |
| 239 | + |
| 240 | +You can now use the other features of SWMaps, including the built-in NTRIP Client. |
| 241 | + |
| 242 | +Re-open the menu and select 'NTRIP Client'. |
| 243 | + |
| 244 | +Enter the details for your NTRIP Caster - as shown in the [SWMaps section above](#sw-maps). |
| 245 | + |
| 246 | + |
| 247 | + |
| 248 | +*iOS SWMaps NTRIP Client* |
| 249 | + |
| 250 | +Click 'Connect' |
| 251 | + |
| 252 | +At this point, you should see a Bluetooth Pairing Request. Select 'Pair' to pair your RTK with your iOS device. |
| 253 | + |
| 254 | + |
| 255 | + |
| 256 | +*iOS Bluetooth Pairing* |
| 257 | + |
| 258 | +SWMaps will now receive NTRIP correction data from the caster and push it to your RTK over Bluetooth BLE. |
| 259 | + |
| 260 | +From the SWMaps menu, open 'GNSS Status' to see your position, fix type and accuracy. |
| 261 | + |
| 262 | + |
| 263 | + |
| 264 | +*iOS SWMaps GNSS Status* |
| 265 | + |
| 266 | +If you return to the iOS Bluetooth Settings, you will see that your iOS and RTK devices are now paired. |
| 267 | + |
| 268 | + |
| 269 | + |
| 270 | +*iOS Settings Bluetooth - Paired* |
| 271 | + |
| 272 | +## Other GIS Packages |
| 273 | + |
| 274 | +Hopefully, these examples give you an idea of how to connect the RTK product line to most any GIS software. If there is other GIS software that you'd like to see configuration information about, please open an issue on the [RTK Firmware repo](https://github.com/sparkfun/SparkFun_RTK_Everywhere_Firmware/issues) and we'll add it. |
| 275 | + |
| 276 | +## What's an NTRIP Caster? |
| 277 | + |
| 278 | +In a nutshell, it's a server that is sending out correction data every second. There are thousands of sites around the globe that calculate the perturbations in the ionosphere and troposphere that decrease the accuracy of GNSS accuracy. Once the inaccuracies are known, correction values are encoded into data packets in the RTCM format. You, the user, don't need to know how to decode or deal with RTCM, you simply need to get RTCM from a source within 10km of your location into the RTK Express. The NTRIP client logs into the server (also known as the NTRIP caster) and grabs that data, every second, and sends it over Bluetooth to the RTK Express. |
| 279 | + |
| 280 | +## Where do I get RTK Corrections? |
| 281 | + |
| 282 | +Be sure to see [Correction Sources](correction_sources.md). |
| 283 | + |
| 284 | +Don't have access to an NTRIP Caster or other RTCM correction source? There are a few options. |
| 285 | + |
| 286 | +The [SparkFun RTK Facet L-Band](https://www.sparkfun.com/products/20000) gets corrections via an encrypted signal from geosynchronous satellites. This device gets RTK Fix without the need for a WiFi or cellular connection. |
| 287 | + |
| 288 | +Also, you can use a 2nd RTK product operating in Base mode to provide the correction data. Check out [Creating a Permanent Base](permanent_base.md). |
| 289 | + |
| 290 | +If you're the DIY sort, you can create your own low-cost base station using an ESP32 and a ZED-F9P breakout board. Check out [How to Build a DIY GNSS Reference Station](https://learn.sparkfun.com/tutorials/how-to-build-a-diy-gnss-reference-station). |
| 291 | + |
| 292 | +There are services available as well. [Syklark](https://www.swiftnav.com/skylark) provides RTCM coverage for $49 a month (as of writing) and is extremely easy to set up and use. [Point One](https://app.pointonenav.com/trial?utm_source=sparkfun) also offers RTK NTRIP service with a free 14 day trial and easy to use front end. |
0 commit comments