> For the complete documentation index, see [llms.txt](https://docs.feelix.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.feelix.xyz/uploading-files/setting-up-esp32.md).

# Setting up ESP32

Follow the steps below if you want to use an ESP32 as Master device.

{% hint style="success" %}
See [FeelixEffect Docs](broken://pages/C7ArpfbROUnAbs36JOGo) for communication examples.
{% endhint %}

{% hint style="warning" %}
[**Install CP2102 drivers**](https://www.pololu.com/docs/0j7/all) if you experience issues with uploading to ESP32.
{% endhint %}

{% stepper %}
{% step %}

#### Install ESP32 boards manager URL

Go to Arduino IDE > file > preferences

Add the following URL to boards manager URLs\
<https://espressif.github.io/arduino-esp32/package_esp32_index.json>

<figure><img src="https://409642222-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M3MZhIYg7iSyaPwgNKY%2Fuploads%2FPsBYH0dhfDgEBDSbEI4z%2Fpreferences_add_esp32.png?alt=media&amp;token=e8f8493f-1467-4149-83e8-c671d9660416" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Install ESP32 by Espressif Systems in Boards Manager

Open Tools > Board > Boards manager&#x20;

Search **Espressif**&#x20;

<figure><img src="https://409642222-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M3MZhIYg7iSyaPwgNKY%2Fuploads%2F55XdVXHEffjGcQCBa78f%2Fesp32-boardsmanager%20url.png?alt=media&amp;token=5ba356f0-9071-452e-8118-fc96b933a584" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Select Board

When using DOIT ESP32 DEVKIT V1 available at [TinyTronics](https://www.tinytronics.nl/nl/development-boards/microcontroller-boards/met-wi-fi/esp32-wifi-en-bluetooth-board-cp2102). Go to Tools > Board > esp32 and select **DOIT ESP32 DEVKIT V1**&#x20;
{% endstep %}

{% step %}

#### Connect ESP32 with Feelink

**DOIT ESP32 DEVKIT V1**\
I<sup>2</sup>C SCL GPIO 22\
I<sup>2</sup>C SDA GPIO 21

<figure><img src="https://409642222-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M3MZhIYg7iSyaPwgNKY%2Fuploads%2FzK40IIDIsgjo0H9LRzr3%2Fconnect%20esp.svg?alt=media&amp;token=b36182cb-ef99-472e-9603-2685c6dd4c78" alt=""><figcaption><p>DOIT ESP32 DEVKIT V1 - Feelink </p></figcaption></figure>

{% endstep %}
{% endstepper %}
