Component guide · Intermediate · 3 min read
ADC and DAC Modules

ADS1115, MCP4725 and PCF8591
By Geekobot Learning Team · Updated 24 Oct 2026
On this page
An external ADC module gives a microcontroller more, better or cleaner analog inputs. The ADS1115 has four 16-bit inputs with a programmable gain amplifier and can measure differential signals. A DAC module such as the MCP4725 does the opposite, turning a number into a real analog voltage. Both use I2C, so they need only two wires and can share the bus with other sensors.
Key specs at a glance
- ADS1115
- 4 inputs (or 2 differential), 16-bit, up to 860 samples/s, I2C
- ADS1115 gain
- Full-scale ranges from ±6.144 V down to ±0.256 V
- MCP4725
- 1-channel 12-bit DAC, output up to the supply voltage, EEPROM for power-on value
- PCF8591
- 4 x 8-bit ADC plus 1 x 8-bit DAC, I2C
- Supply
- 2 to 5.5 V (ADS1115), 2.7 to 5.5 V (MCP4725)
- Addresses
- ADS1115: 0x48 to 0x4B via ADDR pin; MCP4725: often 0x60 or 0x62
Why add an external ADC
The Arduino Uno's built-in ADC is 10-bit (about 4.9 mV steps at 5 V) and the ESP32's is non-linear near the ends of its range. An ADS1115 gives 16-bit readings, a stable internal reference and a gain setting that zooms in on small signals, which makes it a good fit for load cells without an HX711, current shunts, thermocouple amplifiers, battery monitoring and pH probes.
Its differential mode measures the voltage between two inputs, which cancels noise shared by both wires. Inputs must still stay between GND and VDD (plus a small margin); the gain setting does not let you measure higher voltages, it only sets the scale.
Reading an ADS1115
Wire VDD, GND, SDA and SCL; tie ADDR to GND for address 0x48.
#include <Adafruit_ADS1X15.h>
Adafruit_ADS1115 ads;
void setup() {
Serial.begin(115200);
ads.setGain(GAIN_ONE); // +/-4.096 V full scale, 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.println(ads.computeVolts(raw), 4);
delay(500);
}DAC modules
A DAC gives a true analog voltage, unlike PWM, which only averages to one. Use an MCP4725 to set a reference for a comparator, generate a slow waveform, control a voltage-input motor speed controller (through an op-amp if it needs 0 to 10 V), or test ADC inputs. Its output can supply only a small current, so buffer it for any load. The ESP32 has two 8-bit DACs built in on the original chip, but not on the S3.
Try it: ADC resolution calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Expecting the gain setting to measure voltages above VDD.
- Driving a load directly from a DAC output.
- Two modules on the same I2C address.
- Leaving unused ADS1115 inputs floating in differential mode.
- Using the highest gain on a signal that exceeds the range.
Frequently asked questions
Is the ADS1115 better than the Arduino ADC?
For precision, yes: 16 bits, programmable gain and differential inputs. It is slower and needs I2C.
Can the ADS1115 read negative voltages?
Only as a difference between two inputs. Each pin must stay between GND and VDD.
How many ADS1115 can share one bus?
Four, using addresses 0x48 to 0x4B set by the ADDR pin.
What is the MCP4725 used for?
Producing a steady analog voltage from a microcontroller, such as a reference or control signal.
ADS1115 or HX711 for a load cell?
The HX711 is cheaper and made for it; the ADS1115 is more flexible for other signals.
Parts for this guide
Calculators
Terms in 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.



