The ADS1115, manufactured by Adafruit (part #1085), is a high-precision, low-power, 16-bit analog-to-digital converter (ADC) with four multiplexed channels. It is designed for applications requiring precise voltage measurement, such as sensor interfacing, data acquisition systems, and portable instrumentation. With its I2C-compatible interface, the ADS1115 is easily integrated into a wide range of microcontroller-based systems, including those built with Arduino platforms.
Pin Number | Pin Name | Description |
---|---|---|
1 | VDD | Power supply (2.0 V to 5.5 V) |
2 | GND | Ground |
3 | SCL | I2C Serial Clock |
4 | SDA | I2C Serial Data |
5 | ADDR | Address select pin |
6 | ALERT | Alert/Ready pin |
7 | A0 | Analog input channel 0 |
8 | A1 | Analog input channel 1 |
9 | A2 | Analog input channel 2 |
10 | A3 | Analog input channel 3 |
Connecting the ADS1115 to Arduino:
Arduino Library and Initialization:
#include <Wire.h>
#include <Adafruit_ADS1015.h>
Adafruit_ADS1115 ads(0x48); // Use default I2C address 0x48
void setup() {
Serial.begin(9600);
ads.begin();
}
void loop() {
int16_t adc0, adc1, adc2, adc3;
adc0 = ads.readADC_SingleEnded(0);
adc1 = ads.readADC_SingleEnded(1);
adc2 = ads.readADC_SingleEnded(2);
adc3 = ads.readADC_SingleEnded(3);
Serial.print("AIN0: "); Serial.println(adc0);
Serial.print("AIN1: "); Serial.println(adc1);
Serial.print("AIN2: "); Serial.println(adc2);
Serial.print("AIN3: "); Serial.println(adc3);
Serial.println(" ");
delay(1000);
}
Q: Can the ADS1115 be used with both 5V and 3.3V systems? A: Yes, the ADS1115 can operate with a supply voltage from 2.0 V to 5.5 V.
Q: How do I change the I2C address of the ADS1115? A: The I2C address can be changed by connecting the ADDR pin to GND, VDD, SDA, or SCL.
Q: What is the maximum sampling rate of the ADS1115? A: The ADS1115 can sample up to 860 samples per second.
Q: Can the ADS1115 measure negative voltages? A: The ADS1115 can measure negative voltages in differential mode, but not in single-ended mode.
For further assistance, consult the Adafruit ADS1115 datasheet and the Adafruit support forums.