Skip to main content

Espressif ESP32-C3 (bare)

A bare ESP32-C3 board without any pin functions.

Features

  • Serial logging on pin P21 at 115200 8N1

  • Service: buttonBOOT (button)

caution

I2C pins are not configured.

Stores

Pins

pin namehardware idfeatures
P0GPIO0analogIn, io
P1GPIO1analogIn, io
P10GPIO10io
P2GPIO2analogIn, boot, io
P20GPIO20bootUart, io
P21GPIO21log.pinTX, bootUart, io
P3GPIO3analogIn, io
P4GPIO4analogIn, debug, io
P5GPIO5debug, io
P6GPIO6debug, io
P7GPIO7debug, io
P8GPIO8boot, io
P9GPIO9$services.buttonBOOT[0].pin, boot, io

DeviceScript import

You must add this import statement to load the pinout configuration for this device.

In Visual Studio Code, click the wand icon on the file menu and select "Espressif ESP32-C3 (bare)".

import { pins, board } from "@dsboard/esp32c3_bare"

Firmware update

In Visual Studio Code, select DeviceScript: Flash Firmware... from the command palette.

Run this command line command and follow the instructions.

devicescript flash --board esp32c3_bare

Configuration

esp32c3_bare.json
{
"$schema": "https://raw.githubusercontent.com/microsoft/devicescript-esp32/main/boards/esp32deviceconfig.schema.json",
"id": "esp32c3_bare",
"devName": "Espressif ESP32-C3 (bare)",
"productId": "0x3a1d89be",
"$description": "A bare ESP32-C3 board without any pin functions.",
"archId": "esp32c3",
"url": "https://www.espressif.com/en/products/socs/esp32-c3",
"$services": [
{
"name": "buttonBOOT",
"pin": "P9",
"service": "button"
}
],
"log": {
"pinTX": "P21"
},
"pins": {
"P0": 0,
"P1": 1,
"P10": 10,
"P2": 2,
"P20": 20,
"P21": 21,
"P3": 3,
"P4": 4,
"P5": 5,
"P6": 6,
"P7": 7,
"P8": 8,
"P9": 9
}
}