Pin connection for i2c communication with BQ25622

can any one help me to interface BQ25622 with arduino uno which pin used from BQ25622 where to connect.

Default I2C pins...
SDA / A4
SCL / A5

Hi,
Looking at your other thread.
What controller do you really want to use UNO or ESP32?

Lets use one thread for your project.

Tom.... :smiley: :+1: :coffee: :australia:

sure , lets first confirm with arduino uno then i will port in esp32 my own

hello @kmin and others here in below i attach my hardware design can u confirm it any extra pin except the sda and scl need to be used then inform me please.

Hi,
Where in your schematic is the UNO?

I'm glad you put current limit resistors in the status LEDs, the datasheet just shows an N-CH MOSFET in the IC to GND, the suggested circuit doesn't have any resistors.

Tom.... :smiley: :+1: :coffee: :australia:

GND for sure.
Maybe you wish to use some others as well. The datasheet has good description of features.

Hi,
This will help.

Can you please tell us your electronics, programming, arduino, hardware experience?

Tom.... :smiley: :+1: :coffee: :australia:

hello @TomGeorge , i already connected sda and scl by 10kohm pullup i try to run scanning code but my ic(BQ25622) not detected.

#include <Wire.h>
void setup()
{
  Wire.begin();
  Serial.begin(115200);
  while (!Serial);  
}
void loop()
{
  byte error, address;
  int nDevices;
  Serial.println("Scanning...");
  nDevices = 0;
  for(address = 1; address < 127; address++ ) 
  {
    // The i2c_scanner uses the return value of
    // the Write.endTransmisstion to see if
    // a device did acknowledge to the 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("  !");

      nDevices++;
    }
    else if (error==4) 
    {
      Serial.print("Unknown error at address 0x");
      if (address<16) 
        Serial.print("0");
      Serial.println(address,HEX);
    }    
  }
  if (nDevices == 0)
    Serial.println("No I2C devices found\n");
  else
    Serial.println("done\n");
  delay(5000);           // wait 5 seconds for next scan
}


output :
<
Scanning...
No I2C devices found

Scanning...
No I2C devices found

Scanning...
No I2C devices found
>

Hi,
What controller are you using?
If its a UNO, then use 4K7 pullups to 5V.

Is the 25622 powered up?

Tom.... :smiley: :+1: :coffee: :australia:

Are you using the Arduino UNO?
Are the I2C pins of the BQ25622 5-V tolerant?