.. _adafruit-libndrivers: Adafruit Sponsored Libraries and Drivers on GitHub =================================================== These are libraries and drivers available in separate GitHub repos. They are designed for use with CircuitPython and may or may not work with `MicroPython `_. Foundational ------------ These libraries provide critical functionality to many of the drivers below. It is recommended to always have them installed onto the CircuitPython file system in the ``lib/`` directory. Some drivers may not work without them. .. toctree:: BusDevice Library Register Library Board-specific Helpers ---------------------- These libraries tie lower-level libraries together to provide an easy, out-of-box experience for specific boards. .. toctree:: Adafruit CircuitPlayground Adafruit CLUE Adafruit FeatherWings Adafruit FunHouse Adafruit MacroPad MatrixPortal (Metro M4 Airlift + RGB Shield) Adafruit MagTag Adafruit PortalBase PyBadger (PyBadge and PyGamer) Adafruit PyPortal Adafruit MONSTER M4SK Helper Libraries ----------------- These libraries build on top of the low level APIs to simplify common tasks. LED Helpers ^^^^^^^^^^^^ Helpers for animating LEDs. .. toctree:: Fancy LED (similar to FastLED) LED Animation User Interface and GFX Helpers ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Helpers for building graphical interfaces using the displayio core module and framebuf code module (framebuf is deprecated). .. toctree:: Cursor Control Bitmap Font Bitmap Saver Display Button Display Notification Display Shapes Display Text Framebuf Module GFX (framebuf) Image Load miniQR Non-hardware QR code generator Pixel Framebuf Module ProgressBar PYOA Slideshow Simple Text Display Turtle Graphics WSGI DisplayIO Layout Dash Display Motor Helpers ^^^^^^^^^^^^^^ Helpers for driving motors, servos, and steppers. .. toctree:: DC Motor and Servo EMC2101 Fan Controller and Temperature monitor MotorKit ServoKit Internet of Things Web Service Helpers ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Helpers for connecting with hosted and self-hosted internet-of-things web services. .. toctree:: Adafruit IO Amazon AWS IoT Azure IoT Google Cloud IoT Core Hue Lights LIFX Lights Internet/Internet-of-Things Helpers ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Helpers for interfacing with the internet, including IoT protocols. .. toctree:: Fake Requests JSON Web Token (JWT) MiniMQTT NTP (Network time Protocol) Requests OAuth2.0 Bluetooth Low Energy Helpers ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Helpers for Bluetooth Low Energy (BLE). .. toctree:: Bluefruit LE Connect App BLE Base Library BLE Adafruit Services BLE Apple Media Service BLE Apple Notification Center Service BLE BerryMed Pulse Oximeter Service BLE BroadcastNet BLE Cycling Speed and Cadence BLE Eddystone Beacon BLE Heart Rate BLE iBBQ BLE LYWSD03MMC (Xiaomi Mijia) BLE Magic Light BLE MIDI BLE Radio LoRa Wireless Helpers ^^^^^^^^^^^^^^^^^^^^^ Helpers for wireless communication via LoRa. .. toctree:: TinyLoRa TTN Helper (LoRaWAN) Cryptography Helpers ^^^^^^^^^^^^^^^^^^^^^ Helpers for secure communication. .. toctree:: RSA CPython-module Helpers ^^^^^^^^^^^^^^^^^^^^^^^ Pure-Python implementations of standard CPython libraries. Some of these modules may have a CircuitPython Core API implementation too. .. toctree:: binascii datetime IterTools Logging hashlib Audio Helpers ^^^^^^^^^^^^^^^ Music, noisemakers, and more. .. toctree:: MIDI Ring Tone Text Transfer Language (RTTTL) Waveform Generation Miscellaneous Helpers ^^^^^^^^^^^^^^^^^^^^^^^ .. toctree:: AVR programming BitbangIO Board Test Suite Debouncer Debug I2C InfraRed Remote Mini ESP Tool (ESP chips loader) OneWire SD Card SimpleIO SimpleMath USB Human Interface Device (Keyboard and Mouse) Test Repo Colorsys Blinky -------- Multi-color LED drivers. .. toctree:: DotStar NeoPixel NeoPixel SPI Pixie RGB LED WS2801 Displays ------------- Drivers used to display information. Either pixel or segment based. Pixel based displays are implemented in two different ways. The original method called "framebuf" uses a traditional frame buffer model where all pixels are stored in the microcontroller's ram. The newer method called "displayio" generates the pixels on the fly and relies on the display's ram to store the final pixels. "displayio" drivers will also work with CircuitPython to display error messages and other output to the display when the user code is not using it. The "displayio" drivers are recommended. Color TFT-LCD ^^^^^^^^^^^^^^^ .. toctree:: HX8357 (displayio) ILI9341 and ILI9340 (displayio) ST7735 (displayio) ST7735R (displayio) ST7789 (displayio) RGB Displays (framebuf) OLED ^^^^^^^^^^^^^^^ .. toctree:: SH1107 OLED (displayio) SSD1305 OLED (displayio) SSD1305 OLED (framebuf) SSD1306 OLED (displayio) SSD1306 OLED (framebuf) SSD1322 OLED (displayio) SSD1325 OLED (displayio) SSD1327 OLED (displayio) SSD1331 OLED (displayio) SSD1351 OLED (displayio) E-Paper / E-Ink ^^^^^^^^^^^^^^^ .. toctree:: E-Paper Display (framebuf) IL0373 (displayio) IL0398 (displayio) IL91874 (displayio) SSD1608 (displayio) SSD1675 (displayio) SSD1680 (displayio) SSD1681 (displayio) Other ^^^^^^^^^^^^^^^ .. toctree:: Character LCD HT16K33 LED Matrices and Segment Displays IS31FL3731 Charlieplexed LED Matrix MAX7219 LED Matrix Nokia PCD8544 Display RA8875 40-Pin Display Driver Sharp Memory Display Real-time clocks ----------------- Chips that keep current calendar time with a backup battery. The current date and time is available through ``datetime``. .. toctree:: DS1307 Real-time Clock (5V RTC Breakout) DS3231 Real-time Clock (Precision RTC) PCF8523 Real-time Clock (Adalogger RTC) Motion Sensors ---------------- Motion relating sensing including ``acceleration``, ``magnetic``, ``gyro``, and ``orientation``. .. toctree:: ADXL34x 3 Axis Accelerometer BNO055 Accelerometer, Magnetometer, Gyroscope and Absolution Orientation BNO08X 9 Axis Sensor Fusion IMU BNO08X_RVC Simple UART Heading Library FXAS21002C Gyroscope FXOS8700 Accelerometer GPS Global Position ICM20X Wide-range 6-DoF Accelerometer and Gyro Family L3GD20 3-Axis Gyroscope LIS2MDL 3-Axis Magnetometer LIS331HH and H3LIS331 3-Axis Accelerometers LIS3DH Accelerometer LIS3MDL 3-Axis Magnetometer LSM303 Accelerometer Only LSM303 Accelerometer and Magnetometer LSM303DLH Magnetometer Only LSM6DSOX, LSM6DS33, and ISM330DHCT Accelerometer, Gyroscope and Temperature LSM9DS0 Accelerometer, Magnetometer, Gyroscope and Temperature LSM9DS1 Accelerometer, Magnetometer, Gyroscope and Temperature MLX90390 3 Axis Magnetometer MLX90395 3-Axis Magnetometer MMA8451 3 Axis Accelerometer MPU6050 Accelerometer, Gyroscope, and Temperature Sensor MSA301 3 Axis Accelerometer TLV493D 3 Axis Magnetometer Environmental Sensors ---------------------- Sense attributes of the environment including ``temperature``, ``relative_humidity``, ``pressure``, equivalent carbon dioxide (``eco2`` / ``eCO2``), and total volatile organic compounds (``tvoc`` / ``TVOC``). .. toctree:: ADT7410 High Accuracy Temperature Sensor AHTx0 Tempertaure and Humidity Sensor AM2320 Temperature and Humidity BME280 Temperature, Humidity and Pressure BME680 Temperature, Humidity, Pressure and Gas BMP280 Barometric Pressure and Altitude BMP3xx Barometric Pressure and Altimeter CCS811 Air Quality DHT Temperature and Humidity DPS310 Precision Barometric Pressure / Altitude Sensor DS18x20 Temperature HTS221 Temperature and Humidity Sensor HTU21D Temperature and Humidity HTU31D Temperature and Humidity LPS2X Family of Barometric Pressure, Temperature Sensors LPS35HW Water Resistant Barometric Pressure, Temperature SGP40 Air Quality Sensor MAX31855 Thermocouple Amplifier, Temperature MAX31856 Thermocouple Amplifier, Temperature MAX31865 Thermocouple Amplifier, Temperature MCP9600 Thermocouple Amplifier MCP9808 Temperature MLX90614 Contactless Temperature MP115A2 Barometric Pressure, Temperature MPL3115A2 Barometric Pressure, Altitude and Temperature Sensor MPRLS Ported Absolute Pressure MS8607 Pressure, Temperature, Humidity PCT2075 Temperature Sensor PM25 Air Quality Sensor SCD30 CO2, Temperature, and Humidity Sensor SGP30 Air Quality SHT31-D Temperature and Humidity SHT4x Temperature and Humidity SHTC3 Temperature and Humidity Si7021 Temperature and Humidity TC74 Digital Temperature Sensor TMP006 Contactless IR Thermopile Sensor TMP007 Contactless Temperature TMP117 High-Precision Temperature Sensor Thermistor Temperature Light Sensors --------------- These sensors detect light related attributes such as ``color``, ``light`` (unit-less), and ``lux`` (light in SI lux). .. toctree:: APDS9960 Proximity, Light, RGB, and Gesture AS726x Color Spectrum Sensor AS7341 11-Channel Multi-Spectral Digital Sensor BH1750 Ambient Light LTR390 Ambient Light and UV Sensor TCS34725 Color Sensor TSL2561 Light Sensor TSL2591 High Dynamic Range Light Sensor VCNL4010 Proximity and Light VCNL4040 Proximity and Light VEML6070 UV Index VEML6075 UV Index VEML7700 High Accuracy Ambient Light Sensor Distance Sensors ------------------ These sensors measure the ``distance`` to another object and may also measure light level (``light`` and ``lux``). .. toctree:: Garmin LIDARLite I2C HC-SR04 Ultrasonic Range Sensors Slamtech RPLidar TFmini IR Time of Flight ~30cm - 12m US-100 Ultrasonic Distance Sensor VL6180x 5 - 100 mm VL53L0x ~30 - 1000 mm Radio -------- These chips communicate to others over radio. .. toctree:: Adafruit Bluefruit LE SPI Friend AirLift Co-Processor Manager ESP WiFi Co-Processor using AT Commands ESP32 WiFi Co-Processor over SPI RFM9x LoRa RFM69 Packet Radio PN532 NFC/RFID IO Expansion -------------- These provide functionality similar to ``analogio``, ``digitalio``, ``pulseio``, and ``touchio``. .. toctree:: ADS1x15 Analog-to-Digital Converter Adafruit SeeSaw AW9523 GPIO expander and LED driver Crickit Robotics Boards DS2413 OneWire GPIO Expander FocalTech Capacitive Touch MCP2515 CAN bus controller MCP230xx GPIO Expander MCP3xxx SPI ADC MCP4725 Digital-to-Analog Converter MCP4728 4-Channel, 12-bit Digital-to-Analog Converter MPR121 Capacitive Touch Sensor PCA9685 16 x 12-bit PWM Driver PCF8591 ADC + DAC Combo TCA9548 I2C Multiplexer TLA202X 12-bit I2C DAC TLC5947 24 x 12-bit PWM Driver TLC59711 12 x 16-bit PWM Driver Miscellaneous ---------------- .. toctree:: 74HC595 Shift Register ATECCx08 Cryptographic Co-Processor AMG88xx Grid-Eye IR Camera BD3491FS Audio Processor CAP1188 8-Key Capacitive Touch DRV2605 Haptic Motor Controller DS1841 I2C Logarithmic Potentiometer DS3502 I2C Potentiometer Dymo Scale Fingerprint Sensor FONA Cellular Module FRAM Non-Volatile Memory Gizmo INA219 High Side Current INA260 Current and Power Monitor LC709203F Fuel Gauge and Battery Monitor Matrix Keypad MAX9744 Audio Amplifier MLX90640 Thermal Camera NeoTrellis 4x4 Keypad NeoTrellis M4 4x8 Keypad Nunchuk OV7670 Camera PyPixelbuf RockBlock Iridium Satellite Modem Si4713 Stereo FM Transmitter Si5351 Clock Generator STMPE610 Resistive Touchscreen Thermal Printer Touchscreen 4-Wire Resistive TPA2016 Audio Amplifier with AGC Trellis 4x4 Keypad VC0706 TTL Camera VS1053 Audio Codec Wiznet5k Ethernet Module