Skip to main content

Espressif ESP32 (bare)

Bare ESP32 without any default functions for pins.

Features

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
P36GPIO36analogIn, input
P39GPIO39analogIn, input
P4GPIO4io, 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 (bare)".

import { pins, board } from "@dsboard/esp32_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 esp32_bare

Configuration

esp32_bare.json
{
"$schema": "https://raw.githubusercontent.com/microsoft/devicescript-esp32/main/boards/esp32deviceconfig.schema.json",
"id": "esp32_bare",
"devName": "Espressif ESP32 (bare)",
"productId": "0x3ff6ffeb",
"$description": "Bare ESP32 without any default functions for pins.",
"archId": "esp32",
"url": "https://www.espressif.com/en/products/socs/esp32",
"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,
"P36": 36,
"P39": 39,
"P4": 4
}
}