Networking and Communications
Setting Up XIAO ESP32
Here’s how I set up my XIAO ESP32 board to work with the Arduino IDE. Super simple — follow these steps and you’ll be ready to upload code in minutes.
This site helped : Seeed Website
Step 1: Install the ESP32 Board Package I opened Arduino IDE and went to:
- File → Preferences → Additional Board URLs.
In the "Additional Board URLs" box, I pasted the following link:
https://espressif.github.io/arduino-esp32/package_esp32_index.json
Then, I headed to:
Tools → Board → Board Manager,
searched for ESP32, and installed the package named ESP32 by Espressif Systems.
Step 2: Select the Right Board and Port
Once installed, I selected the correct board:
From the top menu:
- Tools → Board → ESP32 Arduino → Seeed XIAO ESP32C3
Then I connected the board with a USB-C cable, and selected the correct PORT from:
- Tools → Port
Make sure the XIAO ESP32 is plugged in properly — it should show up here.
Step 3: Upload a Basic Test Sketch
To test if everything was working, I uploaded this super simple code: Initial code
After uploading, I opened the Serial Monitor (115200 baud), and saw the message:
Boom! That confirmed everything was set up correctly.
Getting the MAC Address of XIAO ESP32
After setting up my XIAO ESP32 with the Arduino IDE, the next thing I needed was its MAC address — super useful for networking stuff, especially when you want to assign static IPs or identify your board on a network.
What I Did:
-
Uploaded the code- Macaddress code
-
Opened Serial Monitor at 115200 baud
-
Hit the Reset button on the board once
And boom — the MAC address popped up!