NDC 4-20ma board cannot find i2c address

I bought this board: 2-Channel 4-20 mA Current Loop Receiver 16-Bit ADS1115 I2C Mini Module
https://store.ncd.io/product/2-channel-4-20-ma-current-loop-receiver-16-bit-ads1115-i2c-mini-module/

trying to use it with an ESP32 board. I used this booster between the ESP32 and the NCD board so it would get the 5v required (and confirmed it was getting 5v on the +5v pin and gnd

Adafruit QT 3V to 5V Level Booster Breakout Product ID: 5649 Adafruit QT 3V to 5V Level Booster Breakout - STEMMA QT / Qwiic : ID 5649 : $2.95 : Adafruit Industries, Unique & fun DIY electronics and kits

when I startup my esp32 I have a scan i2c bus in setup it does not find the device. I also attached another i2c device on the NCD board and it found that. I have tried the pullup and address jumpers on the NCD with no luck (and could not find any doc on them)


, thoughts ?

Update, i wired up a uno 5v board and a i2c scan routine , it could find it on x48 or x49 depending on the addr jumper, not sure why the esp32 cannot see this board ?

I would be sure to check wiring to SCL and SDA.

I have the same problem , used ncd library and adafruit . Esp32 cant see ads1115 … did you end up figuring it out ?

can you share the i2c scan code ?

Hi Anil,

void setup()
{
Serial.begin(115200);
while (!Serial);

Serial.println(“I2C Scanner”);

Wire.begin();

scanI2C();
}

void loop()
{
}

void scanI2C()
{
byte error, address;
int devices = 0;

Serial.println(“Scanning…”);

for (address = 1; address < 127; address++)
{
Wire.beginTransmission(address);
error = Wire.endTransmission();

if (error == 0)
{
  Serial.print("I2C device found at address 0x");
  if (address < 16)
    Serial.print("0");
  Serial.print(address, HEX);
  Serial.println("  !");

  devices++;
}
else if (error == 4)
{
  Serial.print("Unknown error at address 0x");
  if (address < 16)
    Serial.print("0");
  Serial.println(address, HEX);
}

}

if (devices == 0)
Serial.println(“No I2C devices found\n”);
else
Serial.println(“Scanning finished\n”);
}

can you try this


#include <Wire.h>
  byte count = 0;
void scan()
{
  Serial.println ("I2C scanner. Scanning ...");
    for (byte i = 1; i < 120; i++)
  {
    Wire.beginTransmission (i);
    if (Wire.endTransmission () == 0)
      {
      Serial.print ("Found address: ");
      Serial.print (i, DEC);
      Serial.print (" (0x");
      Serial.print (i, HEX);
      Serial.println (")");
      count++;
      delay (1);  
      } 
  } 
  Serial.print ("There is/are ");
  Serial.print (count, DEC);
  Serial.println (" device(s).");
  count=0;
} 

void setup() {
 Serial.begin (9600);
 Serial.println ();
 
  Serial.println ("I2C scanner. Scanning ...");

  
  Wire.begin();
//  for (byte i = 1; i < 120; i++)
//  {
//    Wire.beginTransmission (i);
//    if (Wire.endTransmission () == 0)
//      {
//      Serial.print ("Found address: ");
//      Serial.print (i, DEC);
//      Serial.print (" (0x");
//      Serial.print (i, HEX);
//      Serial.println (")");
//      count++;
//      delay (1);  
//      } 
//  } 
//  Serial.print ("There is/are ");
//  Serial.print (count, DEC);
//  Serial.println (" device(s).");
}  

void loop() {

  scan();
  delay(5000);
    }

Hi Anil,
its the same :
I2C scanner. Scanning …

There is/are 0 device(s).

I2C scanner. Scanning …

There is/are 0 device(s).

I2C scanner. Scanning …

There is/are 0 device(s).

I2C scanner. Scanning …

There is/are 0 device(s).

what could it be ?

can you attach a picture of your setup here ?

I even changed the cabling between the esp32 and the ADC

have you tried this i2c board with any other arduino or i2c master device ?

Anil, prior to submitting an order i consulted with you guys and i went for the exact recommendation. I presume you test on esp32 you sell …
Do you ?

Yes, we do unit testing and ship out each order before testing
This is a straight forward setup and as far hardware connection goes it looks correct

Please Anil , Can you do a quick test on same setup i have ( h/w , sfw ) , so i dont waste time and go for extra unecessary orders …

@zach test this asap please

1 Like

I just tested the same setup here at my desk using my I2C bus scan code. It found the device at address 72 so there are no compatibility issues.

Thanks for the test , are you willing to share the scan code ?

It is the same SCAN code Bhaskar posted earlier in this thread.

@Bhaskar , in this case , can i conclude i ve received a defected board ?

@alain.kazan we would be happy to take a look if you would like to send the boards back for evaluation. You can complete an RMA form here: