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.
Adafruit Unified Sensor
by Adafruit
Common sensor data abstraction layer required by most Adafruit sensor libraries.
Adafruit BME280 Library
by Adafruit
Driver for the BME280 temperature, humidity, and barometric pressure sensor over I2C/SPI.
NewPing
by Tim Eckel
Fast, accurate distance readings from HC-SR04 and similar ultrasonic sensors.
Adafruit SSD1306
by Adafruit
Driver for SSD1306-based monochrome OLED displays (128x64, 128x32) over I2C/SPI.
LiquidCrystal_I2C
by Frank de Brabander
Drive 16x2 / 20x4 character LCDs through a PCF8574 I2C backpack with just 2 wires.
Servo
by Arduino / Michael Margolis
Built-in library for controlling standard hobby servo motors with precise pulse timing.
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).
PubSubClient
by Nick O'Leary
Lightweight MQTT client for publishing and subscribing to topics over Wi-Fi or Ethernet.
ArduinoJson
by Benoit Blanchon
Parse and generate JSON efficiently on memory-constrained microcontrollers.
ESPAsyncWebServer
by me-no-dev / mathieucarbou
Asynchronous HTTP and WebSocket server for ESP32/ESP8266 — handle requests without blocking the main loop.
RTClib
by Adafruit
Read and set time from DS1307, DS3231, and PCF8523 real-time clock modules.
SD
by Arduino (built-in)
Read and write files on SD/microSD cards using the standard FAT filesystem.
TinyGPSPlus
by Mikal Hart
Parse NMEA sentences from GPS modules into easy-to-use latitude, longitude, speed, and time data.
IRremote
by Armin Joachimsmeyer (shirriff)
Send and receive infrared remote control signals (NEC, Sony, RC5, and more).
LoRa
by Sandeep Mistry
Send and receive LoRa packets with SX1276/SX1278-based modules (e.g. RFM95, Ra-02).
OneWire
by Paul Stoffregen / Jim Studt
Low-level driver for the 1-Wire bus protocol used by DS18B20 temperature sensors and similar devices.
DallasTemperature
by Miles Burton
High-level driver for DS18B20 waterproof digital temperature sensors, built on top of OneWire.
Adafruit NeoPixel
by Adafruit
Control WS2812/WS2812B/NeoPixel addressable RGB LED strips and matrices.
FastLED
by Daniel Garcia, Sam Guyer
High-performance library for controlling addressable LED strips with advanced color and animation effects.
Wire
by Arduino (built-in)
Built-in I2C (TWI) communication library — the foundation almost every I2C sensor library is built on.