Piedinatura ESP32-S3-DevKitC-1
La scheda ESP32-S3 di Espressif: Wi-Fi, Bluetooth LE, due porte USB e un LED RGB. Comoda sulla breadboard, logica a 3,3 V.
In breve
- Chip
- ESP32-S3 (ESP32-S3-WROOM-1-N8R8)
- Processore
- Dual-core Xtensa LX7 at 240 MHz, 512 KB SRAM, 8 MB flash, 8 MB octal PSRAM, Wi-Fi and Bluetooth LE
- Livello logico
- 3,3 V. Non tollera i 5 V, salvo i pin indicati sotto.
- Strumento di programmazione
- esptool
- Scheda Arduino (FQBN)
- esp32:esp32:esp32s3
- Vista dei pin dal vivo in BoardPilot
- Sì (agente diagnostico disponibile)
Pin da evitare o da usare con attenzione
Memoria flash: 37, 36, 35
Collegati alla memoria flash. Non usarli mai.
Pin di strapping critici: 45
Un livello sbagliato al reset impedisce l’avvio della scheda.
Pin di strapping: 3, 46, 0
Il loro livello al reset cambia il modo di avvio. Di solito vanno bene dopo l’avvio.
Seriale USB: TX (GPIO43), RX (GPIO44)
Usati per il caricamento e il monitor seriale. Qualsiasi cosa collegata qui può impedire il caricamento.
USB nativa: 20, 19
Le linee dati USB. Usarle blocca il caricamento via USB e il monitor seriale.
Pin adatti a LED, pulsanti e segnali
4, 5, 6, 7, 15, 16, 17, 18, 21, 47, 1, 2, 14
Pin predefiniti in Arduino
- I2C
- SDA = 8, SCL = 9. Qualsiasi coppia di pin di uscita funziona con Wire.begin(sda, scl). Sull’ESP32-S3 qualsiasi GPIO può fare I2C. Il Wire di Arduino usa per impostazione predefinita GPIO 8 (SDA) e GPIO 9 (SCL).
- SPI
- MOSI = 11, MISO = 13, SCK = 12, CS = 10.
- Ingressi analogici
- 1, 2, 4, 5, 6, 7, 10, 3, 8, 9 (0–3.3 V)
Come programmarla
Usa la porta con la scritta UART. Se il caricamento non parte, tieni premuto BOOT, premi e rilascia RESET, poi rilascia BOOT.
Tutti i 44 pin
| Pin | GPIO | Pin del chip | Funzioni | Note |
|---|---|---|---|---|
| 3V3 | — | 3V3 | 3,3 V dal regolatore sulla scheda. Puoi dare 3,3 V da qui invece che dalla USB, ma mai tutti e due insieme. | |
| 3V3 | — | 3V3 | Stessa linea a 3,3 V dell’altro pin 3V3. | |
| RST | — | CHIP_PU | Reset. Portarlo a LOW riavvia il chip (come il pulsante RESET). | |
| 4 | 4 | GPIO, RTC_GPIO4, TOUCH4, ADC1_CH3 | ||
| 5 | 5 | GPIO, RTC_GPIO5, TOUCH5, ADC1_CH4 | ||
| 6 | 6 | GPIO, RTC_GPIO6, TOUCH6, ADC1_CH5 | ||
| 7 | 7 | GPIO, RTC_GPIO7, TOUCH7, ADC1_CH6 | ||
| 15 | 15 | GPIO, RTC_GPIO15, U0RTS, ADC2_CH4, XTAL_32K_P | ||
| 16 | 16 | GPIO, RTC_GPIO16, U0CTS, ADC2_CH5, XTAL_32K_N | ||
| 17 | 17 | GPIO, RTC_GPIO17, U1TXD, ADC2_CH6 | ||
| 18 | 18 | GPIO, RTC_GPIO18, U1RXD, ADC2_CH7, CLK_OUT3 | ||
| 8 | 8 | GPIO, RTC_GPIO8, TOUCH8, ADC1_CH7, SUBSPICS1, I2C_SDA (predef.) | Pin SDA I2C predefinito di Arduino sull’ESP32-S3. | |
| 3 | 3 | GPIO, RTC_GPIO3, TOUCH3, ADC1_CH2 | Pin di strapping per la sorgente JTAG. Viene ignorato a meno che non siano stati bruciati eFuse speciali, quindi di solito si può usare senza problemi. | |
| 46 | 46 | GPIO | Pin di strapping: tienilo LOW (il suo valore predefinito) al reset, altrimenti il caricamento può non riuscire. | |
| 9 | 9 | GPIO, RTC_GPIO9, TOUCH9, ADC1_CH8, FSPIHD, SUBSPIHD, I2C_SCL (predef.) | Pin SCL I2C predefinito di Arduino sull’ESP32-S3. | |
| 10 | 10 | GPIO, RTC_GPIO10, TOUCH10, ADC1_CH9, FSPICS0, FSPIIO4, SUBSPICS0, SPI_CS (predef.) | ||
| 11 | 11 | GPIO, RTC_GPIO11, TOUCH11, ADC2_CH0, FSPID, FSPIIO5, SUBSPID, SPI_MOSI (predef.) | ||
| 12 | 12 | GPIO, RTC_GPIO12, TOUCH12, ADC2_CH1, FSPICLK, FSPIIO6, SUBSPICLK, SPI_SCK (predef.) | ||
| 13 | 13 | GPIO, RTC_GPIO13, TOUCH13, ADC2_CH2, FSPIQ, FSPIIO7, SUBSPIQ, SPI_MISO (predef.) | ||
| 14 | 14 | GPIO, RTC_GPIO14, TOUCH14, ADC2_CH3, FSPIWP, FSPIDQS, SUBSPIWP | ||
| 5V | — | 5V | 5 V dalle porte USB. Puoi alimentare la scheda da qui con 5 V invece che dalla USB, ma mai tutti e due insieme. | |
| G | — | GND | ||
| G | — | GND | ||
| TX | 43 | GPIO43 | GPIO, U0TXD, CLK_OUT1 | TX della seriale USB tramite il CP2102N (porta con la scritta UART). Usato per il caricamento e il monitor seriale. |
| RX | 44 | GPIO44 | GPIO, U0RXD, CLK_OUT2 | RX della seriale USB tramite il CP2102N (porta con la scritta UART). Usato per il caricamento e il monitor seriale. |
| 1 | 1 | GPIO, RTC_GPIO1, TOUCH1, ADC1_CH0 | ||
| 2 | 2 | GPIO, RTC_GPIO2, TOUCH2, ADC1_CH1 | ||
| 42 | 42 | GPIO, MTMS | ||
| 41 | 41 | GPIO, MTDI, CLK_OUT1 | ||
| 40 | 40 | GPIO, MTDO, CLK_OUT2 | ||
| 39 | 39 | GPIO, MTCK, CLK_OUT3, SUBSPICS1 | ||
| 38 | 38 | GPIO, FSPIWP, SUBSPIWP, RGB_LED | Pilota il LED RGB sulle schede v1.1. RGB_BUILTIN di Arduino punta a GPIO 48 (il pin del LED sulla v1.0), quindi per questo LED usa 38. | |
| 37 | 37 | GPIO, SPIDQS, FSPIQ, SUBSPIQ | Usato dentro il modulo dalla PSRAM octal (N8R8 e altre schede R8 / R16V). Non disponibile: non usarlo. | |
| 36 | 36 | GPIO, SPIIO7, FSPICLK, SUBSPICLK | Usato dentro il modulo dalla PSRAM octal (N8R8 e altre schede R8 / R16V). Non disponibile: non usarlo. | |
| 35 | 35 | GPIO, SPIIO6, FSPID, SUBSPID | Usato dentro il modulo dalla PSRAM octal (N8R8 e altre schede R8 / R16V). Non disponibile: non usarlo. | |
| 0 | 0 | GPIO, RTC_GPIO0 | Pin di strapping collegato al pulsante BOOT: LOW al reset avvia la modalità di caricamento invece del tuo programma. | |
| 45 | 45 | GPIO | Strapping pin: HIGH at reset selects 1.8 V flash voltage, so the board may not boot. Keep it LOW or floating at reset. | |
| 48 | 48 | GPIO, SPICLK_N, SUBSPICLK_N_DIFF | Libero sulle schede v1.1. Sulla vecchia scheda v1.0 questo pin pilota il LED RGB. | |
| 47 | 47 | GPIO, SPICLK_P, SUBSPICLK_P_DIFF | ||
| 21 | 21 | GPIO, RTC_GPIO21 | ||
| 20 | 20 | GPIO, RTC_GPIO20, U1CTS, ADC2_CH9, CLK_OUT1, USB_D+ | USB D+ nativa (la porta con la scritta USB). Usarlo blocca quella porta USB. | |
| 19 | 19 | GPIO, RTC_GPIO19, U1RTS, ADC2_CH8, CLK_OUT2, USB_D- | USB D- nativa (la porta con la scritta USB). Usarlo blocca quella porta USB. | |
| G | — | GND | ||
| G | — | GND |
Controlla il cablaggio con BoardPilot
BoardPilot mostra questa scheda in 3D, segnala i pin rischiosi mentre colleghi e la programma in sicurezza, con un backup prima.
Scarica BoardPilotFonti
- ESP32-S3-DevKitC-1 v1.1 user guide, Header Block (J1, J3), Description of Components, Hardware Revision Details
- ESP32-S3-DevKitC-1 v1.1 schematic (2022-11-30), Sheet 2: CP2102N-A02, two micro-USB connectors, RGB LED on GPIO38, BOOT on GPIO0
- ESP32-S3-DevKitC-1 v1.1 dimensions (DXF 2022-04-29), Board outline, header pad centres, component outlines
- ESP32-S3 Series Datasheet v2.2, 3 Boot Configurations (strapping pins GPIO0, 3, 45, 46; Tables 3-1, 3-3, 3-4, 3-5)
- ESP32-S3-WROOM-1 / 1U Datasheet v1.8, Pin Definitions note b: IO35-37 used by octal PSRAM; Table 1-1 ordering codes
- ESP-IDF Programming Guide (ESP32-S3), ADC Oneshot: Hardware Limitations (ADC2 is also used by Wi-Fi)
- arduino-esp32 variants/esp32s3/pins_arduino.h, SDA 8, SCL 9, SS 10, MOSI 11, MISO 13, SCK 12, PIN_RGB_LED 48, USB 303a:1001
- File dei dati della scheda e note sulle fonti su GitHub