> 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/rev-crossover-products/sensors/magnetic-limit-switch.md).

# Magnetic Limit Switch

The REV Robotics Magnetic Limit Switch ([REV-31-1462](https://www.revrobotics.com/rev-31-1462/)) is a three-sided digital hall effect switch. The three internal hall effect elements (one on top, two on the sides) are connected in parallel so if any one of them is triggered the sensor will report as triggered.&#x20;

Hall effect sensors detect the presence of a magnetic fields. The REV Magnetic Limit Switch is an omnipolar momentary switch; it will trigger when there is sufficient field strength of either magnetic pole detected.

<figure><img src="/files/oYF9erQSiD3JjOEHSxw9" alt=""><figcaption></figcaption></figure>

### Kit Contents

|                                  Part Number                                 | Description                      | Qty |
| :--------------------------------------------------------------------------: | -------------------------------- | :-: |
|            [REV-31-1462](https://www.revrobotics.com/rev-31-1462/)           | REV Magnetic Limit Switch        |  1  |
|                                       -                                      | Magnet with mounting tabs        |  2  |
| [REV-31-1407](https://www.revrobotics.com/jst-ph-4-pin-sensor-cable-4-pack/) | JST PH 4-pin Sensor Cable - 30cm |  1  |


---

# 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:

```
GET https://docs.revrobotics.com/rev-crossover-products/sensors/magnetic-limit-switch.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.
