pkulik
Posts: 6
Joined: Mon Jan 12, 2015 5:00 pm

Interfacing using I2C ADC with RPi B+

Wed Jan 21, 2015 3:14 pm

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

hampi
Posts: 223
Joined: Fri May 31, 2013 11:29 am
Contact: Website

Re: Interfacing using I2C ADC with RPi B+

Wed Jan 21, 2015 9:55 pm

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.

Return to “Interfacing (DSI, CSI, I2C, etc.)”