I2C Commnication set-up guide, Uno , 4Array IR Thermopile Sensor

At the beginning, i am not good at english.

Hello.

i want to read thermopile(which is 4-array ir sensor and using I2C) data using arduino uno.
but. i couldn't...

The information of this sensor is right this.

adress : 0x34

Commands : 0xB1(1st Pixcel), B3 (2nd Pixcel), B6 (3rd Pixcel), B8(4th Pixcel)

of course, i put the 10k pull-up registor as parallel at SCL, SCK

even i read pixcel 1, i skecthed code just below.
But. it did not operation.

is there anyone who can solve this problem?

#include <Wire.h>

#define ADDRESS 0x34  // Arduino uses 7 bit addressing so we shift address right one bit
#define Commanad_PIX1 0xB1
#define Commanad_PIX2 0xB3


byte Temparature_pix1_High = 0;              // High and low byte of distance
byte Temparature_pix1_Low = 0;              // High and low byte of distance

int Temperature_Pix1 = 0;


void setup()
{
    // Start comms
  Serial.begin(19200);
  Serial.print("Temperature Detection ");
  Wire.begin();  //i2c connection as master

  delay(50);  // Delay so everything can power up
  
  // Read the sift bit register from the module, used in calculating range


}

void loop()
{

  Wire.beginTransmission(ADDRESS);
  Wire.write(Commanad_PIX1);
  Wire.endTransmission();
   delay(50);  // Delay so everything can power up



  Wire.requestFrom(ADDRESS, 2);
    Wire.endTransmission();
  
  Temparature_pix1_Low = Wire.read();
  Temparature_pix1_High = Wire.read();
  
  Temperature_Pix1 = (Temparature_pix1_High * 256 + Temparature_pix1_Low)/10; // Calculate the range in CM
  
  Serial.print("Temperature is ");
  Serial.print(Temperature_Pix1);
  Serial.println("o C");
  
  delay(50);
}

Hi rirkcka

Can you post a link to a datasheet for the sensor you are using?

Also, try running the I2C scanner sketch from here: Arduino/sketches/MultiSpeedI2CScanner at master · RobTillaart/Arduino · GitHub

This will check out basic communication with your sensor and confirm its address.

Regards

Ray

Please post a link to the datasheet to your sensor.

Well.
it's quite differnt example.
this sensor need to give command and address.
i gave these information but. it did not operate.
i saw communication wave form about SDA,SCL using osilloscope.
i think the wave form is correct..
but.. no anwer on monitoring window.
and.. i have no data sheet. i could't get that.
i just some information about sensor.

Don't change the scanner program. It will discover any I2C devices that are properly connected to the bus and report their addresses.

Can you please post the output of the scanner program (copy and paste).

EDIT Just saw that you don't have a datasheet. Does the sensor have a part number? Can you please post a picture of it.

very thanks.
i can't confirm today. i aleady leave the office.
anyway. i will check.
you are right..
maybe. i have to check address, at first.