http://wiki.paparazziuav.org/w/index.php?title=Module/TI_TMP102&feed=atom&action=history
Module/TI TMP102 - Revision history
2024-03-29T09:28:50Z
Revision history for this page on the wiki
MediaWiki 1.37.1
http://wiki.paparazziuav.org/w/index.php?title=Module/TI_TMP102&diff=14547&oldid=prev
Martinmm: Created page with "__NOTOC__ TI TMP102 ==Overview== The Texas Instruments TMP102 is a small and affordable temperature sensor. {|border="1" |-valign="top" ||Modul…"
2013-03-10T16:18:56Z
<p>Created page with "__NOTOC__ <a href="/w/index.php?title=File:Tmp102.jpg&action=edit&redlink=1" class="new" title="File:Tmp102.jpg (page does not exist)">thumb|right|TI TMP102</a> ==Overview== The Texas Instruments TMP102 is a small and affordable temperature sensor. {|border="1" |-valign="top" ||Modul…"</p>
<p><b>New page</b></p><div>__NOTOC__<br />
[[Image:Tmp102.jpg|thumb|right|TI TMP102]]<br />
==Overview==<br />
<br />
The Texas Instruments TMP102 is a small and affordable temperature sensor.<br />
<br />
{|border="1"<br />
|-valign="top"<br />
||Module name||meteo/temp_tmp102<br />
|-<br />
|Sensor type<br />
|temperature<br />
|-<br />
|Range<br />
| -40°C .. +125°C<br />
|-<br />
|Resolution<br />
|0.0625°C<br />
|-<br />
|Refresh rate<br />
|8Hz<br />
|-<br />
|I2C address<br />
|0x90<br />
|}<br />
<br />
[http://www.ti.com/product/tmp102 TI product home page]<br />
<br />
==Hardware==<br />
The TMP102 can be directly interfaced to the Paparazzi autpilot 3.3V I2C interfaces.<br />
<br />
Supplier:<br />
[http://www.sparkfun.com/products/9418 Sparkfun]<br />
<br />
=== Wiring ===<br />
{|border="1"<br />
|-valign="top"<br />
||'''Autopilot I2C pin'''||'''Autopilot I2C'''||'''TMP102'''<br />
|-<br />
|1<br />
|GND<br />
|GND<br />
|-<br />
|2<br />
|<br />
|<br />
|-<br />
|3<br />
| +3.3V<br />
|V+<br />
|-<br />
|4<br />
|SDA<br />
|SDA<br />
|-<br />
|5<br />
|SCL<br />
|SCL<br />
|}<br />
<br />
<br />
==Usage==<br />
<br />
To use the temperature sensor add the module to your airframe file.<br />
{{Box Code|conf/airframes/myplane.xml|<br />
<source lang="xml"><br />
<modules><br />
<load name="temp_tmp102.xml"/><br />
</modules><br />
</source><br />
}}<br />
<br />
<br />
===Result message===<br />
<br />
The raw data (itemp) and the converted result (temp) is written to the log file. The message is automatically sent when new data is received, it does not have to be added to the telemetry file.<br />
{{Box Code|conf/messages.xml|<br />
<source lang="xml"><br />
<message name="TMP_STATUS" id="86"><br />
<field name="itemp" type="uint16"/><br />
<field name="temp" type="float" unit="deg_celsius" format="%.2f"/><br />
</message><br />
</source><br />
}}<br />
<br />
<br />
Sample log file lines<br />
23.909 123 TMP_STATUS 338 21.12<br />
23.909 123 TMP_STATUS 337 21.06<br />
23.909 123 TMP_STATUS 336 21.<br />
23.909 123 TMP_STATUS 334 20.88<br />
<br />
[[Category:User_Documentation]] [[Category:Modules]]</div>
Martinmm