# Reflectance Sensor Module

<figure><img src="https://1077748559-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LuxEcL3mxZNc5Aa92N6%2Fuploads%2FEQEm2q4MYZv3NCfqTRAb%2FYeni%20Microsoft%20PowerPoint%20Sunusu.jpg?alt=media&#x26;token=ccf2c499-f5c4-43fc-bb5d-e05bc4615443" alt=""><figcaption><p>Reflectance Sensor Module</p></figcaption></figure>

Here is the [datasheet of the reflectance sensor (CNY70)](https://www.vishay.com/docs/83751/cny70.pdf) on the module.

<mark style="color:red;">The Reflectance Sensor Module</mark> is a tool that used to detect contrast on a surface. It works by detecting the reflectance of a surface using infrared light and differentiating the contrast by measuring the amount of reflected light to the ratio of emitted light. The most distinguishable surface colors are black and white, as in line-following robot parkours.&#x20;

The module has 3 reflectance sensors on it, positioned as left - middle - right, each sensor returns an analog value in the range of \[0, 255] to express the contrast level. This feature makes it a valuable tool to build a line follower robot system combined with PID controller.

<figure><img src="https://1077748559-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LuxEcL3mxZNc5Aa92N6%2Fuploads%2F1jAaUj4jieoyjrDDp6h9%2FReflectance.jpg?alt=media&#x26;token=0257f418-ebdf-457d-9969-74a4f9e7996c" alt=""><figcaption></figcaption></figure>

#### Step Files:

{% file src="<https://1077748559-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LuxEcL3mxZNc5Aa92N6%2Fuploads%2Fgs7ENyHhBhrnHp3YY0FG%2FReflectance%20Module%20Rev3.step?alt=media&token=e3e128fa-cf14-43ef-be9d-433a2ac9f876>" %}


---

# 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.acrome.net/electronics/add-on-modules/reflectance-sensor-module.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.
