> For the complete documentation index, see [llms.txt](https://docs.swyftrobotics.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.swyftrobotics.com/electronics/swyft-ranger/modes.md).

# Modes

## Overview

Ranger supports 4 different ranging modes, those being 15° FOV, 20° FOV, 27° FOV, & DETECT modes.

### FOV Modes

In the different FOV modes Ranger outputs an analog signal. Each FOV has a different update rate, and is better suited for a different distance, in general, the larger the FOV, the longer the max distance you can detect, but the slower the output is updated.

You should experiment with each mode to determine which best suits your needs, there is no one-size-fits-all solution. See [Technical Data](/electronics/swyft-ranger/technical-data.md) for more information.

### DETECT Mode

In DETECT Mode Ranger outputs a digital signal. Ranger will send an active high signal, by default, if it detects any object within its ranging distance. The user is able to configure both a minimum and maximum threshold for this distance. This allows for Ranger to only send an active high signal for a very small target area.

#### Configuration Sequence

{% hint style="danger" %}
**DO NOT** power off Ranger during the configuration sequence.
{% endhint %}

To configure the minimum or maximum threshold values, follow these steps:

1. Both switches must be in the 1 position
2. Bring one of the switches to the 0 position
3. Ranging sequence will begin

Bringing the left switch to the 0 position will change the minimum threshold.

Bringing the right switch to the 0 position will change the maximum threshold.

The ranging sequence proceeds as follows:

1. Wait 5 seconds
2. Take measurement samples
3. Average the samples
4. Determine if the measurement was ok
5. If the measurement was ok, write to memory, otherwise ignore

{% hint style="info" %}
If the sampled measurement is determined to be bad, Ranger will disregard the measurement and alert you with an LED pattern, find more info about the LED patterns [here](/electronics/swyft-ranger/led-patterns.md#detect-mode-configuration).
{% endhint %}
