Free tools Windows power users keep installed
One-click scans. No signup required.
Yes, the ADS1115 can return negative readings when it measures a negative difference between two inputs. No, that does not mean you can connect a voltage below the ADC’s ground pin directly to an analog input. In differential mode it reports AINP − AINN, so both pins can be above ground while the result is negative. A truly below-ground signal must be level-shifted or handled by a circuit designed for bipolar inputs.
First identify what “negative” means in your circuit
Three situations are often confused:
- Negative differential voltage: AINP is lower than AINN, so AINP − AINN is negative. This is supported when each pin remains within its permitted voltage range.
- Negative voltage relative to ground: an input pin is below the ADS1115 GND pin. A normal single-supply ADS1115 circuit cannot accept this directly.
- A sensor described as bipolar: the sensor may produce positive and negative values, but its output might already be biased above ground. Check the actual voltage at each ADC pin, not just the sensor’s stated signal range.
For example, AINP = 2.0 V and AINN = 3.0 V produces a −1.0 V differential result while both physical inputs are positive. By contrast, connecting −2.5 V to AIN0 relative to GND is an out-of-range input on a normal single-supply setup. TI’s ADS1115 datasheet describes the differential operation and the input-voltage constraints.
How differential readings become negative
The ADC subtracts the negative input from the positive input:
VIN = VAINP − VAINN
| AINP | AINN | Measured difference |
|---|---|---|
| 3.0 V | 2.0 V | +1.0 V |
| 2.0 V | 3.0 V | −1.0 V |
| 2.5 V | 2.5 V | 0 V |
| 0.2 V | 0.8 V | −0.6 V |
The sign is determined by the order of subtraction. The ADS1115 provides four differential pair selections: AIN0 − AIN1, AIN0 − AIN3, AIN1 − AIN3, and AIN2 − AIN3. The other input modes measure AIN0, AIN1, AIN2, or AIN3 relative to GND.
Do these 3 things before closing this tab:
1Fix the driver behind crashes, sound loss and screen glitches2Clear out junk files and repair common Windows errors3Scan for outdated or missing drivers - takes under a minute#1 Best Overall
- Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
- Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
- Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
- Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
- 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
In single-ended mode, an ordinary input is measured from 0 V toward the positive supply, subject to the selected range and supply-related limits. It is not the mode for measuring a signal that crosses below ground or for reporting the sign of the difference between two pins. A small negative code near zero can occur because of device offset; that is not a usable negative single-ended range.
Wire the inputs and choose the correct library call
For a differential measurement, connect the two signal nodes to one of the supported pairs and make sure both pin voltages are legal relative to the ADS1115’s ground and supply. A negative result means the pin named first in the pair is lower than the second. If using AIN3 as a shared comparison point, remember that this does not remove the individual input-voltage limits or provide the same common-mode noise rejection as a conventional differential measurement.
With the Adafruit ADS1X15 library, the differential functions include readADC_Differential_0_1(), readADC_Differential_0_3(), readADC_Differential_1_3(), and readADC_Differential_2_3(). The library documents these as signed readings. Its ADS1115 API reference describes the calls and computeVolts() method.
A single-ended call such as readADC_SingleEnded(0) reads AIN0 relative to ground; it does not substitute for a differential reading.
Recommended Free Tools
Rank #2
- 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
- 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
- Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
- 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
- What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
Arduino example: read a signed differential value
#include <Wire.h>
#include <Adafruit_ADS1X15.h>
Adafruit_ADS1115 ads;
void setup() {
Serial.begin(115200);
if (!ads.begin()) {
Serial.println("ADS1115 not found");
while (1) {
delay(10);
}
}
ads.setGain(GAIN_ONE); // ±4.096 V nominal PGA range
}
void loop() {
int16_t counts = ads.readADC_Differential_0_1();
float volts = ads.computeVolts(counts);
Serial.print("Signed counts: ");
Serial.print(counts);
Serial.print(" Differential voltage: ");
Serial.print(volts, 6);
Serial.println(" V");
delay(250);
}
The example uses AIN0 − AIN1. If the displayed sign is opposite to the intended polarity, verify which signal is connected to each pin before changing the code. Swapping the pair reverses the sign; negating the result in software is appropriate only when it matches the intended definition of positive.
Interpret raw conversion data as signed two’s complement
The conversion register is a 16-bit two’s-complement value. If a library returns a negative differential result as a large positive number, the raw word may have been kept unsigned or not sign-extended correctly.
| Raw 16-bit word | Signed value |
|---|---|
0x0000 |
0 |
0x0001 |
+1 |
0xFFFF |
−1 |
0xFFFE |
−2 |
0x7FFF |
+32767 |
0x8000 |
−32768 |
For manually read I²C bytes in Arduino C++, combine the bytes and cast the result to a signed 16-bit type:
uint16_t rawWord = (uint16_t(highByte) << 8) | lowByte;
int16_t signedCounts = (int16_t)rawWord;
Use int16_t for the signed count rather than uint16_t. The ADS1115 uses two’s complement, not one’s complement.
Rank #3
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
Convert counts to volts and select the PGA range
For the ADS1115, the nominal least-significant-bit size is the selected full-scale range (FSR) divided by 216. Multiply the signed count by that LSB size to get the measured differential voltage. The Adafruit library’s computeVolts(counts) uses the selected gain setting.
| Nominal PGA range | Nominal LSB size |
|---|---|
| ±6.144 V | 187.5 µV |
| ±4.096 V | 125 µV |
| ±2.048 V | 62.5 µV |
| ±1.024 V | 31.25 µV |
| ±0.512 V | 15.625 µV |
| ±0.256 V | 7.8125 µV |
For example, at the ±4.096 V setting, a count of −800 corresponds nominally to −800 × 125 µV = −0.100 V. At the ±2.048 V setting, −16,000 counts corresponds nominally to −1.000 V. Use the selected PGA range for this calculation, not VDD alone; TI specifies the FSR values in its datasheet.
Choose the narrowest range that safely contains the largest expected differential signal, allowing room for offset, tolerances, transients, and overshoot. Illustrative choices are ±0.256 V for a signal up to about ±100 mV, ±0.512 V for about ±400 mV, ±2.048 V for about ±1.5 V, and ±4.096 V for about ±3 V. These are range-selection examples, not guarantees about the input pins.
The ±6.144 V setting is a PGA scaling range, not permission to drive an input pin to 6.144 V. For a 3.3 V-powered part, selecting ±4.096 V does not make 4.096 V a safe input voltage; the supply-related pin limits still apply. The ADS1115 itself operates from 2.0 V to 5.5 V, and TI lists a maximum data rate of 860 samples per second on its product page.
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Rank #4
- Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
- Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
- Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
- Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
- Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
Check differential range and each pin’s voltage separately
A valid differential reading requires more than a difference inside the chosen FSR. Check all of the following:
- The AINP − AINN difference fits inside the selected PGA range.
- Each analog input stays within the device’s permitted voltage range relative to GND and VDD.
- The circuit’s common-mode voltage is suitable for the ADC and for any connected amplifier or sensor.
- Neither input is driven below ground or excessively above the positive rail.
This matters for current-shunt measurements: the voltage across the shunt may be only a few millivolts, but both shunt terminals can sit at a much higher common-mode voltage. A small differential voltage does not make an excessive pin voltage safe. TI warns that extended exposure to input voltages roughly 300 mV beyond the supply rails can damage the device and discusses current limiting for overvoltage protection in the datasheet.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Measure a signal that genuinely goes below ground
For a sensor output of −2.5 V to +2.5 V relative to system ground, do not connect the bipolar signal directly to a single-supply ADS1115 input. First translate it into the ADC’s legal input range.
Bias or level-shift the signal
One possible transformation in a 5 V system is to shift −2.5 V to +2.5 V into 0 V to 5 V. The software then removes the offset: originalVoltage = measuredBiasedVoltage − 2.5 V. A midpoint can come from a divider, reference, or level-shifting amplifier. A divider may be adequate in some circuits, but buffer the bias when source impedance, loading, or accuracy makes its voltage unstable. Adafruit’s signal-connection guidance likewise says inputs must stay between ground and VCC and describes offsetting negative sources.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Best Value
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
Use a differential or instrumentation amplifier
An amplifier stage can shift and scale the bipolar signal while keeping the ADC pins in range. This is often preferable when the source impedance is high, the signal has a substantial common-mode component, or noise rejection and accuracy matter. Check the amplifier’s supply, input common-mode range, output swing, offset, and noise against the full circuit; not every amplifier can produce the desired range on the available supply.
Choose a bipolar-input converter or suitable supply architecture
If the application requires direct negative input voltages, select an ADC and analog front end designed for that requirement, or design an appropriate negative-supply circuit. A signed differential result alone does not make the ADS1115 a bipolar-input ADC. TI’s support response on negative-voltage inputs makes this distinction; the datasheet remains the primary source for device limits.
Troubleshoot unexpected readings
| Symptom | What to check | What to do |
|---|---|---|
| Reading is always positive | Are you using a single-ended function, measuring only relative to ground, or using the wrong AINP/AINN order? | Use the intended differential pair and confirm its subtraction order. |
| Negative value appears as a huge positive integer | Is the conversion word stored as unsigned or missing sign extension? | Use int16_t or explicitly interpret the 16-bit word as two’s complement. |
| Reading becomes zero for a negative input | Was a below-ground signal connected directly in single-ended mode? | Do not treat zero as a valid measurement. Disconnect the out-of-range signal and add suitable conditioning or use a bipolar-capable input circuit. |
| Sign is backwards | The selected function reports AINP − AINN; are the input wires in the expected order? | Swap the pair or apply a documented software sign reversal after confirming polarity. |
| Reading clips near a limit | Check the PGA range, actual differential voltage, transients, supply-limited pin range, and common-mode voltage. | Choose an appropriate range and bring every input within its legal voltage limits. TI specifies clipping at 7FFFh for positive overrange and 8000h for negative overrange. |
| Noisy readings near zero | Consider signal size relative to ADC offset and noise, PGA range, source impedance, wiring, common-mode stability, and data rate. | Try a narrower FSR, shorter or differential wiring, appropriate input filtering, a buffer for high source impedance, or a lower data rate where latency allows. Averaging should not conceal clipping or instability. |
Do not test an out-of-range negative source by connecting it directly and relying on the ADC to clamp it. For protection against unexpected transients, design current limiting and other input protection around the datasheet limits and the circuit’s required accuracy.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

