05 - Arduino IDE Setup Guide

Video

# ESP32-S3 Setup Guide: Arduino IDE 2.x Installation ## Introduction Welcome to the complete setup guide for your **Lonely Binary ESP32-S3** development board! This guide will walk you through installing Arduino IDE 2.x, adding **Lonely Binary ESP32-S3** support, and configuring the **Lonely Binary ESP32-S3** settings properly. ## What You'll Learn - How to install Arduino IDE 2.x - How to add ESP32-S3 board support - How to configure **Lonely Binary ESP32-S3** settings - How to upload your first program - Troubleshooting common issues ## Prerequisites Before we start, make sure you have: - A computer (Windows, Mac, or Linux) - A USB cable (preferably USB-C) - Your Lonely Binary ESP32-S3 board - Internet connection ## Step 1: Install Arduino IDE 2.x ### Download Arduino IDE 2.x 1. Go to [arduino.cc](https://arduino.cc) 2. Click "Software" → "Download Arduino IDE" 3. Choose the version for your operating system: - **Windows:** Download the Windows installer - **Mac:** Download the macOS version - **Linux:** Download the Linux version ![](https://cdn.shopify.com/s/files/1/0331/9994/7908/files/Pasted_image_20250723214306_ee8cb9d0-f8ba-4f36-8e06-b68312b7b4ec.png?v=1755945565) ### Install Arduino IDE **Windows:** - Run the downloaded `.exe` file - Follow the installation wizard - Arduino IDE will be installed in `C:\Program Files\Arduino` **Mac:** - Open the downloaded `.dmg` file - Drag Arduino IDE to your Applications folder - Open Arduino IDE from Applications **Linux:** - Extract the downloaded `.tar.xz` file - Run the `install.sh` script - Or use your package manager: `sudo apt install arduino` ## Step 2: Add ESP32-S3 Board Support ### Open Arduino IDE 1. Launch Arduino IDE 2.x 2. You'll see a clean interface with a basic sketch ### Add ESP32 Board Manager URL 1. Go to **File** → **Preferences** (or **Arduino IDE** → **Preferences** on Mac) 2. In the "Additional Board Manager URLs" field, add this URL: ``` https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json ``` 3. Click **OK** ![](https://cdn.shopify.com/s/files/1/0331/9994/7908/files/Pasted_image_20250723214333_f5a2e2b5-ca18-4ac2-a095-d10cfb568945.png?v=1755945569) ### Install ESP32 Board Package 1. Go to **Tools** → **Board** → **Boards Manager** 2. In the search box, type "esp32" 3. Find "ESP32 by Espressif Systems" 4. Click **Install** (this may take a few minutes) 5. Wait for the installation to complete 6. Click **Close** ![](https://cdn.shopify.com/s/files/1/0331/9994/7908/files/Pasted_image_20250723215726_e5850601-b731-4390-81ec-f70fa43e7424.png?v=1755945573) ## Step 3: Select Your Board 1. Go to **Tools** → **Board** → **ESP32 Arduino** 2. Select **"ESP32S3 Dev Module"** (or your specific board if listed) ![](https://cdn.shopify.com/s/files/1/0331/9994/7908/files/Pasted_image_20250723215919_17d79ec1-b497-42e4-8098-b67c5df2d28e.png?v=1755945577) ## Step 4: Configure Lonely Binary ESP32-S3 N16R8 Lonely Binary's ESP32-S3 uses the maximum 16MB Flash and 8MB PSRAM which is the best. We have to speicify the settings at Arduino IDE to match with the Flash and PSRAM settings. > By default, we assume you uses the USB port on ESP32-S3. If you would like to use the UART port. the USB CDC on Boot should be disabled. **Using USB Port:** **USB CDC On Boot**: "Enabled" **Using UART Port**: **USB CDC On Boot**: "Disabled" - **Board:** ESP32S3 Dev Module - **PSRAM:** OPI PSRAM - **Flash Size:** 16MB (128Mb) - **Flash Mode:** QIO 80MHz - **Partition Scheme:** 16M Flash (3MB APP/9.9MB FATFS) - **Upload Mode**: UART0 / Hardware CDC - **USB Mode**: Hardware CDC and JTAG ![](https://cdn.shopify.com/s/files/1/0331/9994/7908/files/Pasted_image_20250723223826_8375083d-66d1-4834-9a00-95a167cbdcc4.png?v=1755945290) ## Step 5: Connect Your ESP32-S3 ### Physical Connection 1. **Use the Right USB Port:** Connect to the **USB port** (not the UART port) 2. **Use a Good Cable:** Make sure your USB cable supports data transfer (not just charging) 3. **Check the Connection:** The board should power up with an LED indicator ### Select the Correct Port 1. Go to **Tools** → **Port** 2. Look for a port that appears when you connect the ESP32-S3 3. It might be named something like: - **Windows:** `COM3`, `COM4`, etc. - **Mac:** `/dev/cu.usbserial-XXXXXX` - **Linux:** `/dev/ttyUSB0` or `/dev/ttyACM0` **Note:** If you don't see a port, try: - Disconnecting and reconnecting the USB cable - Using a different USB cable - Checking if the board is powered on ## Step 6: Test Your Setup ### Create a Test Program Create a new sketch with this simple test program: ``` cpp // ESP32-S3 Test Program // Lonely Binary ESP32-S3 N16R8 void setup() { Serial.begin(115200); // Start serial communication } void loop() { Serial.println("ESP32-S3 is starting up!"); delay(1000); } ``` ### Upload the Code 1. Click the **Upload** button (→ arrow) in Arduino IDE 2. Wait for the upload to complete 3. You should see "Upload complete" message ### Test the Result 1. Open the **Serial Monitor** (Tools → Serial Monitor) 2. Set the baud rate to **115200** 3. You should see messages like "ESP32-S3 is starting up!" every 1 second. ## Summary You've successfully set up your Lonely Binary ESP32-S3 with Arduino IDE 2.x! Here's what we accomplished: ✅ **Installed Arduino IDE 2.x** ✅ **Added ESP32 board support** ✅ **Configured Lonely Binary ESP32-S3 settings** ✅ **Connected the board properly** ✅ **Uploaded and tested your first program** ## Support If you encounter any issues, please go to [https://lonelybinary.com](https://lonelybinary.com) and click the Support button located in the bottom right corner. Our team is ready to assist you. [![Technical Support](https://cdn.shopify.com/s/files/1/0331/9994/7908/files/Pasted_image_20250527102623_4e41083f-a1d3-412d-a78f-9cb11ecf69e5.png?v=1754008493)](https://lonelybinary.com) or contact us at office@lonelybinary.com