Skip to content

11. Networking and Communications

Group Assignment

You can find more details on our lab site: TechWorks - Networking and Communications


UART Communication Protocol


I2C Communication Protocol

XIAO ESP32-c3 —> XIAO RP2040

πŸ”§ Uploading Code to XIAO ESP32-C3 Using Arduino IDE

βœ… Step 1: Install ESP32 Board Support

  1. Open Arduino IDE.
  2. Go to File β†’ Preferences.
  3. In the “Additional Boards Manager URLs” field, add:

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

If you have other URLs there, separate them with a comma.

  1. Click OK.

  2. Go to Tools β†’ Board β†’ Boards Manager.

  3. Search for esp32 and install “esp32 by Espressif Systems” (install the latest version).

βœ… Step 2: Select the XIAO ESP32-C3 Board

  1. Go to Tools β†’ Board and select:

XIAO_ESP32C3

If not visible, scroll or search after installing the ESP32 core.

  1. Go to Tools β†’ Port and choose the correct COM port for the board.

βœ… Step 3: Uploading Code (Tips)

  • If the upload fails, double-press the RESET button on the XIAO ESP32-C3.
  • The onboard LED should start pulsing β€” it’s now in bootloader mode.
  • Then click Upload again.

Test Example

void setup() {
Serial.begin(115200);
}

void loop() {
Serial.println("Hello from XIAO ESP32-C3!");
delay(1000);
}