Component guide · Intermediate · 3 min read
ADS1015 12-Bit ADC Module

Pinout, Wiring and Code
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
The ADS1015 adds four 12-bit analog inputs to any board over I2C. It has a programmable gain amplifier (from ±6.144 V down to ±0.256 V full scale), can read single inputs or two differential pairs, and samples up to 3300 times a second. It is the faster, lower-resolution sibling of the ADS1115, and fixes the noisy, non-linear ADC on the ESP32.
Key specs at a glance
- Resolution
- 12-bit
- Channels
- 4 single-ended or 2 differential
- Sample rate
- 128 to 3300 samples per second
- Gain
- PGA: ±6.144, 4.096, 2.048, 1.024, 0.512, 0.256 V
- Interface
- I2C, address 0x48 to 0x4B
- Supply
- 2.0 to 5.5 V
What the ADS1015 module is
The ADS1015 has its own reference and gain stage, so readings are steady and linear. Differential mode measures the voltage between two pins, which is useful for bridges and shunt resistors.
No input may go below GND or above VDD, whatever the gain setting: the gain only changes the measuring range, not the safe input voltage.
ADS1015 module pinout
The pins on the ADS1015 module and what each one does.
| Pin | Function |
|---|---|
| VDD | Supply, 2.0 to 5.5 V |
| GND | Ground |
| SCL / SDA | I2C clock and data |
| ADDR | Address: GND 0x48, VDD 0x49, SDA 0x4A, SCL 0x4B |
| ALRT | Comparator or conversion-ready output (optional) |
| A0 to A3 | Analog inputs |
- VDD
- Supply, 2.0 to 5.5 V
- GND
- Ground
- SCL / SDA
- I2C clock and data
- ADDR
- Address: GND 0x48, VDD 0x49, SDA 0x4A, SCL 0x4B
- ALRT
- Comparator or conversion-ready output (optional)
- A0 to A3
- Analog inputs
Wiring the ADS1015 module
Power it from the same voltage as your controller so the I2C levels match. Inputs must stay between GND and VDD.
| ADS1015 module pin | Arduino Uno | ESP32 |
|---|---|---|
| VDD | 5V | 3V3 |
| GND | GND | GND |
| SCL | A5 | GPIO 22 |
| SDA | A4 | GPIO 21 |
| ADDR | GND (0x48) | GND (0x48) |
| A0 | Sensor output | Sensor output |
- VDD
- Arduino Uno:
- 5V
- ESP32:
- 3V3
- GND
- Arduino Uno:
- GND
- ESP32:
- GND
- SCL
- Arduino Uno:
- A5
- ESP32:
- GPIO 22
- SDA
- Arduino Uno:
- A4
- ESP32:
- GPIO 21
- ADDR
- Arduino Uno:
- GND (0x48)
- ESP32:
- GND (0x48)
- A0
- Arduino Uno:
- Sensor output
- ESP32:
- Sensor output
Example code
For a differential pair use readADC_Differential_0_1(). For higher resolution at low speed, the same code works with Adafruit_ADS1115.
#include <Adafruit_ADS1X15.h>
Adafruit_ADS1015 ads;
void setup() {
Serial.begin(115200);
if (!ads.begin(0x48)) { Serial.println("ADS1015 not found"); while (1); }
ads.setGain(GAIN_ONE); // ±4.096 V range, 2 mV per step
}
void loop() {
for (int ch = 0; ch < 4; ch++) {
int16_t raw = ads.readADC_SingleEnded(ch);
Serial.print(ads.computeVolts(raw), 3); Serial.print(" V ");
}
Serial.println();
delay(500);
}Setup and tuning
so the biggest signal fits: GAIN_ONE for 0 to 3.3 V, GAIN_SIXTEEN for small shunt or bridge signals.
set different ADDR pins for up to 16 inputs on one bus.
add a 100 nF capacitor from the input to GND for noisy sensors.
set the data rate to 3300 SPS for audio-rate or quick signals.
What you need
Shop this list5 of 6 found in our store · ₹1,377
12-Bit I2C ADS1015 4-Channel ADC Module with Programmable Gain Amplifier: the part this guide covers12-Bit I2C ADS1015 4-Channel ADC Module with Programmable Gain Amplifier₹550
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389- Uno R3 development board: the controller used in the wiring tableFind this part
Resistor assortment kit: for voltage dividers on higher voltagesResistor Assortment Kit₹250
0.96 inch OLED display 128x64: to show readings without a computer0.96" OLED Display 128x64₹139Closest match, check the specs
Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
Alternatives and when to choose them
- ADS1115 ADC: 16-bit for precise slow readings, up to 860 samples per second.
- MCP3008 ADC: 8 channels, 10-bit, SPI.
- ADC basics: resolution, reference and sampling explained.
Try it: Voltage divider calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Feeding a voltage above VDD into an input because the gain range says ±6.144 V.
- Leaving the gain at the default and getting coarse readings on a small signal.
- Two boards on the same address.
- Mixing a 5 V-powered ADS1015 with a 3.3 V board's I2C without a level shifter.
Frequently asked questions
ADS1015 or ADS1115?
ADS1015 for speed (3300 SPS, 12-bit); ADS1115 for resolution (860 SPS, 16-bit).
Can it read negative voltages?
Only as a difference between two inputs; no pin may go below GND.
How many can I use on one bus?
Four, at addresses 0x48 to 0x4B.
Does it work with ESP32?
Yes, power it from 3.3 V. It gives far more accurate readings than the ESP32's own ADC.
What does the gain do?
It sets the full-scale range, so small signals use more of the 12 bits.
Parts for this guide
Calculators
Projects that use it
Put this into practice: 7 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.


