Class Ads1x15

  • All Implemented Interfaces:
    DeviceInterface, AnalogInputDeviceFactoryInterface, DeviceFactoryInterface, AutoCloseable

    public class Ads1x15
    extends AbstractDeviceFactory
    implements AnalogInputDeviceFactoryInterface, DeviceInterface
    ADS1115 Datasheet: https://www.ti.com/lit/ds/symlink/ads1115.pdf ADS1015 Datasheet: https://www.ti.com/lit/ds/symlink/ads1015.pdf
     Device  | Resolution | Max Sample Rate | # Channels | Interface | Features
     ADS1115 |     16     |       860       |    2 (4)   |    I2C    | Comparator
     ADS1114 |     16     |       860       |    1 (1)   |    I2C    | Comparator
     ADS1015 |     12     |      3300       |    2 (4)   |    I2C    | Comparator
     ADS1014 |     12     |      3300       |    1 (1)   |    I2C    | Comparator
     ADS1118 |     16     |       860       |    2 (4)   |    SPI    | Temp. sensor
     ADS1018 |     12     |      3300       |    2 (4)   |    SPI    | Temp. sensor
     
    Wiring:
     A3 | A2 | A1 | A0 | ALERT | ADDR | SDA | SCL | G | V
     
    ADDR (In) - I2C slave address select ALERT (Out) - Comparator output or conversion ready (ADS1114 and ADS1115 only) ADDR - can be connected to GND, VDD, SDA, or SCL, allowing for four different addresses to be selected
     GND | 0b01001000 (0x48)
     VDD | 0b01001001 (0x49)
     SDA | 0b01001010 (0x4a)
     SCL | 0b01001011 (0x4b)