> For the complete documentation index, see [llms.txt](https://help.imotions.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.imotions.com/lab/sensor-setup/gps-module-setup-and-use.md).

# GPS module setup and use

Connect a GPS device to iMotions Lab, check the satellite connection and record latitude, longitude, speed and course with your study.

With the GPS module, iMotions Lab records the position, speed and course of a GPS device together with the other data in a study, for example in driving or field studies. This article explains how to connect the GPS device, check the satellite connection and record GPS data.

## Requirements

* The iMotions GPS license module.
* A GPS device that sends NMEA data over a USB serial port.
* A clear view of the sky, so that the device can receive GPS satellites.

## Connecting the GPS device

1. Connect the GPS device to a USB port on the computer.
2. Open **Device Manager** in Windows and expand **Ports (COM & LPT)**. Note the COM port of the **USB Serial Device** that appears for the GPS device, for example COM8.

   ![Device Manager with the GPS device listed under Ports as a USB Serial Device on COM8](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-22a1a3b860c45b0685f858ec9918f8ba21c7283f%2F25957a03ea_image-1720617668951.png?alt=media)
3. In iMotions, open **Global Settings** and go to the **Sensors** tab.

   ![GPS settings on the Sensors tab of Global Settings](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-b5e5b4476d14ef850c33f4a79bebf31f937aaf5f%2F4f6a3667f3_image-1720617818981.webp?alt=media)
4. Select the **Port** that you noted in Device Manager.
5. Select the **Baudrate**. Most GPS devices use 9600; check the specifications of your device.
6. Click **OK** to save the settings. iMotions connects to the GPS device. The first time you connect a device, it can take some time to find satellites.

## Checking the satellite connection

The GPS widget at the bottom of the main iMotions window shows the satellites the device is connected to as green dots.

![GPS widget with the connected satellites shown as green dots](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-cd58d5b068136fbdb619f7b59e15387e2003245f%2F773306182e_image-1720647091934.webp?alt=media)

Click **Map** in the widget to show the current location on a map. The map uses OpenStreetMap. Another map service can be configured, but this is only needed if you have your own map service.

![GPS widget in map view with the current location on OpenStreetMap](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-f44fbfdc064bffa9549d443be877a0ddc30b2d2a%2F4edb2bd44c_image-1720647131726.webp?alt=media)

## Recording GPS data

1. Create a study and select the **GPS** sensor.
2. Add a respondent and start the recording. iMotions records the GPS data automatically.

   ![Study settings with the GPS sensor selected](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-d27323d86fe5c07b4f58f86e944416715b8508b2%2Ffff66be6c9_image-1720646632794.webp?alt=media)
3. To view the data, open the [Sensor Preview](https://help.imotions.com/lab/data-collection/sensor-preview-window.md) during the recording, or the [Respondent Replay](https://help.imotions.com/lab/analysis/signal-processing-r-notebooks/my-library/respondent-replay.md) afterwards.

iMotions records these GPS signals:

| Signal      | Unit    | Description                                                             |
| ----------- | ------- | ----------------------------------------------------------------------- |
| Active      |         | 1 when the device has a valid location, 0 when it has no satellite fix. |
| Latitude    | Degrees | Latitude of the device.                                                 |
| Longitude   | Degrees | Longitude of the device.                                                |
| Speed knots | Knots   | Speed over ground.                                                      |
| Speed km/h  | km/h    | Speed over ground.                                                      |
| Course      | Degrees | Course over ground.                                                     |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.imotions.com/lab/sensor-setup/gps-module-setup-and-use.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
