Nothing to install
Arduino libraries with examples that run in your browser
618 Arduino libraries are built into Mokxi, so a sketch that includes one compiles with nothing to install.
By category
Find yours, by what it drives.
These 191 have a page of their own: the calls a sketch uses, the wiring, the errors people hit and an example that opens in the editor and runs.
No library page matches that. The editor’s library browser lists every built-in library.
Motion
- ServoServo.hAttach, write, writeMicroseconds, read and detach, on any pin
- StepperStepper.hSetSpeed and step for the 28BYJ-48 and its ULN2003 board
- AccelStepperAccelStepper.hAcceleration and speed for steppers on a driver, two, three or four wires, or the sketch’s own step functions, and MultiStepper to move several together
- Adafruit PWM Servo Driver LibraryAdafruit_PWMServoDriver.hThe PCA9685’s sixteen PWM channels, for servos and LEDs
- Adafruit Motor Shield library (AFMotor, v1 shield and L293D clones)AFMotor.hFour DC motors or two steppers through the shield’s 74HC595 and two L293Ds
- Adafruit Motor Shield V2 LibraryAdafruit_MotorShield.hFour DC motors or two steppers through the V2 shield’s PCA9685 and TB6612s
- L298NL298N.hDC motors on an L298N: setSpeed(), forward(), backward(), stop() and the non-blocking forwardFor()
- ServoEasingServoEasing.hppSmooth servo moves: easeTo(), easeToD(), startEaseTo() with isMoving(), the easing curves and the all-servos calls
- FastAccelStepperFastAccelStepper.hSteppers on STEP/DIR drivers that accelerate and stop in the background: engine.init(), stepperConnectToPin(), setDirectionPin(), setEnablePin(), setAutoEnable(), setSpeedInHz() or setSpeedInUs(), setAcceleration(), move(), moveTo(), runForward(), stopMove(), isRunning() and getCurrentPosition()
- TMCStepperTMCStepper.hTrinamic stepper drivers over UART (TMC2208Stepper, TMC2209Stepper, TMC2224Stepper) or SPI (TMC2130Stepper): begin(), toff(), rms_current(), microsteps(), en_spreadCycle(), pwm_autoscale(), shaft(), test_connection() and every register field
Core
- WireWire.hI2C as a master on the board’s usual SDA and SCL pins
- SPISPI.hTransfer and transactions on the board’s usual SPI pins
- EEPROMEEPROM.hRead, write, update, get, put and EEPROM[i]
- FreeRTOS (Arduino_FreeRTOS)Arduino_FreeRTOS.hTasks with stacks of their own that delay and wait on queues, semaphores, mutexes and task notifications, with loop() as the idle task
Communication
- SoftwareSerialSoftwareSerial.hA serial port on any two pins, for the HC-05, the GPS module, and RS-485 or RS-232 through a MAX485 module or a MAX232
- OneWireOneWire.hThe 1-Wire bus: reset, search, read and write, CRC8
- MFRC522MFRC522.hRFID cards: the UID, blocks read and written, value blocks, access bits, the magic-card UID calls and NTAG216 passwords
- mcp_canmcp_can.hCAN bus through an MCP2515 module over SPI, for car OBD-II and CAN projects: begin() with the bus speed and crystal, setMode(), sendMsgBuf(), readMsgBuf(), checkReceive(), masks and filters, error counters, one-shot and abort
- RF24RF24.hNRF24L01 radios: pipes, acknowledgments and payloads between boards, the IRQ flags, and the examples’ printf.h
- LoRaLoRa.hSX1276/77/78 LoRa radios (Ra-02, RFM95W): packets between boards, polled or on DIO0, the spreading factor, bandwidth, sync word and CRC, and channel activity detection
- RadioLibRadioLib.hThe SX127x LoRa classes (SX1276, SX1278, RFM95, RFM96): transmit and receive, blocking or on DIO0, scanChannel and the modem settings
- Adafruit PN532Adafruit_PN532.hPN532 NFC readers over I2C, SPI or software SPI: the firmware version, card UIDs, MIFARE Classic blocks and NTAG2xx pages
- TinyGPSPlusTinyGPS++.hNMEA sentences parsed into location, date, time, speed and satellites, and TinyGPSCustom for any other field
- BluetoothSerial (ESP32 core)BluetoothSerial.hThe classic ESP32’s Bluetooth serial port, SerialBT.begin("name"), the Stream calls, SSP pairing and register_callback() for SPP events
- DFRobotDFPlayerMiniDFRobotDFPlayerMini.hThe DFPlayer Mini MP3 module over serial: play, volume, folders and the replies
- BLE (ESP32 core)BLEDevice.hBluetooth LE servers, services, characteristics, advertising and scans, as the ESP32 BLE tutorials write them
- ESP-NOW (ESP32 core)esp_now.hEsp_now_init, peers, esp_now_send and the send and receive callbacks, between the ESP boards on the canvas
- ESP-NOW (ESP8266 core)espnow.hEsp_now_set_self_role, esp_now_add_peer, esp_now_send and the ESP8266 callbacks, between the ESP boards on the canvas
- I2S (ESP32 core and ESP-IDF)ESP_I2S.hStandard (Philips and MSB) I2S in and out on any GPIO: I2SClass from ESP_I2S.h, the core 2.x I2S object, and the ESP-IDF legacy and standard-mode drivers, for I2S microphones and amplifiers
- TinyGPSTinyGPS.hTinyGPS++’s predecessor: encode(), f_get_position(), crack_datetime() and the speeds
- KeyboardKeyboard.hThe ATmega32U4 as a USB keyboard: Keyboard.begin(), print(), press() and releaseAll()
- MouseMouse.hThe ATmega32U4 as a USB mouse: Mouse.move(), click(), press() and release()
- Arduino Joystick LibraryJoystick.hThe ATmega32U4 as a USB game controller: buttons, axes and hat switches
- MIDI LibraryMIDI.hMIDI messages on a serial port: sendNoteOn() and the rest, read() with handlers, Thru, SysEx, RPN and NRPN, chained calls and custom transports
- MIDIUSBMIDIUSB.hUSB MIDI on the ATmega32U4 boards, so a Leonardo, Micro or Pro Micro is a MIDI controller or instrument on the computer: MidiUSB.sendMIDI() for Note On, Note Off and Control Change packets, read(), flush() and pitchToNote.h
- ModbusMasterModbusMaster.hA Modbus RTU master: readHoldingRegisters(), writeSingleRegister() and the rest, with the CRC checked and the RS-485 direction callbacks
- IRremoteESP8266IRremoteESP8266.hIRrecv with decode(&results), IRsend::sendNEC(), serialPrintUint64() and resultToHumanReadableBasic() for NEC remotes
- i2cdetecti2cdetect.hI2cdetect() prints the Linux i2cdetect table of the addresses that answer, to Serial
- AltSoftSerialAltSoftSerial.hA second serial port on upstream’s fixed pins: RX 8 and TX 9 on the Uno, Nano and Pro Mini, 48 and 46 on the Mega, 13 and 5 on the Leonardo
- RadioHeadRH_RF95.hThe RH_RF95 driver for SX1276/77/78 LoRa radios (RFM95W, Ra-02): send(), waitPacketSent(), available(), recv() and waitAvailableTimeout() with the four-byte header, setFrequency(), setTxPower() and the modem configs, plus RHDatagram and RHReliableDatagram with ACKs and retries
- rc-switchRCSwitch.h433 and 315 MHz remote sockets and OOK modules: enableTransmit(), send(), sendTriState(), switchOn() and switchOff() for socket types A to D, the 12 protocols, enableReceive() and available()
- SerialTransferSerialTransfer.hPacketized serial between two boards: txObj() and rxObj() copy structs, arrays and floats into a frame, sendData(len, id) writes it with a start byte, ID, length and CRC-8, and available() or tick() parse what arrives, with callbacks by packet ID
Data and time
- SDSD.hFiles on a FAT16 card: open, print, read, exists, remove, mkdir and directory listings, and the CardInfo example’s Sd2Card, SdVolume and SdFile
- RTClibRTClib.hThe DS3231 and DS1307 clocks, with DateTime, TimeSpan, the DS3231’s alarms, and RTC_Millis and RTC_Micros
- TimerOneTimerOne.hTimer1 as a periodic interrupt, and PWM of any period on its pins
- MsTimer2MsTimer2.hA function every so many milliseconds, from Timer2
- Low-PowerLowPower.hPowerDown, idle and the other sleeps, for a period or until an interrupt
- ArduinoJsonArduinoJson.hJSON and MessagePack in and out: JsonDocument (and the 6.x Static and Dynamic documents, and the 5.x StaticJsonBuffer with parseObject() and printTo()), serializeJson and deserializeJson from text, a String, a Stream or a File, with the Filter option and serialized()
- TimeTimeLib.hA clock in software: setTime, now, hour, minute, makeTime, breakTime and a sync provider
- DS1307RTCDS1307RTC.hRTC.get, RTC.read and RTC.set on a DS1307 (or DS3231), with TimeLib.h
- TaskSchedulerTaskScheduler.hCooperative tasks on millis() or micros(): intervals, iterations, status requests, timeouts, priority layers, scheduling options, object and std::function callbacks, and every other compile option
- Preferences (ESP32 core)Preferences.hNamed settings by key: putUInt, getString, putBytes and the rest, in namespaces
- I2C_EEPROMI2C_eeprom.hA 24LC256 or AT24C EEPROM: writeByte, writeBlock across pages, readBlock, objects, the verify calls, determineSizeNoWrite and the cyclic store
- DS3231 (NorthernWidget) and DS3231 (Rinky-Dink Electronics)DS3231.hThe DS3231 clock: getHour(h12, pm), RTClib::now() and alarms, or getTimeStr(), getDateStr() and setTime()
- QRCodeqrcode.hQR codes of versions 1 to 40 at the four error correction levels, read module by module to draw
- arduinoFFTarduinoFFT.hThe fast Fourier transform: ArduinoFFT<T> with windowing(), compute(), complexToMagnitude() and majorPeak(), and version 1’s arduinoFFT class
- TimezoneTimezone.hLocal time from UTC with daylight-saving rules: TimeChangeRule, toLocal(), toUTC() and utcIsDST()
- ESP32TimeESP32Time.hSetTime(), getTime(format), getDateTime(), getTimeStruct() and the other getters, with a UTC offset, on the C library’s clock
- SdFatSdFat.hSdFat and SdFs with begin(SdSpiConfig), File32 and FsFile with open(), println(), fileSize() and close(), and ls()
- PIDPID_v1.hThe PID controller of the temperature, speed and balance tutorials: Compute(), SetTunings() and SetOutputLimits()
- arduino-timerarduino-timer.hFunctions called after a delay, at a time or every interval: timer.every(1000, blink) and timer.tick() in loop()
- Arduino_JSONArduino_JSON.hJSONVar, JSON.parse(), JSON.stringify() and JSON.typeof(), as the ESP32 web tutorials use them
- RunningAverageRunningAverage.hThe average, standard deviation and extremes of the last N values: addValue(), getAverage(), setPartial()
- SimpleKalmanFilterSimpleKalmanFilter.hA one-dimensional Kalman filter that smooths a noisy reading: updateEstimate()
- TickerTicker.hCallbacks every interval, a number of times or for ever, from update() in loop(): start(), pause(), resume(); on the ESP32 and ESP8266 boards also the cores’ own Ticker, attach(seconds, function), once() and detach()
- elapsedMilliselapsedMillis.hElapsedMillis and elapsedMicros: a variable that counts up by itself, for timing without delay()
- MadgwickMadgwickAHRS.hMadgwick’s orientation filter: begin(rate), updateIMU() or update() with a magnetometer, then getRoll(), getPitch() and getYaw()
- ezTimeezTime.hThe time of day in any time zone: waitForSync(), Timezone with setLocation() or setPosix(), dateTime("l, d-M-Y H:i:s T") in the PHP formats, events()
- Json Streaming ParserJsonStreamingParser.hJSON read one character at a time with a JsonListener that hears startObject(), key(), value(), startArray() and the rest, so a big API response never has to fit in RAM
Displays
- LiquidCrystalLiquidCrystal.hThe 16x2 and 20x4 character LCD on six (or ten) wires, every kit’s first display
- LiquidCrystal I2CLiquidCrystal_I2C.hThe character LCD behind its PCF8574 I2C backpack
- Adafruit GFX LibraryAdafruit_GFX.hText in the built-in font or a GFXfont, pixels, lines, rectangles, circles, ellipses, triangles, bitmaps, canvases and buttons on every Adafruit display
- Adafruit SSD1306Adafruit_SSD1306.hThe 128x64, 128x32 and 64-wide I2C OLEDs
- Adafruit SH110XAdafruit_SH110X.hThe 1.3 inch SH1106 OLED and the 1.12 inch 128x128 SH1107 OLED
- U8g2U8g2lib.hSSD1306, SSD1309, SSD1315, SH1106, SH1107 and PCD8544 displays: full and page buffers in upstream's layout, shapes, bitmaps, text in four directions, buttons, U8x8, the logs and the user interface screens
- Adafruit ILI9341Adafruit_ILI9341.hThe 2.8 inch 320x240 SPI TFT
- Adafruit ST7735 and ST7789 LibraryAdafruit_ST7735.hThe small ST7735 and ST7789 color TFTs
- Adafruit GC9A01AAdafruit_GC9A01A.hThe 1.28 inch round 240x240 TFT
- GxEPD2GxEPD2_BW.hThe 2.13 and 2.9 inch black and white e-paper panels, drawn in pages
- LedControlLedControl.hMAX7219 8x8 matrices and eight-digit displays
- TFT_eSPITFT_eSPI.hILI9341, ST7789, ST7735, GC9A01, ILI9488 (18-bit color, as upstream sends it over SPI) and ST7796 TFTs: shapes, anti-aliased arcs, circles and wide lines, the numbered, free and smooth (.vlw) fonts, viewports, sprites at 1, 4, 8 and 16 bits with rotation, buttons and XPT2046 touch
- MD_MAX72XXMD_MAX72xx.hChains of 8x8 matrix modules: points, columns, rows, lines, characters in upstream’s font tables, shifts and transforms
- MD_ParolaMD_Parola.hAnimated text on matrix modules: zones, every entry and exit effect, sprites, fonts, user characters and zone flips
- Adafruit LED Backpack LibraryAdafruit_LEDBackpack.hThe HT16K33 backpacks: the four-digit seven-segment display, the 8x8, 8x16 and bicolor matrices, the 24-bar bar graph and the quad alphanumeric display
- TM1637TM1637Display.hThe four-digit clock display: numbers, the colon, raw segments and brightness
- TM1638plusTM1638plus.hThe LED&KEY boards (models 1 and 3), the sixteen-key board (model 2), TM1637 displays (models 4 and 5) and MAX7219 eight-digit modules (model 6): text, numbers, raw segments, LEDs and keys
- SevSegSevSeg.hA multiplexed seven-segment display straight from the pins: numbers, decimals and letters
- U8glibU8glib.hU8g2's predecessor, as older OLED tutorials use it: SSD1306, SSD1309, SH1106 and PCD8544 constructors, the firstPage() and nextPage() loop, shapes, bitmaps, text in four directions, the cursor and the color calls
- hd44780hd44780.hThe extensible LCD library: hd44780_I2Cexp finds the backpack’s address itself, and hd44780_pinIO drives a bare module
- TM1637TinyDisplayTM1637TinyDisplay.hThe TM1637 four-digit display with text that scrolls, numbers, levels and animations; TM1637TinyDisplay6 for the six-digit boards
- LiquidCrystal_PCF8574LiquidCrystal_PCF8574.hThe I2C LCD as LiquidCrystal_PCF8574 lcd(0x27), begin(16, 2) and setBacklight(255)
- LCD_I2CLCD_I2C.hThe I2C LCD as LCD_I2C lcd(0x27, 16, 2), begin() and backlight()
- SSD1306AsciiSSD1306Ascii.hText straight to an SSD1306 or SH1106 with no frame buffer: begin(&Adafruit128x64, 0x3C), setFont(), set2X(), setCursor(), print() and clearToEOL()
- Adafruit Thermal Printer LibraryAdafruit_Thermal.hThe mini receipt printer: println(), boldOn(), setSize(), justify(), inverseOn(), underlineOn(), feed(), printBarcode() and hasPaper()
Input
- XPT2046_TouchscreenXPT2046_Touchscreen.hThe resistive touch layer on the ILI9341, ILI9488 and ST7796 modules
- Adafruit FT6206 LibraryAdafruit_FT6206.hThe capacitive touch layer on the 2.8 inch ILI9341 cap-touch module
- Adafruit MCP23017 Arduino LibraryAdafruit_MCP23X17.hSixteen more pins over I2C, and the eight-pin MCP23008’s class
- CapacitiveSensorCapacitiveSensor.hTouch sensing with a send pin, a resistor and a receive pin, the library’s own count
- KeypadKeypad.hMatrix keypads: getKey, several keys at once, hold and release events
- IRremoteIRremote.hEvery protocol of IRremote 4.6, received and sent (NEC, Samsung, Sony, RC5, RC6, Panasonic, LG, JVC, Denon and the rest), the universal pulse distance decoder, the printouts, TinyIR, the command dispatcher and the 2.x irrecv.decode(&results)
- EncoderEncoder.hQuadrature encoder counts, four per cycle, on interrupts where the pins have them
- ezButtonezButton.hA debounced button: isPressed, isReleased and a press counter
- OneButtonOneButton.hClick, double click, multi click and long press from one button, and the reduced OneButtonTiny class
- PCF8574 (Rob Tillaart) and PCF8574 library (Renzo Mischianti)PCF8574.hEight more pins over I2C: read8, write and toggle, or pinMode, digitalWrite and digitalRead on P0 to P7
- JC_ButtonJC_Button.hDebounced buttons: read(), wasPressed(), wasReleased(), pressedFor() for long presses, and ToggleButton
- RotaryEncoderRotaryEncoder.hA rotary encoder polled with tick(): getPosition(), getDirection() and the three latch modes
- ESP32EncoderESP32Encoder.hQuadrature encoders on an ESP32: attachHalfQuad(), attachFullQuad(), getCount() and setCount()
- Ai Esp32 Rotary EncoderAiEsp32RotaryEncoder.hA KY-040 knob and its button on an ESP32 or ESP8266, with boundaries: readEncoder() and isEncoderButtonClicked()
- Button2Button2.hButtons with handlers for click, double, triple and long clicks, pressed and released
- AceButtonAceButton.hButton events to one handler or IEventHandler: pressed, released, clicked, double clicked, long and repeat pressed, heartbeat; resistor-ladder and encoded buttons, and ButtonConfig subclasses that read the button their own way
- CD74HC4067CD74HC4067.hCD74HC4067 mux(s0, s1, s2, s3) and channel(n), to read sixteen inputs on one analog pin
- Adafruit KeypadAdafruit_Keypad.hA matrix keypad scanned with tick() into a queue of KEY_JUST_PRESSED and KEY_JUST_RELEASED events, read with available() and read()
- Adafruit MPR121Adafruit_MPR121.hTwelve touch electrodes: begin(), touched(), filteredData(), baselineData() and setThresholds()
- Adafruit Fingerprint Sensor LibraryAdafruit_Fingerprint.hThe R30x and AS608 optical sensors: verifyPassword(), getImage(), image2Tz(), createModel(), storeModel(), fingerFastSearch() and getTemplateCount()
LEDs
- Adafruit NeoPixelAdafruit_NeoPixel.hWS2812 strips, rings and panels
- FastLEDFastLED.hCRGB arrays and CRGBArray sets, CHSV, palettes, fill_rainbow, noise, HeatColor, beatsin8, EVERY_N_MILLISECONDS and RGBW strips
- Arduino_LED_Matrix (Uno R4 core)Arduino_LED_Matrix.hThe Uno R4 WiFi’s 12 by 8 LED matrix: frames, renderBitmap and sequences
- NeoPixelBus by MakunaNeoPixelBus.hAddressable strips by feature and method (NeoPixelBus<NeoGrbFeature, NeoWs2812xMethod>), the color objects, gamma, hue blends, NeoPixelAnimator with NeoEase, buffers, shaders, sprite sheets and bitmaps, panel and ring topologies, luminance and seven-segment buses
- WS2812FXWS2812FX.hAnimated strip effects by mode number, run by service() in loop(), with segments that take turns, custom modes, a custom show() and COLORS()
- Adafruit NeoMatrixAdafruit_NeoMatrix.hAdafruit_GFX text and shapes on a WS2812 grid, laid out by the NEO_MATRIX_ and NEO_TILE_ flags, with Color(), setPassThruColor() and setRemapFunction()
- Adafruit DotStarAdafruit_DotStar.hAPA102 (DotStar) LED strips on a data and a clock pin or on SPI: begin(), setPixelColor(), fill(), setBrightness(), show(), ColorHSV(), gamma32(), sine8() and rainbow()
Sensors
- DHT sensor libraryDHT.hThe DHT11 and DHT22: temperature, humidity and the heat index, and DHT_Unified
- Adafruit Unified SensorAdafruit_Sensor.hSensors_event_t, sensor_t and the Adafruit_Sensor base class the Adafruit drivers share
- DallasTemperatureDallasTemperature.hDS18B20 thermometers, any number on one pin, with 4.0’s request_t, blockTillConversionComplete() and the fault codes
- Adafruit BMP280 LibraryAdafruit_BMP280.hTemperature, pressure and altitude
- Adafruit MPU6050Adafruit_MPU6050.hAcceleration in m/s², rotation in rad/s and temperature, as unified sensor events
- MPU6050MPU6050.hThe raw accelerometer and gyro counts, ranges and offsets
- MPU6050_lightMPU6050_light.hTilt angles in degrees from a complementary filter
- MPU6050_tocknMPU6050_tockn.hTilt angles in degrees, with gyro offsets worked out at start
- Adafruit INA219Adafruit_INA219.hCurrent, bus voltage and power
- Adafruit ADS1X15Adafruit_ADS1X15.hThe ADS1115’s four 16-bit inputs, single or differential
- HX711 Arduino LibraryHX711.hThe load cell amplifier: tare, set_scale and get_units
- Adafruit SHT31 LibraryAdafruit_SHT31.hTemperature and humidity, CRC checked
- Adafruit SGP30 SensorAdafruit_SGP30.hCO2eq and TVOC, the baseline and humidity compensation
- Adafruit TCS34725Adafruit_TCS34725.hRed, green, blue and clear counts, lux and color temperature, and the clear-channel interrupt with its persistence
- Adafruit AHTX0Adafruit_AHTX0.hThe AHT20’s temperature and humidity
- BH1750BH1750.hAmbient light in lux
- Adafruit BMP085 LibraryAdafruit_BMP085.hTemperature, pressure and altitude from a BMP085 or BMP180, with the datasheet’s compensation
- Adafruit MCP4725Adafruit_MCP4725.hThe MCP4725’s 12-bit output, setVoltage() with or without the EEPROM
- Adafruit ADXL345Adafruit_ADXL345_U.hThe ADXL345’s three axes in m/s^2, with its range and data rate, over I2C, and getSensor()
- MAX6675 librarymax6675.hA K-type thermocouple in Celsius or Fahrenheit, NAN when the probe is open
- VL53L0XVL53L0X.hTime-of-flight distance in millimeters, single or continuous
- Adafruit_VL53L0XAdafruit_VL53L0X.hTime-of-flight distance with rangingTest(), readRange() and startRange(), continuous ranging, the sensing profiles and the new-measurement interrupt on GPIO1
- SparkFun MAX3010x Pulse and Proximity Sensor LibraryMAX30105.hMAX30102 and MAX30105 readings from the FIFO, with checkForBeat() and an SpO2 estimate
- SparkFun APDS9960 RGB and Gesture SensorSparkFun_APDS9960.hAmbient and RGB light, proximity and swipe gestures, the gains and LED drive, and the light and proximity interrupts on INT
- UltrasonicUltrasonic.hHC-SR04 distance in centimeters or inches, on two pins or one
- HCSR04 (Martin Sosic, and gamegine)HCSR04.hHC-SR04 distance: UltraSonicDistanceSensor.measureDistanceCm(), or HCSR04.dist()
- NewPingNewPing.hHC-SR04 distance in centimeters or inches, and the median of several pings
- HX711_ADCHX711_ADC.hThe non-blocking load cell library: start, update, getData and calibration
- ADS1X15ADS1X15.hADS1115 ADS(0x48): readADC(), the differential reads, setGain(), toVoltage() and requestADC() with isReady()
- BME280BME280I2C.hBME280I2C: read(pres, temp, hum, ...) in any unit, the settings, and EnvironmentCalculations’ altitude, dew point and heat index
- Adafruit GPS LibraryAdafruit_GPS.hRead(), newNMEAreceived() and parse() of RMC, GGA, GLL and GSA, then the fix, position, time, speed and altitude fields
- MQUnifiedsensorMQUnifiedsensor.hUpdate(), calibrate() in clean air, setA() and setB() for a gas, readSensor() in ppm, setVCC() and an external ADC
- DHT20DHT20.hThe I2C DHT20: begin(), read(), getHumidity() and getTemperature(), or requestData() and readData() in steps
- Adafruit SHT4xAdafruit_SHT4x.hThe SHT40, SHT41 and SHT45: begin(), readSerial(), setPrecision(), setHeater() and getEvent() for temperature and humidity
- Sensirion I2C SCD4xSensirionI2cScd4x.hCO2, temperature and humidity from the SCD40 and SCD41: periodic and single-shot measurement, data ready, the settings and forced recalibration
- Adafruit VL53L1XAdafruit_VL53L1X.hLaser distance with begin(), startRanging(), setTimingBudget(), dataReady(), distance() and clearInterrupt(), and the ULD calls it exposes
- Adafruit BME680Adafruit_BME680.hTemperature, humidity, pressure and gas resistance from the BME680 and BME688: the oversampling, filter and heater setters, performReading() and readAltitude()
- Adafruit MAX31855Adafruit_MAX31855.hA K-type thermocouple and the board’s own temperature: readCelsius(), readInternal(), readFahrenheit(), readError() and setFaultChecks()
- Adafruit MAX31865Adafruit_MAX31865.hA PT100 or PT1000 RTD: begin(), readRTD(), temperature(), readFault(), clearFault(), the thresholds, the bias and automatic conversion
- Adafruit VEML7700Adafruit_VEML7700.hLight in lux from the VEML7700: begin(), enable(), setGain(), setIntegrationTime(), readLux() with VEML_LUX_NORMAL, VEML_LUX_CORRECTED and VEML_LUX_AUTO, readALS(), readWhite(), the thresholds, interruptStatus() and power saving
- Adafruit TMP117Adafruit_TMP117.hThe temperature from a TMP117: begin(), getEvent(), dataReady(), getAlerts(), the thresholds, the offset, setAveragedSampleCount(), setReadDelay(), setMeasurementMode() and therm mode
- ACS712ACS712.hAn ACS712 current sensor’s output in milliamps: ACS712 ACS(A0, 5.0, 1023, 185), autoMidPoint(), mA_DC(), mA_AC() and mA_peak2peak()
- Adafruit MLX90614 LibraryAdafruit_MLX90614.hA non-contact temperature and the sensor’s own: readObjectTempC(), readAmbientTempC(), the Fahrenheit pair and the emissivity
- PZEM004Tv30PZEM004Tv30.hThe PZEM-004T v3.0 AC energy meter over Modbus-RTU: voltage(), current(), power(), energy(), frequency(), pf(), resetEnergy(), setAddress() and setPowerAlarm()
- ZMPT101BZMPT101B.hThe ZMPT101B AC voltage sensor’s RMS voltage: ZMPT101B sensor(A0, 50.0), setSensitivity() and getRmsVoltage()
- EmonLibEmonLib.hRMS volts and amps and real power from an AC voltage sensor and a current sensor: EnergyMonitor, voltage(), current(), calcVI(), calcIrms(), serialprint() and readVcc()
- Adafruit BNO055Adafruit_BNO055.hThe BNO055 absolute orientation sensor: begin() with a fusion mode, getEvent() orientation in degrees, getVector() for the accelerometer, gyroscope, magnetometer, Euler angles, linear acceleration and gravity, getQuat(), getCalibration(), the sensor offsets and the imu:: vector and quaternion types
- Adafruit MCP3008Adafruit_MCP3008.hThe MCP3008 8-channel 10-bit ADC over SPI: begin() for hardware SPI or begin(sck, mosi, miso, cs) for software SPI, readADC(channel) and readADCDifference(pair)
Network
- WiFi, HTTPClient and WebServer (ESP32 core)WiFi.hJoin the simulated access point, fetch pages with HTTPClient and serve the editor’s Web panel with WebServer or WiFiServer
- ArduinoOTA (ESP cores)ArduinoOTA.hOver-the-air updates: setHostname, the callbacks, begin() and handle()
- PubSubClientPubSubClient.hMQTT publish and subscribe over a WiFiClient
- ArduinoHttpClientArduinoHttpClient.hHttpClient(wifi, server, port): get(), post(), put(), del(), sendHeader(), responseStatusCode() and responseBody() against the .mokxi sites
- WebSocketsWebSocketsClient.hWebSocketsClient: begin(), onEvent(), loop(), sendTXT(), sendBIN(), sendPing() and enableHeartbeat(), with WStype_CONNECTED, WStype_TEXT and WStype_BIN back from a simulated echo server at echo.mokxi; WebSocketsServer builds and runs
- ThingSpeakThingSpeak.hWriteField(), setField() with writeFields(), and the read calls, as HTTP requests
- BlynkBlynkSimpleEsp8266.hBlynk.begin(), run(), virtualWrite(), syncVirtual(), logEvent(), BLYNK_WRITE with param, BLYNK_CONNECTED, BlynkTimer and the LED, terminal and LCD widgets, on a simulated Blynk server
- MQTTMQTT.hMQTTClient: begin(), connect(), publish(), subscribe() and loop()
- ArduinoMqttClientArduinoMqttClient.hMqttClient: connect(), connectError(), beginMessage(), subscribe() and poll()
- WiFiManagerWiFiManager.hAutoConnect(), startConfigPortal(), WiFiManagerParameter and the settings calls
- NTPClientNTPClient.hNTPClient(udp, server, offset, interval): begin(), update(), forceUpdate(), getFormattedTime(), getEpochTime(), getDay(), getHours() and the rest, for the time of day
- UniversalTelegramBotUniversalTelegramBot.hA Telegram bot: getUpdates() into messages[], sendMessage(), reply and inline keyboards, sendChatAction(), answerCallbackQuery(), setMyCommands() and getMe(), with ArduinoJson
- Async TCPAsyncTCP.hEvent-driven TCP for the ESP32: an AsyncServer whose onClient() and onData() answer the editor’s Web panel in the background, and AsyncClient with its callbacks
- ESP Async WebServerESPAsyncWebServer.hServes the editor’s Web panel with no handleClient() in loop(): on(path, method, handler), request params, send() and send_P() with the %PLACEHOLDER% processor, serveStatic() from LittleFS, AsyncResponseStream and AsyncJson
- ElegantOTAElegantOTA.hElegantOTA.begin(&server) on a WebServer or an AsyncWebServer, with loop(), onStart(), onProgress() and onEnd(); /update answers the Web panel
- ESP Mail ClientESP_Mail_Client.hSMTPSession, Session_Config (ESP_Mail_Session), SMTP_Message and MailClient.sendMail(&smtp, &message), with the status callback and sendingResult
- Painless MeshpainlessMesh.hMesh.init(), onReceive(), sendBroadcast() and update() with TaskScheduler tasks: boards that pass messages along a WiFi mesh
- Adafruit MQTT LibraryAdafruit_MQTT.hAdafruit_MQTT_Client with Adafruit_MQTT_Publish and Adafruit_MQTT_Subscribe feeds: connect(), connectErrorString(), publish(), readSubscription() and ping()
- Firebase ESP32 ClientFirebaseESP32.hFirebase.setInt(fbdo, path, v), getInt(), setJSON() and the rest, and Firebase.RTDB.setInt(&fbdo, path, v), on the Realtime Database
- SinricProSinricPro.hSinricPro.begin(), handle(), onConnected() and SinricPro[id] as a SinricProSwitch with onPowerState() and sendPowerStateEvent()
- Adafruit IO ArduinoAdafruitIO_WiFi.hAdafruitIO_WiFi io(user, key, ssid, pass): connect(), run(), status(), statusText() and io.feed("name") with save(), get() and onMessage()
- ArduinoWebsocketsArduinoWebsockets.hWebsocketsClient and WebsocketsServer in the websockets namespace: connect(url) or connect(host, port, path), send(), sendBinary(), onMessage(), onEvent(), poll(), ping() and close(), with the Esp32-Client and Esp8266-Client examples
Every library, already installed
All 618 built-in libraries are in the editor’s library browser, each with an example to open.