Skip to content

ADS1115 — 16-bit ADC

I2C address 0x48 (ADDR to GND). Four single-ended or differential inputs.

Connect and read

from eyes17 import eyes
from eyes17.SENSORS import ADS1115

p = eyes.open()
adc = ADS1115.connect(p.I2C)
print(adc.getRaw())   # [voltage]

Typical helpers (names follow the module): single-ended channel reads and gain / data-rate setters via the params dictionary used by the GUI.

# Unipolar channel 0 (when using lower-level API in older examples)
print(adc.readADC_SingleEnded(0))

Wiring: SDA, SCL, 5 V (or 3.3 V per module), GND to ExpEYES/SEELab I2C header.