Skip to content

Commit

Permalink
Merge branch 'master' of github.com:MediaMongrels-Ltd/RPi-LINX-Addons
Browse files Browse the repository at this point in the history
  • Loading branch information
samsharp99 committed May 17, 2020
2 parents 2431dc2 + 41a4794 commit f9afdd8
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,25 @@ A collection of libraries for talking to hardware using the Raspberry Pi with th
### Hats
* **Automation Hat:** A driver class is provided for the Pimoroni Automation Hat - this hat includes 3 0-24V ADC channels, 3 relay outputs, 3 24V tolerant sinking outputs, 3 24V buffered inputs and a number of status/indicator LEDs. The driver provides (optional) automatic control of the status LEDs (e.g. relay output state). [[Buy - Amazon UK]](https://amzn.to/3aRHcvu) [[Information]](https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-automation-hat-and-phat)
* **Sense Hat:** A driver class for the Raspberry Pi Sense Hat - this hat includes temperature, humidity, pressure, gyroscope, acceleromter, magnetometer sensors along with an 8x8 RGB LED matrix and joystick. [[Buy - Amazon UK]](https://amzn.to/3bMdpVX) [[Information]](https://www.raspberrypi.org/products/sense-hat/)
* **WaveShare High-Precision AD/DA Board:** Drivers are provided for the ADS1256 8-channel 24-bit ADC and the DAC8552 2-channel 16-bit DAC used on the WaveShare ADC/DAC board. Useful for adding analogue sensing & control to your Raspberry Pi. [[Buy - Amazon UK]](https://amzn.to/35KFJWM) [[Information]](https://www.waveshare.com/wiki/High-Precision_AD/DA_Board)
* **Explorer Hat Pro:** The Explorer Hat Pro adds a useful collection of I/O to the Raspberry Pi including an ADS1015 4-channel ADC, a CAP1208 8-channel capacitive touch sensor, 5V buffered inputs/outputs, 4 LEDs, a H-bridge motor driver and a mini-breadboard for adding your own circuits and sensors. [[Buy - Amazon UK]](https://amzn.to/2YQvoXG) [[Information]](https://shop.pimoroni.com/products/explorer-hat)

### Chip Drivers
* **PCA9685 16-Channel PWM driver:** 16-Channel PWM driver with customisable frequency/duty cycle output. Includes functions for driving servos. [[Buy - Amazon UK]](https://amzn.to/2SwGPAb) [[Information]](https://learn.adafruit.com/16-channel-pwm-servo-driver)
* **SN3218 18-Channel LED driver:** 18-Channel LED driver chip with brightness control (0-255 steps). This chip is used on the Automation Hat to drive the LEDs (see above). [[Datasheet]](http://www.si-en.com/uploadpdf/s2011517171720.pdf)
* **ADS1X15 2/4-Channel ADC:** Support for the TI ADS1015 and ADS1115 ADC chips. These provide 4 single-ended or 2 differential ADC channels and either a 12/16-bit resolution and up to a 3300Hz sampling rate depending on the chip variant. The library provides basic support for reading the channels in single-shot (low-power) mode. [[Buy ADS1115 - Amazon UK]](https://amzn.to/3d0tQhT) [[Buy ADS1015 - Amazon UK]](https://amzn.to/2xhrCvl) [[Information]](https://learn.adafruit.com/adafruit-4-channel-adc-breakouts/)
* **HTS221 Temperature/Humidity Sensor:** Temperature/Humidity Sensor used on the Raspberry Pi Sense Hat [[Information]](https://learn.adafruit.com/adafruit-hts221-temperature-humidity-sensor)
* **LPS Pressure/Temperature Sensor:** Pressure/Temperature/Altimeter Sensor used on the Raspberry Pi Sense Hat. Supports the LPS25H/LPS25HB devices. [[Information]](https://learn.adafruit.com/adafruit-lps25-pressure-sensor)
* **LSM9DS1 9DOF IMU:** Accelerometer, Gyroscope and Magnetometer offering 9DOF IMU sensing support. Used on the Sense Hat. [[Buy - Amazon UK]](https://amzn.to/2Ye1NqR) [[Information]](https://learn.adafruit.com/adafruit-lsm9ds1-accelerometer-plus-gyro-plus-magnetometer-9-dof-breakout)
* **PCA9685 16-Channel PWM driver (I2C):** 16-Channel PWM driver with customisable frequency/duty cycle output. Includes functions for driving servos. [[Buy - Amazon UK]](https://amzn.to/2SwGPAb) [[Information]](https://learn.adafruit.com/16-channel-pwm-servo-driver)
* **SN3218 18-Channel LED driver (I2C):** 18-Channel LED driver chip with brightness control (0-255 steps). This chip is used on the Automation Hat to drive the LEDs (see above). [[Datasheet]](http://www.si-en.com/uploadpdf/s2011517171720.pdf)
* **ADS1X15 2/4-Channel ADC (I2C):** Support for the TI ADS1015 and ADS1115 ADC chips. These provide 4 single-ended or 2 differential ADC channels and either a 12/16-bit resolution and up to a 3300Hz sampling rate depending on the chip variant. The library provides basic support for reading the channels in single-shot (low-power) mode. [[Buy ADS1115 - Amazon UK]](https://amzn.to/3d0tQhT) [[Buy ADS1015 - Amazon UK]](https://amzn.to/2xhrCvl) [[Information]](https://learn.adafruit.com/adafruit-4-channel-adc-breakouts/)
* **HTS221 Temperature/Humidity Sensor (I2C):** Temperature/Humidity Sensor used on the Raspberry Pi Sense Hat [[Information]](https://learn.adafruit.com/adafruit-hts221-temperature-humidity-sensor)
* **LPS Pressure/Temperature Sensor (I2C):** Pressure/Temperature/Altimeter Sensor used on the Raspberry Pi Sense Hat. Supports the LPS25H/LPS25HB devices. [[Information]](https://learn.adafruit.com/adafruit-lps25-pressure-sensor)
* **LSM9DS1 9DOF IMU (I2C):** Accelerometer, Gyroscope and Magnetometer offering 9DOF IMU sensing support. Used on the Sense Hat. [[Buy - Amazon UK]](https://amzn.to/2Ye1NqR) [[Information]](https://learn.adafruit.com/adafruit-lsm9ds1-accelerometer-plus-gyro-plus-magnetometer-9-dof-breakout)
* **ADS1256 8-Ch 24-bit ADC (SPI):** [[Datasheet]](http://www.ti.com/lit/ds/sbas288k/sbas288k.pdf?&ts=1589134904394)
* **DAC8552 2-Ch 16-bit DAC (SPI):** [[Datasheet]](http://www.ti.com/lit/ds/slas430a/slas430a.pdf?&ts=1589134923187)
* **CAP1208 8-Ch Capacitive Touch Sensor (I2C):** [[Datasheet]](http://ww1.microchip.com/downloads/en/DeviceDoc/00001570C.pdf)

## Helper Libraries
The package also includes wrappers for the low-level LINX functionality for the following interfaces:
* **I2C:** Read/Write/Read Byte/Read Register/Write Register
* **GPIO:** Read/Write GPIO
* **SPI:** A wrapper library for the LINX SPI functions

## Examples
The library includes a basic example of each chip/hat type.
Expand Down

0 comments on commit f9afdd8

Please sign in to comment.