I am currently using a logic converter which converts 5V to 1.8V on a new sensor. I don't believe I have burnt this sensor out with such little voltage.
What kind of things should I check for to fix this kind of error?
If that's correct, you missed the level converter. And I would like to see where exactly you connected the different signal on the Arduino.
If you wired according to the schematics you posted the I2C address is 0x0d and not 0x0c as you used it. Did you try an I2C scanner sketch on your setup?
@aapatil, to be able to help you, we really have to know the circuit. You can write it on a piece of paper and make a photo of it.
Do you also use a level shifter for ODINT ?
Where is the 1.8V coming from ?
Is the 1.8V also connected to the "LV" of the level shifter ?
How long are the wires of SDA and SCL ?
Do you use a breadboard (with bad contacts) ?
I can post my circuit tomorrow morning if it is still relevant; however, for the time being, I have switched to an Arduino Pro Mini 3.3V and have connected the sensor to the arduino exactly as the wiring diagram indicated. I now continue to get 2 from endTransmission. What kinds of things should I be checking to fix for this kind of error (besides incorrect wiring and incorrect address)?
If you have a working I2CLCD, check it with your Arduino and observed that you have got 0 (zero) on the Serial Monitor after the execution of the following codes. This will ensure that the I2C Bus at the Arduino side is OK?
dor
{
Wire.beginTransmission(slaveAddress); //0x27 or 0x3F
busStatus = Wire.endTransmission();
}
while(busStatus != 0x00);
Serial.println("I2CLCD is Present....!");
I had the Mega2560 from before and connected it to the Pro Mini with the level converter in between and used this arduino tutorial: https://www.arduino.cc/en/Tutorial/MasterReader. I2C worked for this.
I now continue to get 2 from endTransmission. What kinds of things should I be checking to fix for this kind of error (besides incorrect wiring and incorrect address)?
Error two means a missing ACK after sending the I2C address of the slave. Besides the two reasons above I only see that you fried your sensor.