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

### 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**

### 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**

## Step 3: Select Your Board
1. Go to **Tools** → **Board** → **ESP32 Arduino**
2. Select **"ESP32S3 Dev Module"** (or your specific board if listed)

## 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

## 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.
[](https://lonelybinary.com)
or contact us at office@lonelybinary.com