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 name | hardware id | features |
---|---|---|
P0 | GPIO0 | analogIn, io |
P1 | GPIO1 | analogIn, io |
P10 | GPIO10 | io |
P2 | GPIO2 | analogIn, boot, io |
P20 | GPIO20 | bootUart, io |
P21 | GPIO21 | log.pinTX, bootUart, io |
P3 | GPIO3 | analogIn, io |
P4 | GPIO4 | analogIn, debug, io |
P5 | GPIO5 | debug, io |
P6 | GPIO6 | debug, io |
P7 | GPIO7 | debug, io |
P8 | GPIO8 | boot, io |
P9 | GPIO9 | $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
}
}