Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Sensors
  4. ›ADS1015 12-Bit ADC Module

Component guide · Intermediate · 3 min read

ADS1015 12-Bit ADC Module

Pinout, Wiring and Code

By Geekobot Learning Team · Updated 29 Oct 2026

I'm using
Wiring, code and the Run it panels follow your board.
On this page
Short answerWhat the ADS1015 module isADS1015 module pinoutWiring the ADS1015 moduleExample codeSetup and tuningWhat you needAlternatives and when to choose themTry itCommon mistakesFAQsParts and next steps
Short answer

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
01

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.

02

ADS1015 module pinout

The pins on the ADS1015 module and what each one does.

PinFunction
VDDSupply, 2.0 to 5.5 V
GNDGround
SCL / SDAI2C clock and data
ADDRAddress: GND 0x48, VDD 0x49, SDA 0x4A, SCL 0x4B
ALRTComparator or conversion-ready output (optional)
A0 to A3Analog inputs
PinFunction
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
03

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 pinArduino UnoESP32
VDD5V3V3
GNDGNDGND
SCLA5GPIO 22
SDAA4GPIO 21
ADDRGND (0x48)GND (0x48)
A0Sensor outputSensor 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
04

Example code

For a differential pair use readADC_Differential_0_1(). For higher resolution at low speed, the same code works with Adafruit_ADS1115.

Read four channels with the Adafruit ADS1X15 library · Arduino C++Verify & upload in Electrolark
#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);
}
05

Setup and tuning

Pick the gain

so the biggest signal fits: GAIN_ONE for 0 to 3.3 V, GAIN_SIXTEEN for small shunt or bridge signals.

Up to four boards

set different ADDR pins for up to 16 inputs on one bus.

Stable readings

add a 100 nF capacitor from the input to GND for noisy sensors.

Fast sampling

set the data rate to 3300 SPS for audio-rate or quick signals.

06

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
07

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.
08

Try it: Voltage divider calculator

Change the values and the diagram and results update as you type.

09

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.
10

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

  • 12-Bit I2C ADS1015 4-Channel ADC Module with Programmable Gain Amplifier
    ₹550View
  • ESP32-WROOM-32 38-Pin Development Board
    ₹389View
  • Uno R3 Development Board (No Cable)
    ₹359View
  • Resistor Assortment Kit (30 Values)
    ₹33View
  • 0.96" OLED Display 128x64
    ₹139View
  • Dupont Jumper Wires (40 pcs)
    ₹49View
Shop Interface & RF Encoder ICs

Calculators

Voltage divider calculator

Projects that use it

Put this into practice: 7 step-by-step builds in our project library use parts from this guide.

Intermediate · 2 hours4G SMS door alarm with an ESP32 and an LTE modemView projectIntermediate · 3 hoursRead RS485 Modbus industrial sensors with an ESP32View projectIntermediate · 2 hoursFind hot spots and heat leaks with an MLX90640 thermal cameraView project
Browse all 7 projects

Keep learning

Component guideIntermediateADS1115 16-Bit ADC ModuleThe ADS1115 adds four precise 16-bit analog inputs to any board over I2C.3 min read · SensorsComponent guideIntermediateADC and DAC ModulesAn external ADC module gives a microcontroller more, better or cleaner analog inputs.3 min read · Semiconductors & ICsConcept explainerBeginnerADCs ExplainedAn analog-to-digital converter (ADC) measures a voltage and returns a number.4 min read · Electronics Fundamentals

Sources

  • ADS1015 12-bit ADC with PGA datasheet (Texas Instruments)
  • Adafruit ADS1X15 library documentation

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the ADS1015 module isADS1015 module pinoutWiring the ADS1015 moduleExample codeSetup and tuningWhat you needAlternatives and when to choose themTry itCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide (Arduino Uno)3 items · ₹1,004

12-Bit I2C ADS1015 4-Channel ADC Module with Programmable Gain Amplifier · Resistor Assortment Kit · Uno R3 CH340G ATmega328p Compatible Development Board

Run itChange the inputs and watch the output

GAIN_ONE reads 0 to 4.096 V in 2 mV steps (12 bit).

Serial monitor115200 baud
1.648 V  3.298 V  0.500 V  0.000 V  

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question