Skip to content

Library Reference

Search Arduino and ESP32 libraries by name, sensor, or protocol. Every entry has the Library Manager name, PlatformIO ID, and ready-to-run example code.

DHT sensor library

by Adafruit

Read temperature and humidity from DHT11, DHT21, and DHT22 sensors.

SensorsArduinoESP32

Adafruit Unified Sensor

by Adafruit

Common sensor data abstraction layer required by most Adafruit sensor libraries.

Core / UtilityArduinoESP32

Adafruit BME280 Library

by Adafruit

Driver for the BME280 temperature, humidity, and barometric pressure sensor over I2C/SPI.

SensorsArduinoESP32

NewPing

by Tim Eckel

Fast, accurate distance readings from HC-SR04 and similar ultrasonic sensors.

SensorsArduinoESP32

Adafruit SSD1306

by Adafruit

Driver for SSD1306-based monochrome OLED displays (128x64, 128x32) over I2C/SPI.

DisplaysArduinoESP32

LiquidCrystal_I2C

by Frank de Brabander

Drive 16x2 / 20x4 character LCDs through a PCF8574 I2C backpack with just 2 wires.

DisplaysArduinoESP32

Servo

by Arduino / Michael Margolis

Built-in library for controlling standard hobby servo motors with precise pulse timing.

Actuators & MotorsArduino

ESP32Servo

by John K. Bennett (Kevin Harrington)

Servo control for ESP32 boards using the LEDC PWM peripheral (the standard Servo library doesn't support ESP32).

Actuators & MotorsESP32

PubSubClient

by Nick O'Leary

Lightweight MQTT client for publishing and subscribing to topics over Wi-Fi or Ethernet.

Communication & RFESP32ESP8266

ArduinoJson

by Benoit Blanchon

Parse and generate JSON efficiently on memory-constrained microcontrollers.

Core / UtilityArduinoESP32

ESPAsyncWebServer

by me-no-dev / mathieucarbou

Asynchronous HTTP and WebSocket server for ESP32/ESP8266 — handle requests without blocking the main loop.

Communication & RFESP32ESP8266

RTClib

by Adafruit

Read and set time from DS1307, DS3231, and PCF8523 real-time clock modules.

Modules (RTC, SD, GPS…)ArduinoESP32

SD

by Arduino (built-in)

Read and write files on SD/microSD cards using the standard FAT filesystem.

Modules (RTC, SD, GPS…)ArduinoESP32

TinyGPSPlus

by Mikal Hart

Parse NMEA sentences from GPS modules into easy-to-use latitude, longitude, speed, and time data.

Modules (RTC, SD, GPS…)ArduinoESP32

IRremote

by Armin Joachimsmeyer (shirriff)

Send and receive infrared remote control signals (NEC, Sony, RC5, and more).

Communication & RFArduinoESP32

LoRa

by Sandeep Mistry

Send and receive LoRa packets with SX1276/SX1278-based modules (e.g. RFM95, Ra-02).

Communication & RFArduinoESP32

OneWire

by Paul Stoffregen / Jim Studt

Low-level driver for the 1-Wire bus protocol used by DS18B20 temperature sensors and similar devices.

Core / UtilityArduinoESP32

DallasTemperature

by Miles Burton

High-level driver for DS18B20 waterproof digital temperature sensors, built on top of OneWire.

SensorsArduinoESP32

Adafruit NeoPixel

by Adafruit

Control WS2812/WS2812B/NeoPixel addressable RGB LED strips and matrices.

Actuators & MotorsArduinoESP32

FastLED

by Daniel Garcia, Sam Guyer

High-performance library for controlling addressable LED strips with advanced color and animation effects.

Actuators & MotorsArduinoESP32

Wire

by Arduino (built-in)

Built-in I2C (TWI) communication library — the foundation almost every I2C sensor library is built on.

Core / UtilityArduinoESP32