Skip to main content

ESP32-C3 SuperMini

A super tiny ESP32-C3 board.

Features

  • I2C on 6/7
  • LED on pin 8 (use setStatusLight to control)
  • Serial logging on pin 21 at 115200 8N1

  • Service: buttonBOOT (button)

Stores

Pins

pin namehardware idfeatures
P0GPIO0analogIn, io
P1GPIO1analogIn, io
P10GPIO10io
P2GPIO2analogIn, boot, io
P20GPIO20bootUart, io
P3GPIO3analogIn, io
P4GPIO4analogIn, debug, io
P5GPIO5debug, io
$services.buttonBOOT[0].pinGPIO9$services.buttonBOOT[0].pin, boot, io
i2c.pinSCLGPIO7i2c.pinSCL, debug, io
i2c.pinSDAGPIO6i2c.pinSDA, debug, io
led.pinGPIO8led.pin, boot, io
log.pinTXGPIO21log.pinTX, bootUart, 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 "ESP32-C3 SuperMini".

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

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_supermini

Configuration

esp32c3_supermini.json
{
"$schema": "https://raw.githubusercontent.com/microsoft/devicescript-esp32/main/boards/esp32deviceconfig.schema.json",
"id": "esp32c3_supermini",
"devName": "ESP32-C3 SuperMini",
"productId": "0x31606c1c",
"$description": "A super tiny ESP32-C3 board.",
"archId": "esp32c3",
"url": "https://banggood.com/ESP32-C3-Development-Board-ESP32-SuperMini-WiFi-Bluetooth-Mini-Module-p-1997449.html",
"$services": [
{
"name": "buttonBOOT",
"pin": 9,
"service": "button"
}
],
"i2c": {
"pinSCL": 7,
"pinSDA": 6
},
"led": {
"isMono": true,
"pin": 8
},
"log": {
"pinTX": 21
},
"pins": {
"P0": 0,
"P1": 1,
"P10": 10,
"P2": 2,
"P20": 20,
"P3": 3,
"P4": 4,
"P5": 5
}
}