Page 1 of 1

Interfacing using I2C ADC with RPi B+

Posted: Wed Jan 21, 2015 3:14 pm
by pkulik
Hey

I have an issue with interfacing the 16Bit I2C ADC+PGA ADS1115 with the RPI B+. Does anyone know what drivers are necessary for this device? Are there just standard I2C drivers?

Thanks,
Peter

Re: Interfacing using I2C ADC with RPi B+

Posted: Wed Jan 21, 2015 9:55 pm
by hampi
The Adafruit seems to have some Python code. C code should not be that difficult either. Basically writing bytes to and reading bytes from the character device /dev/i2c-1 (or /dev/i2c-0 in old models). But you need to read the ADS1115 datasheet first to understand how the data is presented at bit level.