Libraries๏ƒ

Arduino libraries help you use the features of the ESP32 family of chips with the familiar Arduino API.

Supported Features and Peripherals๏ƒ

Currently, the Arduino ESP32 supports almost everything available on the ESP32 family with an Arduino-like API.

Not all features are available on all SoCs. Please check the Product Selector page for more details.

Here is a matrix of the library support status for the main features and peripherals per SoC:

  • โœ… Supported through the Arduino Core

  • โŒ Not supported through the Arduino Core. It can still be used through the ESP-IDF API, but might require rebuilding the static libraries.

  • โž– Not available on the SoC

Feature

ESP32

C2

C3

C5

C6

C61

H2

P4

S2

S3

ADC [1]

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

BT Classic

โœ…

โž–

โž–

โž–

โž–

โž–

โž–

โž–

โž–

โž–

BLE [2]

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โž–

โœ…

DAC

โœ…

โž–

โž–

โž–

โž–

โž–

โž–

โž–

โœ…

โž–

ESP-NOW [3]

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โž–

โž–

โœ…

โœ…

Ethernet [4]

โœ…

โž–

โž–

โž–

โž–

โž–

โž–

โœ…

โž–

โž–

GPIO

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

Hall Sensor

โž–

โž–

โž–

โž–

โž–

โž–

โž–

โž–

โž–

โž–

I2C

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

I2S

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

I3C

โž–

โž–

โž–

โž–

โž–

โž–

โž–

โŒ

โž–

โž–

LEDC

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

Matter (Thread) [6]

โž–

โž–

โž–

โœ…

โœ…

โž–

โœ…

โž–

โž–

โž–

Matter (Wi-Fi) [7]

โœ…

โŒ

โœ…

โŒ

โœ…

โŒ

โž–

โž–

โœ…

โœ…

MIPI CSI

โž–

โž–

โž–

โž–

โž–

โž–

โž–

โŒ

โž–

โž–

MIPI DSI

โž–

โž–

โž–

โž–

โž–

โž–

โž–

โŒ

โž–

โž–

Motor PWM

โŒ

โž–

โž–

โŒ

โŒ

โž–

โŒ

โŒ

โž–

โŒ

MSPI

โž–

โž–

โž–

โž–

โž–

โž–

โž–

โŒ

โž–

โž–

Pulse Counter

โŒ

โŒ

โŒ

โŒ

โŒ

โŒ

โŒ

โŒ

โŒ

โŒ

RMT

โœ…

โœ…

โœ…

โœ…

โœ…

โž–

โœ…

โœ…

โœ…

โœ…

SDIO

โŒ

โž–

โž–

โŒ

โŒ

โŒ

โž–

โŒ

โž–

โŒ

SDMMC

โœ…

โž–

โž–

โž–

โž–

โž–

โž–

โž–

โž–

โœ…

PSRAM

โœ…

โž–

โž–

โœ…

โž–

โœ…

โž–

โœ…

โœ…

โœ…

Temp. Sensor

โž–

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

Thread

โž–

โž–

โž–

โœ…

โœ…

โž–

โœ…

โž–

โž–

โž–

Timer

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

Touch

โœ…

โž–

โž–

โž–

โž–

โž–

โž–

โœ…

โœ…

โœ…

TWAI/CAN-FD

โŒ

โž–

โŒ

โŒ

โŒ

โž–

โŒ

โŒ

โŒ

โŒ

UART

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

USB OTG

โž–

โž–

โž–

โž–

โž–

โž–

โž–

โœ…

โœ…

โœ…

USB Serial

โž–

โž–

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โž–

โœ…

Wi-Fi [2]

โœ…

โœ…

โœ…

โœ…

โœ…

โœ…

โž–

โœ…

โœ…

โœ…

Zigbee [5]

โž–

โž–

โž–

โœ…

โœ…

โž–

โœ…

โž–

โž–

โž–

Note

The ESP32-C2 and ESP32-C61 are only supported using Arduino as an ESP-IDF component or by rebuilding the static libraries.

Datasheet๏ƒ

APIs๏ƒ

The Arduino ESP32 offers some unique APIs, described in this section:

Note

Please be advised that we cannot ensure continuous compatibility between the Arduino Core ESP32 APIs and ESP8266 APIs, as well as Arduino-Core APIs (Arduino.cc). While our aim is to maintain harmony, the addition of new features may result in occasional divergence. We strive to achieve the best possible integration but acknowledge that perfect compatibility might not always be feasible. Please refer to the documentation for any specific considerations.

Matter APIs๏ƒ

OpenThread APIs๏ƒ

Zigbee APIs๏ƒ