Board

Seeed XIAO ESP32-C6 simulator, the C6 on a thumbnail

The XIAO ESP32-C6 is the DevKitC-1’s RISC-V chip at 160 MHz on a board 21 by 17.5 mm with fourteen pads. Its D0 to D10 are the XIAO family’s numbers, not GPIOs, and a sketch uses them as they are. The yellow user LED on GPIO 15 lights when the pin is LOW, and WiFi joins a simulated network.

Start building free
  • 6peripheral areas modeled
  • 1project ready to run
  • Real timeon your own machine
Seeed XIAO ESP32-C6: knoblive0.000 s 0.00x
Click to open it in the editor
The board is running real firmware right now. Click it to open the circuit in the editor.
The model

What is modeled

Taken from the board's own contract document and put in plain words, with what is missing beside it.

Modeled

Core
RV32IMC at 160 MHz, the DevKitC-1 model whole
GPIO
The eleven D pads, with the XIAO’s names defined for your sketch
ADC1
A0 to A2, which are ADC1 channels 0 to 2
LEDC
PWM on any pad
The user LED
GPIO 15, lit when the pin is LOW, as LED_BUILTIN
WiFi, simulated
WiFi.h over a network written in software: no radio, no 802.11, and real internet only when you sign in and switch it on

Not modeled

  • The RF switch on GPIO 3 and 14 and the antenna it picks.
  • The battery charger, the USB stack and a real radio.
  • Thread and Zigbee, which the C6 has and the Arduino core does not use.
Start here

Open one and press Run

Each of these opens in the editor exactly as it is drawn here.

Projects

Every built-in project on the XIAO ESP32-C6

Each has its own page with the circuit running, the code and a parts list.

Libraries

Arduino libraries that compile as they are

Paste a tutorial that includes one of these and it builds. For any other library, the build names the Mokxi header that does the same job.

Servo.h
attach, write, writeMicroseconds, read, detach, on any pin
Wire.h
I2C as a master; Wire.begin() puts it on D4 (SDA) and D5 (SCL)
SPI.h
transfer and transactions, on the board’s usual SPI pins
EEPROM.h
read, write, update, get, put and EEPROM[i], kept in 4 KB of RAM, which a reset clears: this board has no EEPROM to write
LiquidCrystal_I2C.h
the 16x2 LCD behind its I2C backpack
Adafruit_GFX.h and Adafruit_SSD1306.h
the 128x64 I2C OLED: text, pixels, lines, rectangles, circles, triangles and bitmaps
Adafruit_NeoPixel.h
WS2812 strips and panels
ESP32Servo.h
the ESP32 spelling of Servo.h

And 16 more, 24 in all: DHT.h; OneWire.h and DallasTemperature.h; Adafruit_BME280.h, Adafruit_BMP280.h and SparkFunBME280.h; RTClib.h; Adafruit_SHT31.h; Adafruit_PCF8591.h; Adafruit_ADXL345_U.h; LedControl.h; Adafruit_LEDBackpack.h; Adafruit_TCS34725.h; Adafruit_SGP30.h; Adafruit_INA219.h; Adafruit_ADS1X15.h; Adafruit_MCP23X17.h; Bounce2.h; HX711.h.

Questions

Is it free?

Yes. Every board and every part is on the free plan, with no account needed.

Is D3 GPIO 3?

No. D3 is GPIO 21, and D6 is GPIO 16. Use the D names in your sketch; they are defined for this board.

Does a XIAO ESP32-C3 sketch run on it?

If it uses the D names, yes: they sit on the same pads. The analog pins differ, and the C6 has a user LED the C3 does not.

Which way is the LED wired?

It lights when GPIO 15 is LOW. digitalWrite(LED_BUILTIN, LOW) turns it on.

Try it on your own firmware

What you build here runs on the board on your desk, unchanged. Nothing to install and no account needed.