# Absolute Encoders

The SPARK MAX does not need to be configured to a specific mode to accept input from an absolute encoder as long as the encoder is connected to the SPARK MAX Data Port.&#x20;

#### Absolute Encoder Specifications

| Parameter                    | Specification     |
| ---------------------------- | ----------------- |
| Encoder Output Voltage Level | 5.0V              |
| Encoder Type Supported       | Duty Cycle or PWM |

{% hint style="info" %}
Absolute encoder input is supported by SPARK MAX Firmware Version 1.6.0 and newer,&#x20;
{% endhint %}

## Connecting an Absolute Encoder

Connecting an absolute encoder that is not a Through Bore Encoder will likely require a custom wiring harness or [SPARK MAX Data Port Breakout Board](https://www.revrobotics.com/rev-11-1278/) to connect the necessary encoder power, ground, and signals to the SPARK MAX Data Port. When using an Absolute Encoder use the following pinout information for the Data Port:

![](https://cdn8.bigcommerce.com/s-t3eo8vwp22/product_images/uploaded_images/dataportpinout.png)

#### Data Port Connector Information

| **Connector Pin** | **Pin Type** | **Pin Function**           |
| ----------------- | ------------ | -------------------------- |
| 1                 | Power        | +3.3V                      |
| 2                 | Power        | +5V                        |
| 3                 | Analog       | Analog Input               |
| 4                 | Digital      | Forward Limit Switch Input |
| 5                 | Digital      | Encoder B                  |
| 6                 | Digital      | Absolute/PWM Input         |
| 7                 | Digital      | Encoder A                  |
| 8                 | Digital      | Reverse Limit Switch Input |
| 9                 | Digital      | Encoder C / Index          |
| 10                | Ground       | Ground                     |


---

# 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.revrobotics.com/brushless/spark-max/encoders/absolute.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.
