Source: https://mokxi.com/boards/xiao-esp32-c6

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

- 6 peripheral areas modeled
- 1 project ready to run
- Real time on your own machine

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.

- XIAO C6 knob Beginner

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.

Also here

## The other boards

Every one of these runs today, and every one is free.

ESP32-C3-DevKitM-1

A RISC-V chip at 160 MHz, on the real memory map.

Open the board page

Arduino Uno R3

The classic Arduino, with an ATmega328P running at 16 MHz.

Open the board page

Arduino Nano

The Uno’s chip on a small board that fits a breadboard.

Open the board page

Arduino Mega 2560

The big Arduino, with 54 digital pins and four serial ports.

Open the board page

Arduino Leonardo

An Uno-shaped board whose chip does its own USB serial.

Open the board page

ESP32-C6-DevKitC-1

A second RISC-V board, with 31 pins and simulated WiFi.

Open the board page

ESP32 DevKit V1

The classic ESP32 at 240 MHz, with simulated WiFi.

Open the board page

ESP32-S3-DevKitC-1

The ESP32-S3 at 240 MHz, with USB serial and an RGB LED.

Open the board page

All 39 boards

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

Start building free Open the editor
