# Sensors

## Touch Sensor

<figure><img src="https://3023198990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnKoHwxC0Q1NBpLowZUmu%2Fuploads%2FqOEuf6SpO5VRlwPNqAlD%2Fimage.png?alt=media&#x26;token=b0fe2f73-44ad-4bca-a23e-08f3c1056f5a" 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="https://3023198990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnKoHwxC0Q1NBpLowZUmu%2Fuploads%2FcroppBfiZExYgG3xCIEN%2Fimage.png?alt=media&#x26;token=8d3e29d9-168c-4855-86fa-1fe861285536" 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
