Component guide · Intermediate · 3 min read
ADS1115 16-Bit ADC Module

Pinout, Wiring and Code
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
The ADS1115 adds four precise 16-bit analog inputs to any board over I2C. It has a programmable gain amplifier for ranges from ±6.144 V down to ±0.256 V, and can measure single-ended or differential signals. It is the fix for the Raspberry Pi having no analog input and for the ESP32's noisy built-in ADC.
Key specs at a glance
- Resolution
- 16-bit (15 bits plus sign in single-ended mode)
- Channels
- 4 single-ended or 2 differential
- Gain ranges
- ±6.144, ±4.096, ±2.048, ±1.024, ±0.512, ±0.256 V
- Speed
- 8 to 860 samples per second
- Supply
- 2 to 5.5 V
- I2C addresses
- 0x48 (ADDR to GND), 0x49, 0x4A, 0x4B
What the ADS1115 ADC is
The ADS1115 is an ADC from Texas Instruments. It converts analog voltages into numbers with much finer steps than the 10-bit Arduino ADC: at ±4.096 V each step is 0.125 mV instead of about 4.9 mV.
Gain settings set the full-scale range, not the maximum allowed voltage: inputs must always stay between GND and VDD. Differential mode measures the difference between two pins, useful for bridges and shunts.
ADS1115 ADC pinout
The pins on the ADS1115 ADC and what each one does.
| Pin | Function |
|---|---|
| VDD | 2 to 5.5 V supply |
| GND | Ground |
| SCL / SDA | I2C clock and data |
| ADDR | Address select (GND, VDD, SDA or SCL) |
| ALRT | Alert / ready output (optional) |
| A0 to A3 | Analog inputs |
- VDD
- 2 to 5.5 V supply
- GND
- Ground
- SCL / SDA
- I2C clock and data
- ADDR
- Address select (GND, VDD, SDA or SCL)
- ALRT
- Alert / ready output (optional)
- A0 to A3
- Analog inputs
Wiring the ADS1115 ADC
On a Raspberry Pi use pins 1 (3.3 V), 3 (SDA), 5 (SCL) and 6 (GND). Power the ADS1115 from the same voltage as the I2C bus.
| ADS1115 ADC pin | Arduino Uno | ESP32 |
|---|---|---|
| VCC | 5V (or 3.3V) | 3V3 |
| GND | GND | GND |
| SDA | A4 | GPIO 21 |
| SCL | A5 | GPIO 22 |
| ADDR | GND (address 0x48) | GND (address 0x48) |
| A0 | Signal to measure | Signal to measure |
- VCC
- Arduino Uno:
- 5V (or 3.3V)
- ESP32:
- 3V3
- GND
- Arduino Uno:
- GND
- ESP32:
- GND
- SDA
- Arduino Uno:
- A4
- ESP32:
- GPIO 21
- SCL
- Arduino Uno:
- A5
- ESP32:
- GPIO 22
- ADDR
- Arduino Uno:
- GND (address 0x48)
- ESP32:
- GND (address 0x48)
- A0
- Arduino Uno:
- Signal to measure
- ESP32:
- Signal to measure
Example code
Install the Adafruit ADS1X15 library. For a differential reading between A0 and A1, use readADC_Differential_0_1().
#include <Adafruit_ADS1X15.h>
Adafruit_ADS1115 ads;
void setup() {
Serial.begin(115200);
ads.setGain(GAIN_ONE); // ±4.096 V range, 0.125 mV per bit
if (!ads.begin(0x48)) { Serial.println("ADS1115 not found"); while (1); }
}
void loop() {
int16_t raw = ads.readADC_SingleEnded(0);
Serial.print(raw); Serial.print(" ");
Serial.print(ads.computeVolts(raw), 4); Serial.println(" V");
delay(500);
}Setup and tuning
so your largest expected signal just fits; that gives the best resolution. The ADC resolution calculator shows the step size.
on any input, whatever the gain.
lower data rates (8 to 128 SPS) give quieter readings.
use a voltage divider to bring 12 or 24 V into range.
What you need
Shop this list5 of 5 found in our store · ₹739
ADS1115 16-bit 4-channel ADC module: the ADC this guide coversADS1115 16-Bit 4-Channel ADC Module₹199
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
Potentiometer module with knob: an easy test signalPotentiometer Module with Knob₹34
Solderless breadboard: to build without solderingSolderless Breadboard₹68
Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
Alternatives and when to choose them
- ADC and DAC modules: other converters including faster SPI parts.
- HX711: 24-bit ADC made for load cells.
- ADC basics: resolution, reference and sampling explained.
Try it: Adc resolution calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Applying more than VDD to an input because the gain range says ±6.144 V.
- Using the highest gain and clipping the signal.
- Two modules on the same address.
- Expecting thousands of samples per second; the maximum is 860.
Frequently asked questions
Can the ADS1115 measure negative voltages?
Only as a difference between two inputs. Each pin must stay between GND and VDD.
ADS1115 or ADS1015?
The ADS1115 is 16-bit and slower; the ADS1015 is 12-bit but faster (3300 SPS).
Does it work with Raspberry Pi?
Yes. It is the usual way to add analog inputs to a Pi, with Python libraries available.
How many can I connect?
Up to four on one I2C bus using the four ADDR settings.
Why do my readings jump?
Use a slower data rate, add a 0.1 µF capacitor at the input and keep analog wires short.
What voltage does each bit represent?
At GAIN_ONE (±4.096 V), 0.125 mV per bit.
Parts for this guide
Calculators
Terms in this guide
Projects that use it
Put this into practice: 25 step-by-step builds in our project library use parts from this guide.
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.
