The overview, with examples running, is on the board page.
What it is
The same Xtensa LX7 chip as the ESP32-S3-DevKitC-1, inside a u-blox NORA-W106 module, at 240 MHz, on a board 45 by 18 mm with two fifteen-pin rows 0.6 inch apart. The USB-C socket goes to the chip's own USB, and both it and UART0 reach the serial monitor. It runs at 3.3 V.
Pin numbers: build by GPIO number
Arduino's core for this board has two pin numberings, chosen under Tools, Pin
Numbering. Mokxi builds by GPIO number ("By GPIO number (legacy)"), so a
bare number is a GPIO: 13 is GPIO 13, which is A6. The names are defined
for you and mean the right pin under either setting, so write D13, A0 and
LED_BUILTIN rather than bare numbers.
| Pin | GPIO | Also |
|---|---|---|
D0 (RX0) |
44 | UART RX |
D1 (TX1) |
43 | UART TX |
D2 to D7 |
5 to 10 | |
D8, D9 |
17, 18 | |
D10 |
21 | SPI SS |
D11 |
38 | SPI MOSI |
D12 |
47 | SPI MISO |
D13 |
48 | SPI SCK, the orange LED |
A0 to A3 |
1 to 4 | |
A4, A5 |
11, 12 | I2C SDA, SCL |
A6, A7 |
13, 14 | |
B0 |
46 | the RGB LED's red |
B1 |
0 | the RGB LED's green, and BOOT |
VBUS is the USB 5 V. VIN is the input to the board's regulator, which is
not modeled, so it is left open.
The LEDs
LED_BUILTIN is the orange LED on D13, which lights when the pin is HIGH.
The RGB LED is common anode: LED_RED (GPIO 46), LED_GREEN (GPIO 0) and
LED_BLUE (GPIO 45) each light when the pin is LOW. Blue is on a GPIO no
pin reaches.
WiFi
It joins Mokxi's simulated network, with the network name and password as properties of the board. There is no radio, no 802.11 and no real internet: Simulated WiFi says what is faithful and what is not. The one exception is the Real internet switch in the Cloud panel, which sends requests for other names out through Mokxi's gateway.
What is modeled
The DevKitC-1 model's chip, whole: one Xtensa LX7 core, GPIO through the GPIO matrix, UART0 and the USB serial port, the timers, ADC1, LEDC PWM and the RMT.
What is not modeled
Arduino pin numbering (the default in the Arduino IDE), the regulator behind
VIN, the PSRAM, the second core and a real radio. Bluetooth LE is simulated: a phone in the editor's Bluetooth pane, not a real radio.
MicroPython
Pick MicroPython (main.py) in the board's Firmware panel and Run boots the
official MicroPython v1.29.0 firmware for the ESP32-S3 with your main.py, on a
model of the whole chip booted from Espressif's own ROM. machine.Pin, PWM,
ADC, I2C, SPI, UART(1) and neopixel work, and network.WLAN joins
the simulated network. See
MicroPython on the ESP32.
Common mistakes
digitalWrite(13, HIGH) to light the LED. Here 13 is GPIO 13. Write
digitalWrite(LED_BUILTIN, HIGH) or digitalWrite(D13, HIGH).
Starter project
Nano ESP32 blink is the board across a breadboard, flashing the orange LED and walking the RGB LED through its colors.
Related
- The board page: /boards/nano-esp32
- The chip's contract document: the ESP32-S3 model
- The same chip on other boards: the ESP32-S3-DevKitC-1 and the XIAO ESP32-S3
- The AVR board on this outline: the Arduino Nano
- Starter project: Nano ESP32 blink