> 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-professional-development-technical-path/gs/parts-identification/sensors.md).

# Sensors

## Touch Sensor

<figure><img src="/files/LYfIs8IrCI0bdQWrngCS" alt="" width="375"><figcaption></figcaption></figure>

A touch sensor is a form of[ digital sensor](#user-content-fn-1)[^1] that responds to some form of physical touch. The touch sensor found in the EDU Kit V2 uses a simple push button to switch between on or off. Within the Blocks programming language, this appears as True or False.

## Color Sensor

<figure><img src="/files/wMzJxco7jGhCIksJbAVG" alt="" width="375"><figcaption></figcaption></figure>

A color sensor is a form of [I2C sensor](#user-content-fn-2)[^2]. This type of sensor measures reflected light, allowing it to determine how much light is being seen, the distance to a surface, and what color is in front of it. The color sensor found in the EDU Kit V2 uses a [HSV model ](#user-content-fn-3)[^3]to determine color.

[^1]: Digital sensors have two states, known as binary states. Binary states can be thought of as an “either/or”, like how a light switch can either be in the “on” position or “off”.

[^2]: I2C sensors use a more advanced form of digital communication protocol than the previously introduced digital sensors. I2C allows a host, the Control Hub, to communicate with multiple devices sharing a bus.

[^3]: Hue, Saturation, and Value. A form of a cylindrical RGB color model used to do things like create color pickers for digital painting programs, to edit photos, and for programming vision code


---

# 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-professional-development-technical-path/gs/parts-identification/sensors.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.
