Skip to main content

Espressif ESP32-DevKitC

There are currently issues with serial chip on these, best avoid. ESP32-DevKitC development board. This will also work with DOIT DevkitV1, NodeMCU ESP32, ... (search for 'esp32 devkit'). Some of these boards do not have the LED.

Espressif ESP32-DevKitC picture

Features

  • Service: buttonIO0 (button)

caution

I2C pins are not configured.

Stores

Pins

pin namehardware idfeatures
P13GPIO13debug, io, touch
P14GPIO14debug, io, touch
P18GPIO18io
P19GPIO19io
P21GPIO21io
P22GPIO22io
P23GPIO23io
P25GPIO25analogOut, io
P26GPIO26analogOut, io
P27GPIO27io, touch
P32GPIO32analogIn, io, touch
P33GPIO33analogIn, io, touch
P34GPIO34analogIn, input
P35GPIO35analogIn, input
P4GPIO4io, touch
VNGPIO39analogIn, input
VPGPIO36analogIn, input
$services.buttonIO0[0].pinGPIO0$services.buttonIO0[0].pin, boot, io, touch
led.pinGPIO2led.pin, boot, io, touch

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-DevKitC".

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

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 esp32_devkit_c

Configuration

esp32_devkit_c.json
{
"$schema": "https://raw.githubusercontent.com/microsoft/devicescript-esp32/main/boards/esp32deviceconfig.schema.json",
"id": "esp32_devkit_c",
"devName": "Espressif ESP32-DevKitC",
"productId": "0x3c507a05",
"$description": "There are currently issues with serial chip on these, best avoid. ESP32-DevKitC development board. This will also work with DOIT DevkitV1, NodeMCU ESP32, ... (search for 'esp32 devkit'). Some of these boards do not have the LED.",
"archId": "esp32",
"url": "https://docs.espressif.com/projects/esp-idf/en/latest/esp32/hw-reference/esp32/get-started-devkitc.html",
"$services": [
{
"name": "buttonIO0",
"pin": 0,
"service": "button"
}
],
"led": {
"pin": 2
},
"pins": {
"P13": 13,
"P14": 14,
"P18": 18,
"P19": 19,
"P21": 21,
"P22": 22,
"P23": 23,
"P25": 25,
"P26": 26,
"P27": 27,
"P32": 32,
"P33": 33,
"P34": 34,
"P35": 35,
"P4": 4,
"VN": 39,
"VP": 36
}
}