# Hardware Requirements

The treadmill run sensor requires 2 main components:

* Infrared reflection sensor E18-D80NK - <https://datasheetspdf.com/pdf/1311838/ETT/E18-D80NK-N/1>

&#x20;     ![](https://1218434053-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb0r6BSb3ULm1iK3Wus72%2Fuploads%2FgQ8YIpdUWFfZhHFKsAYC%2Fimage.png?alt=media\&token=1e6d110f-4083-4f7a-8d04-0a26e3557545)       ![](https://1218434053-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb0r6BSb3ULm1iK3Wus72%2Fuploads%2FmTYv0fbuxYoz4DWFG6AQ%2Fimage.png?alt=media\&token=7a4c2082-b144-47d9-be35-87bc6209390b)

* ESP32 DevKit microcontroller (with Micro-USB) - preferably use a microcontroller that has an onboard antenne to have a stronger bluetooth signal.

![https://docs.espressif.com/projects/esp-idf/en/latest/esp32/hw-reference/esp32/get-started-devkitc.html](https://1218434053-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb0r6BSb3ULm1iK3Wus72%2Fuploads%2Foc0NAcFZrd6uFHuWXNI2%2Fimage.png?alt=media\&token=d77da5cd-7c9f-4403-82ec-3f24f8670194)

Connect the IR sensor to the pins of the ESP32 as shown above.

The sensor requires 5V and its digital output signal is connected to **GPIO5** on the ESP32.

{% hint style="info" %}
The ESP32 pin layout may vary depending on the manufacturer !
{% endhint %}
