Just got an ESP32-S3 CAM? Let's get it running from scratch.
In this guide, we'll install everything needed, connect the board to Arduino IDE, and upload a simple onboard LED blink program.
What You Need
USB data cable
Computer
Arduino IDE
1. Install Arduino IDE
Download and install the latest Arduino IDE from the official Arduino website.
After installing, open Arduino IDE.
2. Install ESP32 Board Support
Open:
Arduino IDE → Settings
Find Additional Boards Manager URLs and add:
https://espressif.github.io/arduino-esp32/package_esp32_index.json
Click OK.
Now open:
Tools → Board → Boards Manager
Search:
ESP32
Install:
esp32 by Espressif Systems
3. Connect the ESP32-S3 CAM
Connect the board using a USB data cable.
Then select:
Tools → Board → esp32 → ESP32S3 Dev Module
For a typical ESP32-S3 board, use:
USB CDC On Boot → Enabled
Then go to:
Tools → Port
and select the port belonging to your ESP32-S3.
Board names and LED pins can vary between ESP32-S3 CAM models, so check your board's pinout if these options differ.
4. Upload Your First Blink Program
Start with this simple test:
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
digitalWrite(LED_BUILTIN, HIGH);
delay(1000);
digitalWrite(LED_BUILTIN, LOW);
delay(1000);
}
Click Upload.
After the upload finishes, the onboard LED should blink approximately every second.
5. If LED_BUILTIN Doesn't Work
Don't worry.
ESP32-S3 CAM boards don't all use the same LED GPIO.
Check your board's pinout and replace:
LED_BUILTIN
with the correct LED GPIO.
For example:
#define LED_PIN 2
void setup() {
pinMode(LED_PIN, OUTPUT);
}
void loop() {
digitalWrite(LED_PIN, HIGH);
delay(1000);
digitalWrite(LED_PIN, LOW);
delay(1000);
}
Only use GPIO 2 if your particular board specifies it.
🎉 You're Ready!
If the blink test works, your ESP32-S3 CAM is successfully set up.
You now have everything ready for the next step:
📷 Camera initialization → Wi-Fi → Web Server → Live Streaming → AI projects
That's it — your ESP32-S3 CAM is ready to build with! 🚀

Post a Comment