Using TMP102 sensor utilizing I2C with LPC1768

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Using TMP102 sensor utilizing I2C with LPC1768

715件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by varun on Thu Apr 25 16:20:24 MST 2013
Hello,

I'm using TMP102 using I2C0 with the LPC1768. I'm having a hard time in reading the values from the sensors. any help would be really appreciated.  Has anyone ever used this setup before.
0 件の賞賛
返信
1 返信

671件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by cfb on Fri Apr 26 01:30:13 MST 2013
Yes. We've published an example written in Oberon at:

http://www.astrobe.com/forum/viewtopic.php?f=9&t=202

What exactly are you having difficulty with? The only tricky bit we found was converting the 12-bit values to the corresponding floating point value. See the procedure DataToDegrees for details. This could easily be converted to C if that is what you are using.

Also the example uses the I2C1 bus but changing it to I2C0 would be a straightforward task.
0 件の賞賛
返信