> For the complete documentation index, see [llms.txt](https://docs.revrobotics.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.revrobotics.com/brushless/spark-max/encoders/absolute.md).

# 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
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 dynamically by asking a question.

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

```
GET https://docs.revrobotics.com/brushless/spark-max/encoders/absolute.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
