# 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 %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.swyftrobotics.com/electronics/swyft-ranger/modes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
