03 - Installing Arduino IDE

1. Download and install the Arduino IDE from the [https://www.arduino.cc/en/software](https://www.arduino.cc/en/software) ![arduino_ide_download.png](https://cdn.shopify.com/s/files/1/0331/9994/7908/files/arduino_ide_download.png?v=1741551067) ## Adding ESP32 Support ### Step 1: Configure Board Manager URL 1. Open Arduino IDE 2. Go to `Arduino IDE > Settings` 3. In "Additional Board Manager URLs" field, add: ``` https://dl.espressif.com/dl/package_esp32_index.json ``` ![Pasted image 20250122152113.png](https://cdn.shopify.com/s/files/1/0331/9994/7908/files/Pasted_image_20250122152113.png?v=1760400193) The link https://dl.espressif.com/dl/package_esp32_index.json is the **Board Manager URL** for adding ESP32 support to the Arduino IDE. It points to a JSON file hosted by Espressif that contains metadata and package information required by the Arduino IDE to download and configure the ESP32 board definitions, libraries, and tools. You can access the source files at https://github.com/espressif/arduino-esp32 ### Step 2: Install ESP32 Package 1. Go to `Tools > Board > Boards Manager` 2. Search for "ESP32" 3. **DO NOT CHOOSE Arduino ESP32 Boards by Arduino** 4. Install the board package **esp32 by Espressif Systems**. 5. Wait for installation to complete ![Pasted image 20250122153305.png](https://cdn.shopify.com/s/files/1/0331/9994/7908/files/Pasted_image_20250122153305.png?v=1760400197) ## Setting Up Your ESP32 ![](https://cdn.shopify.com/s/files/1/0331/9994/7908/files/Pasted_image_20251014113813.png?v=1760402306) 1. Connect your ESP32 to your computer via USB 2. Select your board: `Tools > Board > ESP32 1. For ESP32, Select `ESP32 Dev Module` 3. Choose the correct port: `Tools > Port > [Your ESP32 Port]` 1. on Mac, the port name is /dev/cu.usbserial-xxxxx 2. on Windows, the port name is COMx ## Testing Your Setup 1. The Arduino IDE provides a default blank sketch containing only the setup and loop functions. Let’s try compiling and uploading it to the ESP32. 2. Click the verify button at top left corner to compile the code 3. Click the upload button (→) to program your ESP32 ![Pasted image 20250122160328.png](https://cdn.shopify.com/s/files/1/0331/9994/7908/files/Pasted_image_20250122160328.png?v=1760400201)