chipKIT® Development Platform

Inspired by Arduino™

Adafruit ADS1015 and uno32

Created Tue, 27 May 2014 12:49:18 +0000 by fleatech


Tue, 27 May 2014 12:49:18 +0000

Has anyone been able to get the Adafruit ADS1015 communicating with the uno32 via I2C bus. I've bee trying for about 3 hours with no luck, always reads back 0. Jumpers set on uno32 as required. power is connected as required. Using ADS1015 example code for single ended mode as supplied by Adafruit. Using standard "Wire" interface. Any suggestions would be welcome.



Tue, 27 May 2014 12:56:49 +0000

Do you have the required pullup resistors on your I2C bus?


Wed, 28 May 2014 03:04:50 +0000

The ADS1015 board has 10k pullup resistors...


Thu, 29 May 2014 00:02:49 +0000

I have scoped the SDA and SCL lines and there is activity. Although no change in the serial pattern is evident. May have to dig into the code supplied by Adafruit, not looking forward to that, very rusty on the cpp experience.

Are there any gothchas on the I2C bus on the PIC32 devices...

PS: The modules work fine with a standard arduino via I2C

Jacob Christ

Thu, 29 May 2014 07:24:18 +0000

The library looks very well writen (unlike some Arduino libs) and should work. There is one thing that caught my eye and wonder if its implementation on chipKIT is working?

static uint16_t readRegister(uint8_t i2cAddress, uint8_t reg)
Wire.requestFrom(i2cAddress, (uint8_t)2);  
return ((i2cread() << 8) | i2cread());