2017-09-02 09:37:14 -04:00
|
|
|
.. _adafruit-libndrivers:
|
|
|
|
|
|
|
|
Additional Adafruit Libraries and Drivers on GitHub
|
|
|
|
===================================================
|
2016-10-18 20:42:47 -04:00
|
|
|
|
2017-05-24 14:44:23 -04:00
|
|
|
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 <https://micropython.org>`_.
|
2016-10-18 20:42:47 -04:00
|
|
|
|
2017-01-13 20:00:26 -05:00
|
|
|
.. _bundle_installation:
|
|
|
|
|
2017-01-06 16:18:40 -05:00
|
|
|
Bundle
|
|
|
|
------
|
|
|
|
|
|
|
|
We provide a bundle of all our libraries to ease installation of drivers and
|
2018-03-06 19:54:13 -05:00
|
|
|
their dependencies. The bundle is primarily geared to the Adafruit Express line
|
|
|
|
of boards which feature a relatively large external flash. With Express boards,
|
|
|
|
its easy to copy them all onto the filesystem. However, if you don't have
|
|
|
|
enough space simply copy things over as they are needed.
|
2017-01-06 16:18:40 -05:00
|
|
|
|
|
|
|
The bundles are available `on GitHub <https://github.com/adafruit/Adafruit_CircuitPython_Bundle/releases>`_.
|
|
|
|
|
2017-01-13 20:00:26 -05:00
|
|
|
To install them:
|
|
|
|
|
2017-09-02 09:37:14 -04:00
|
|
|
#. `Download <https://github.com/adafruit/Adafruit_CircuitPython_Bundle/releases>`_
|
|
|
|
and unzip the latest zip that's not a source zip.
|
2017-06-27 20:37:03 -04:00
|
|
|
#. Copy the ``lib`` folder to the ``CIRCUITPY`` or ``MICROPYTHON``.
|
2017-01-13 20:00:26 -05:00
|
|
|
|
2018-03-06 19:54:13 -05:00
|
|
|
Foundational
|
|
|
|
------------
|
2017-01-06 16:18:40 -05:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2016-10-18 20:42:47 -04:00
|
|
|
.. toctree::
|
|
|
|
|
2017-09-02 09:37:14 -04:00
|
|
|
Register Library <https://circuitpython.readthedocs.io/projects/register/en/latest/>
|
2018-03-06 19:54:13 -05:00
|
|
|
BusDevice Library <https://circuitpython.readthedocs.io/projects/busdevice/en/latest/>
|
|
|
|
|
|
|
|
Board-specific Helpers
|
|
|
|
----------------------
|
|
|
|
|
|
|
|
These libraries tie lower-level libraries together to provide an easy, out-of-box experience for
|
|
|
|
specific boards.
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
|
|
|
Adafruit CircuitPlayground Express <https://circuitpython.readthedocs.io/projects/circuitplayground/en/latest/>
|
|
|
|
Adafruit FeatherWings <https://circuitpython.readthedocs.io/projects/featherwing/en/latest/>
|
2017-01-06 16:18:40 -05:00
|
|
|
|
2017-05-24 14:44:23 -04:00
|
|
|
Helper Libraries
|
2018-03-06 19:54:13 -05:00
|
|
|
-----------------
|
2017-05-24 14:44:23 -04:00
|
|
|
|
2017-07-19 15:11:19 -04:00
|
|
|
These libraries build on top of the low level APIs to simplify common tasks.
|
2017-05-24 14:44:23 -04:00
|
|
|
|
|
|
|
.. toctree::
|
2017-09-02 09:37:14 -04:00
|
|
|
|
2018-03-06 21:24:56 -05:00
|
|
|
USB Human Interface Device (Keyboard and Mouse) <https://circuitpython.readthedocs.io/projects/hid/en/latest/>
|
|
|
|
Waveform Generation <https://circuitpython.readthedocs.io/projects/waveform/en/latest/>
|
|
|
|
OneWire <https://circuitpython.readthedocs.io/projects/onewire/en/latest/>
|
|
|
|
Ring Tone Text Transfer Language (RTTTL) <https://circuitpython.readthedocs.io/projects/rtttl/en/latest/>
|
|
|
|
InfraRed Remote <https://circuitpython.readthedocs.io/projects/irremote/en/latest/>
|
|
|
|
Fancy LED (similar to FastLED) <https://circuitpython.readthedocs.io/projects/fancyled/en/latest/>
|
|
|
|
SimpleIO <https://circuitpython.readthedocs.io/projects/simpleio/en/latest/>
|
|
|
|
AVR programming <https://circuitpython.readthedocs.io/projects/avrprog/en/latest/>
|
|
|
|
DC Motor and Servo <https://circuitpython.readthedocs.io/projects/motor/en/latest/>
|
|
|
|
SD Card <https://circuitpython.readthedocs.io/projects/sd/en/latest/>
|
2018-11-14 00:24:53 -05:00
|
|
|
Image Load <https://circuitpython.readthedocs.io/projects/imageload/en/latest/>
|
2018-11-13 20:45:11 -05:00
|
|
|
miniQR Non-hardware QR code generator <https://circuitpython.readthedocs.io/projects/miniqr/en/latest/>
|
|
|
|
Slideshow <https://circuitpython.readthedocs.io/projects/slideshow/en/latest/>
|
2018-11-14 00:28:23 -05:00
|
|
|
LED Animation <https://circuitpython.readthedocs.io/projects/led-animation/en/latest/>
|
2018-03-06 19:54:13 -05:00
|
|
|
|
|
|
|
Blinky
|
|
|
|
--------
|
|
|
|
|
|
|
|
Multi-color led drivers.
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
2018-03-06 21:24:56 -05:00
|
|
|
NeoPixel <https://circuitpython.readthedocs.io/projects/neopixel/en/latest/>
|
|
|
|
DotStar <https://circuitpython.readthedocs.io/projects/dotstar/en/latest/>
|
2018-03-27 17:25:14 -04:00
|
|
|
WS2801 <https://circuitpython.readthedocs.io/projects/ws2801/en/latest/>
|
2018-11-14 00:24:53 -05:00
|
|
|
Pixie <https://circuitpython.readthedocs.io/projects/pixie/en/latest/>
|
2018-03-06 19:54:13 -05:00
|
|
|
|
|
|
|
Displays
|
|
|
|
-------------
|
|
|
|
|
|
|
|
Drivers used to display information. Either pixel or segment based.
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
2018-03-06 21:24:56 -05:00
|
|
|
RGB Displays <https://circuitpython.readthedocs.io/projects/rgb_display/en/latest/>
|
|
|
|
Character LCD <https://circuitpython.readthedocs.io/projects/charlcd/en/latest/>
|
|
|
|
HT16K33 LED Matrices and Segment Displays <https://circuitpython.readthedocs.io/projects/ht16k33/en/latest/>
|
|
|
|
IS31FL3731 Charlieplexed LED Matrix <https://circuitpython.readthedocs.io/projects/is31fl3731/en/latest/>
|
|
|
|
MAX7219 LED Matrix <https://circuitpython.readthedocs.io/projects/max7219/en/latest/>
|
|
|
|
SSD1306 OLED Driver <https://circuitpython.readthedocs.io/projects/ssd1306/en/latest/>
|
2018-11-14 00:24:53 -05:00
|
|
|
E-Paper Display <https://circuitpython.readthedocs.io/projects/epd/en/latest/>
|
2018-03-06 19:54:13 -05:00
|
|
|
|
|
|
|
Real-time clocks
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
Chips that keep current calendar time with a backup battery. The current date and time is available
|
|
|
|
through ``datetime``.
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
2018-03-06 21:24:56 -05:00
|
|
|
DS1307 Real-time Clock (5V RTC Breakout) <https://circuitpython.readthedocs.io/projects/ds1307/en/latest/>
|
|
|
|
DS3231 Real-time Clock (Precision RTC) <https://circuitpython.readthedocs.io/projects/ds3231/en/latest/>
|
|
|
|
PCF8523 Real-time Clock (Adalogger RTC) <https://circuitpython.readthedocs.io/projects/pcf8523/en/latest/>
|
2018-03-06 19:54:13 -05:00
|
|
|
|
|
|
|
Motion Sensors
|
|
|
|
----------------
|
|
|
|
|
|
|
|
Motion relating sensing including ``acceleration``, ``magnetic``, ``gyro``, and ``orientation``.
|
|
|
|
|
|
|
|
.. toctree::
|
2018-03-06 21:24:56 -05:00
|
|
|
|
2018-11-13 20:45:11 -05:00
|
|
|
ADXL34x 3 Axis Accelerometer <https://circuitpython.readthedocs.io/projects/adxl34x/en/latest/>
|
2018-03-06 21:24:56 -05:00
|
|
|
BNO055 Accelerometer, Magnetometer, Gyroscope and Absolution Orientation <https://circuitpython.readthedocs.io/projects/bno055/en/latest/>
|
2018-03-27 17:25:14 -04:00
|
|
|
FXAS21002C Gyroscope <https://circuitpython.readthedocs.io/projects/fxas21002c/en/latest/>
|
2018-03-06 21:24:56 -05:00
|
|
|
FXOS8700 Accelerometer <https://circuitpython.readthedocs.io/projects/fxos8700/en/latest/>
|
|
|
|
GPS Global Position <https://circuitpython.readthedocs.io/projects/gps/en/latest/>
|
2018-11-21 13:58:11 -05:00
|
|
|
L3GD20 Gyroscope <https://circuitpython.readthedocs.io/projects/l3gd20/latest/>
|
2018-03-06 21:24:56 -05:00
|
|
|
LIS3DH Accelerometer <https://circuitpython.readthedocs.io/projects/lis3dh/en/latest/>
|
|
|
|
LSM303 Accelerometer and Magnetometer <https://circuitpython.readthedocs.io/projects/lsm303/en/latest/>
|
|
|
|
LSM9DS0 Accelerometer, Magnetometer, Gyroscope and Temperature <https://circuitpython.readthedocs.io/projects/lsm9ds0/en/latest/>
|
|
|
|
LSM9DS1 Accelerometer, Magnetometer, Gyroscope and Temperature <https://circuitpython.readthedocs.io/projects/lsm9ds1/en/latest/>
|
2018-11-13 20:45:11 -05:00
|
|
|
MLX90390 3 Axis Mangetometer <https://circuitpython.readthedocs.io/projects/mlx90393/en/latest/>
|
2018-03-06 21:24:56 -05:00
|
|
|
MMA8451 3 axis accelerometer <https://circuitpython.readthedocs.io/projects/mma8451/en/latest/>
|
2018-03-06 19:54:13 -05:00
|
|
|
|
|
|
|
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::
|
|
|
|
|
2018-03-07 23:10:25 -05:00
|
|
|
AM2320 Temperature and Humidity <https://circuitpython.readthedocs.io/projects/am2320/en/latest/>
|
2018-03-06 21:24:56 -05:00
|
|
|
BME280 Temperature, Humidity and Pressure <https://circuitpython.readthedocs.io/projects/bme280/en/latest/>
|
|
|
|
BME680 Temperature, Humidity, Pressure and Gas <https://circuitpython.readthedocs.io/projects/bme680/en/latest/>
|
|
|
|
BMP280 Barometric Pressure and Altitude <https://circuitpython.readthedocs.io/projects/bmp280/en/latest/>
|
2018-11-13 20:45:11 -05:00
|
|
|
BMP3xx Barometric Pressure and Altimeter <https://circuitpython.readthedocs.io/projects/bmp3xx/en/latest/>
|
2018-03-06 21:24:56 -05:00
|
|
|
CCS811 Air Quality <https://circuitpython.readthedocs.io/projects/ccs811/en/latest/>
|
|
|
|
DHT Temperature and Humidity <https://circuitpython.readthedocs.io/projects/dht/en/latest/>
|
|
|
|
DS18x20 Temperature <https://circuitpython.readthedocs.io/projects/ds18x20/en/latest/>
|
2018-11-21 13:55:01 -05:00
|
|
|
HTU21D Temperature and Humidity <https://circuitpython.readthedocs.io/projects/htu21d/en/latest/>
|
2018-03-06 21:24:56 -05:00
|
|
|
MAX31865 Thermocouple Amplifier, Temperature <https://circuitpython.readthedocs.io/projects/max31865/en/latest/>
|
|
|
|
MAX31855 Thermocouple Amplifier, Temperature <https://circuitpython.readthedocs.io/projects/max31855/en/latest/>
|
2018-11-13 20:45:11 -05:00
|
|
|
MAX31856 Thermocouple Amplifier, Temperature <https://circuitpython.readthedocs.io/projects/max31856/en/latest/>
|
2018-03-06 21:24:56 -05:00
|
|
|
MCP9808 Temperature <https://circuitpython.readthedocs.io/projects/mcp9808/en/latest/>
|
2018-11-13 20:45:11 -05:00
|
|
|
MP115A2 Barometric Pressure, Temperature <https://circuitpython.readthedocs.io/projects/mpl115a2/en/latest/>
|
2018-03-06 21:24:56 -05:00
|
|
|
MPL3115A2 Barometric Pressure, Altitude and Temperature Sensor <https://circuitpython.readthedocs.io/projects/mpl3115a2/en/latest/>
|
2018-11-21 13:55:01 -05:00
|
|
|
MPRLS Ported Absolute Pressure <https://circuitpython.readthedocs.io/projects/mprls/en/latest/>
|
2018-03-06 21:24:56 -05:00
|
|
|
SGP30 Air Quality <https://circuitpython.readthedocs.io/projects/sgp30/en/latest/>
|
|
|
|
SHT31-D Temperature and Humidity <https://circuitpython.readthedocs.io/projects/sht31d/en/latest/>
|
|
|
|
Si7021 Temperature and Humidity <https://circuitpython.readthedocs.io/projects/si7021/en/latest/>
|
|
|
|
Thermistor Temperature <https://circuitpython.readthedocs.io/projects/thermistor/en/latest/>
|
2018-11-14 00:24:53 -05:00
|
|
|
TMP007 Contactless Temperature <https://circuitpython.readthedocs.io/projects/tmp007/en/latest/>
|
|
|
|
MLX90614 Contactless Temperature <https://circuitpython.readthedocs.io/projects/mlx90614/en/latest/>
|
2018-03-06 19:54:13 -05:00
|
|
|
|
|
|
|
Light Sensors
|
|
|
|
---------------
|
|
|
|
|
|
|
|
These sensors detect light related attributes such as ``color``, ``light`` (unit-less), and
|
|
|
|
``lux`` (light in SI lux).
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
2018-03-06 21:24:56 -05:00
|
|
|
APDS9960 Proximity, Light, RGB, and Gesture <https://circuitpython.readthedocs.io/projects/apds9960/en/latest/>
|
2018-03-27 17:25:14 -04:00
|
|
|
AS726x Color Spectrum Sensor <https://circuitpython.readthedocs.io/projects/as726x/en/latest/>
|
2018-03-06 21:24:56 -05:00
|
|
|
TCS34725 Color Sensor <https://circuitpython.readthedocs.io/projects/tcs34725/en/latest/>
|
|
|
|
TSL2561 Light Sensor <https://circuitpython.readthedocs.io/projects/tsl2561/en/latest/>
|
|
|
|
TSL2591 High Dynamic Range Light Sensor <https://circuitpython.readthedocs.io/projects/tsl2591/en/latest/>
|
|
|
|
VCNL4010 Proximity and Light <https://circuitpython.readthedocs.io/projects/vcnl4010/en/latest/>
|
|
|
|
VEML6070 UV Index <https://circuitpython.readthedocs.io/projects/veml6070/en/latest/>
|
2018-11-13 20:45:11 -05:00
|
|
|
VEML6075 UV Index <https://circuitpython.readthedocs.io/projects/veml6075/en/latest/>
|
2018-03-06 19:54:13 -05:00
|
|
|
|
|
|
|
Distance Sensors
|
|
|
|
------------------
|
|
|
|
|
|
|
|
These sensors measure the ``distance`` to another object and may also measure light level (``light`` and ``lux``).
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
2018-11-21 13:55:01 -05:00
|
|
|
Garmin LIDARLite I2C <https://circuitpython.readthedocs.io/projects/lidarlite/en/latest/>
|
|
|
|
TFmini IR Time of Flight ~30cm - 12m <https://circuitpython.readthedocs.io/projects/tfmini/en/latest/>
|
2018-03-06 21:24:56 -05:00
|
|
|
VL6180x 5 - 100 mm <https://circuitpython.readthedocs.io/projects/vl6180x/en/latest/>
|
|
|
|
VL53L0x ~30 - 1000 mm <https://circuitpython.readthedocs.io/projects/vl53l0x/en/latest/>
|
2018-11-14 00:24:53 -05:00
|
|
|
HC-SR04 Ultrasonic Range Sensors <https://circuitpython.readthedocs.io/projects/hcsr04/en/latest/>
|
2018-03-06 19:54:13 -05:00
|
|
|
|
|
|
|
Radio
|
|
|
|
--------
|
|
|
|
|
|
|
|
These chips communicate to other's over radio.
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
2018-11-13 20:45:11 -05:00
|
|
|
Adafruit Bluefruit LE SPI Friend <https://circuitpython.readthedocs.io/projects/bluefruitspi/en/latest/>
|
2018-03-06 21:24:56 -05:00
|
|
|
RFM9x LoRa <https://circuitpython.readthedocs.io/projects/rfm9x/en/latest/>
|
|
|
|
RFM69 Packet Radio <https://circuitpython.readthedocs.io/projects/rfm69/en/latest/>
|
2018-11-14 00:37:27 -05:00
|
|
|
PN532 NFC/RFID <https://circuitpython.readthedocs.io/projects/pn532/en/latest/>
|
2017-05-24 14:44:23 -04:00
|
|
|
|
2018-03-06 19:54:13 -05:00
|
|
|
IO Expansion
|
|
|
|
--------------
|
2017-01-06 16:18:40 -05:00
|
|
|
|
2018-03-06 19:54:13 -05:00
|
|
|
These provide functionality similar to `analogio`, `digitalio`, `pulseio`, and `touchio`.
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
2018-03-06 21:24:56 -05:00
|
|
|
Adafruit SeeSaw <https://circuitpython.readthedocs.io/projects/seesaw/en/latest/>
|
|
|
|
ADS1x15 Analog-to-Digital Converter <https://circuitpython.readthedocs.io/projects/ads1x15/en/latest/>
|
2018-07-16 09:01:46 -04:00
|
|
|
Crickit Robotics Boards <<https://circuitpython.readthedocs.io/projects/crickit/en/latest/>
|
2018-03-06 21:24:56 -05:00
|
|
|
DS2413 OneWire GPIO Expander <https://circuitpython.readthedocs.io/projects/ds2413/en/latest/>
|
|
|
|
FocalTech Capacitive Touch <https://circuitpython.readthedocs.io/projects/focaltouch/en/latest/>
|
2018-03-27 17:25:14 -04:00
|
|
|
MCP230xx GPIO Expander <https://circuitpython.readthedocs.io/projects/mcp230xx/en/latest/>
|
2018-03-06 21:24:56 -05:00
|
|
|
MCP4725 Digital-to-Analog Converter <https://circuitpython.readthedocs.io/projects/mcp4725/en/latest/>
|
|
|
|
PCA9685 16 x 12-bit PWM Driver <https://circuitpython.readthedocs.io/projects/pca9685/en/latest/>
|
|
|
|
TLC5947 24 x 12-bit PWM Driver <https://circuitpython.readthedocs.io/projects/tlc5947/en/latest/>
|
|
|
|
TLC59711 12 x 16-bit PWM Driver <https://circuitpython.readthedocs.io/projects/tlc59711/en/latest/>
|
|
|
|
MPR121 Capacitive Touch Sensor <https://circuitpython.readthedocs.io/projects/mpr121/en/latest/>
|
2018-11-14 00:24:53 -05:00
|
|
|
TCA9548 I2C Multiplexer <https://circuitpython.readthedocs.io/projects/tca9548a/en/latest/>
|
|
|
|
MCP3xxx SPI ADC <https://circuitpython.readthedocs.io/projects/mcp3xxx/en/latest/>
|
2018-03-06 19:54:13 -05:00
|
|
|
|
|
|
|
Miscellaneous
|
|
|
|
----------------
|
2017-01-06 16:18:40 -05:00
|
|
|
|
|
|
|
.. toctree::
|
2017-09-02 09:37:14 -04:00
|
|
|
|
2018-11-13 20:45:11 -05:00
|
|
|
CAP1188 8-Key Capacitive Touch <https://circuitpython.readthedocs.io/projects/cap1188/en/latest/>
|
2018-03-06 21:24:56 -05:00
|
|
|
Si4713 Stereo FM Transmitter <https://circuitpython.readthedocs.io/projects/si4713/en/latest/>
|
|
|
|
AMG88xx Grid-Eye IR Camera <https://circuitpython.readthedocs.io/projects/amg88xx/en/latest/>
|
|
|
|
Trellis 4x4 Keypad <https://circuitpython.readthedocs.io/projects/trellis/en/latest/>
|
2018-11-21 13:55:01 -05:00
|
|
|
NeoTrellis 4x4 Keypad <https://circuitpython.readthedocs.io/projects/neotrellis/en/latest/>
|
2018-11-13 20:45:11 -05:00
|
|
|
NeoTrellis M4 4x8 Keypad <https://circuitpython.readthedocs.io/projects/trellism4/en/latest/>
|
2018-03-06 21:24:56 -05:00
|
|
|
DRV2605 Haptic Motor Controller <https://circuitpython.readthedocs.io/projects/drv2605/en/latest/>
|
|
|
|
MAX9744 Audio Amplifier <https://circuitpython.readthedocs.io/projects/max9744/en/latest/>
|
|
|
|
Si5351 Clock Generator <https://circuitpython.readthedocs.io/projects/si5351/en/latest/>
|
|
|
|
Thermal Printer <https://circuitpython.readthedocs.io/projects/thermal_printer/en/latest/>
|
|
|
|
VC0706 TTL Camera <https://circuitpython.readthedocs.io/projects/vc0706/en/latest/>
|
|
|
|
INA219 High Side Current <https://circuitpython.readthedocs.io/projects/ina219/en/latest/>
|
|
|
|
Fingerprint <https://circuitpython.readthedocs.io/projects/fingerprint/en/latest/>
|
2018-11-14 00:24:53 -05:00
|
|
|
STMPE610 Resistive Touchscreen <https://circuitpython.readthedocs.io/projects/stmpe610/en/latest/>
|
|
|
|
Matrix Keypad <https://circuitpython.readthedocs.io/projects/matrixkeypad/en/latest/>
|
2018-11-13 20:45:11 -05:00
|
|
|
VS1053 Audio Codec <https://circuitpython.readthedocs.io/projects/vs1053/en/latest/>
|
|
|
|
FRAM Non-Volatile Memory <https://circuitpython.readthedocs.io/projects/fram/en/latest/>
|
2018-11-21 14:05:02 -05:00
|
|
|
74HC595 Shift Register <https://circuitpython.readthedocs.io/projects/74hc595/en/latest/>
|