N NIKITA PATEL New Member Jul 9, 2015 #1 NIKITA PATEL submitted a new article: Mplabx -I2C-Temperature sensor TMP102 - using pic24f16ka102 i2c interfacing temperature sensor TMP102 i got ack from the slave bt its not receivng right value of temperature.its receiving continously FF here is the code.....i need help... int main() { I2C1CONbits.GCEN = 1; TRISA=0; // SDA=0; // SCL=0; char y; // unsigned int data2,data1,data3; unsigned char data1,data2,data3; int data4,data5,data6; //while(1){ InitI2C(); //while(1){ I2C_Start(); // AckI2C1();// send start sequence y = I2C_Write_Byte(0x48);... Click to expand... Read more about this article...
NIKITA PATEL submitted a new article: Mplabx -I2C-Temperature sensor TMP102 - using pic24f16ka102 i2c interfacing temperature sensor TMP102 i got ack from the slave bt its not receivng right value of temperature.its receiving continously FF here is the code.....i need help... int main() { I2C1CONbits.GCEN = 1; TRISA=0; // SDA=0; // SCL=0; char y; // unsigned int data2,data1,data3; unsigned char data1,data2,data3; int data4,data5,data6; //while(1){ InitI2C(); //while(1){ I2C_Start(); // AckI2C1();// send start sequence y = I2C_Write_Byte(0x48);... Click to expand... Read more about this article...
Tony Stewart Well-Known Member Most Helpful Member Jul 11, 2015 #2 Bad links Signal integrity are key to sucess. Can you scope it? Use short lines and CM choke if necessary. Define /show layout. https://bildr.org/2011/01/tmp102-arduino/
Bad links Signal integrity are key to sucess. Can you scope it? Use short lines and CM choke if necessary. Define /show layout. https://bildr.org/2011/01/tmp102-arduino/
Willen Well-Known Member Jul 20, 2015 #3 <Off topic> Nikita is new here and just posted 1 message. Maybe she posted the first one message in wrong place, in the 'Article and Circuits' section, isn't it?
<Off topic> Nikita is new here and just posted 1 message. Maybe she posted the first one message in wrong place, in the 'Article and Circuits' section, isn't it?