Programming Temperature Sensor in I2C
Posted: Mon Apr 13, 2015 12:26 am
I am trying to program an ADT7410, a 16-bit temperature sensor, on a PIC16F887. Unfortnatly, the datasheet is vague to me and I haven't found any good guides our libraries.
(Datasheet: http://www.analog.com/media/en/technica ... DT7410.pdf)
I am pretty sure the first set of I2C instructions that I write are 0x48, 0x00, and 0x03, but I don't know what 'read' addresses to send after that. Any help would be greatly appriciated.
FWIW, I also know that eventually I will have to use math to convert the measure into degrees Celsius. I'm sure I can figure that part on my own.
(Datasheet: http://www.analog.com/media/en/technica ... DT7410.pdf)
I am pretty sure the first set of I2C instructions that I write are 0x48, 0x00, and 0x03, but I don't know what 'read' addresses to send after that. Any help would be greatly appriciated.
FWIW, I also know that eventually I will have to use math to convert the measure into degrees Celsius. I'm sure I can figure that part on my own.