ADS1015 Arduino read only 4095 on all channels

Hi,
I'm trying to test my ADS1015 board.
I used the pinout that can be found on several tutorials and shown in the attached pictures.

About the pin out I also tried with several combinations:

  1. I wired the SCL and SDA on the A5 and A4 AIs;
  2. I wired the SCL and SDA on the first two pins above the AREF of my arduino board.

About the power supply, I also tried to power the ADS1015 with:

  1. 3.5 V
  2. 5 V
  3. and with an external power suppply at 5 V and at 3.5 V (I also powered the arduino board with an external supply)

I used the test code from adafruit attached here below:

#include <Wire.h>
#include <Adafruit_ADS1015.h>

Adafruit_ADS1015 ads;
void setup(void)
{
Serial.begin(115200);
Serial.println("Hello!");
ads.begin();
}

void loop(void)
{
int16_t adc0, adc1, adc2, adc3;

adc0 = ads.readADC_SingleEnded(0);
adc1 = ads.readADC_SingleEnded(1);
adc2 = ads.readADC_SingleEnded(2);
adc3 = ads.readADC_SingleEnded(3);
Serial.print("AIN0: "); Serial.println(adc0);
Serial.print("AIN1: "); Serial.println(adc1);
Serial.print("AIN2: "); Serial.println(adc2);
Serial.print("AIN3: "); Serial.println(adc3);
Serial.println(" ");

delay(1000);
}

I also tested the continuity of the whole pinout with a digital multimeter (it was ok) and wired one of the AIs of the ADS1015 (I tried all of them) to a voltage divider in order to have 1.2 V (also measured with the multimeter).

Everything I do, what I read on serial monitor is 4095 for all of analog inputs of the code.

I cannot read 0V, if I put the AI wire on the GND either.

I also tried to change the baud rate from 9600 to 115200 but nothing happens anyway, also in this case I read the full scale.

Finally, I tried it with my nodeMCU v3 and the result is the same.

I can't understand what's wrong.
Does someone have any idea about that?

Really thank you in advance, every suggestion is really appreciated.

Maybe the answer is just my ADS1015 has been delivered already dead :).

pinout.pdf (151 KB)

Did you push the short pins of the pin-strips through the ADS board, and solder them.
So the long pins of the pin-strips are deep enough into the breadboard to make proper contact.

The SDA/SCL pins near Aref are the same (internally connected) as A4/A5 on an Uno.
Leo..

You right, it was just because the pins were not in contact with the board :sweat_smile: .

Now it's working properly.
Thank you.