ホーム › フォーラム › Texas Instruments › センサー › TMP112のモードの仕様について
-
投稿者投稿
-
TMP112のモードの仕様について
デバイス型番:TMP112TIのTMP112の使用方法を変更しようと考えています。
制御の仕方が、今一つ分かりにくいので教えて頂きたいと存じます。現状は、連続変換モード(Continuos-Conversion Mode)です。
これを消費電流の抑制ため、1回変換(One-Shot/Conversion Ready Mode (OS))に替えたいと思います。
Configuration RegisterのOSビットを1に設定すればいいように思えますが、
どうもはっきりしません。一定時間後に再度1回変換を行うにはどうしたら
良いのでしょうか?SM様
ご投稿いただきありがとうございます。
ご質問の件に関して、One-Shot/Conversionの場合、OS bitに”1″が書き込まれた段階で変換が始まります。
そのため、一定時間毎に変換を行うためには、ご所望の期間でOS bitに”1″を書き込む必要があります。
以上、ご確認の程よろしくお願い致します。
QT
QT様
早速の回答有り難うございます。
1点確認察せて下さい
下記、データシートでは、センサがOS=1で測定開始し、測定中HはOS=0で
測定が終わると OS=1にするようにも読めます。(多分違うと思いますが念のため)
センサは OS=1を確認後でOS=0にするだけでしょうか?SThe TMP112 device features a one-shot temperature-measurement mode.
When the device is in shutdown mode, writing a 1 to the OS bit begins a single temperature conversion.
During the conversion, the OS bit reads 0.
The device returns to the SHUTDOWN state at the completion of the single conversion.
After the conversion,the OS bit reads 1.
This feature is useful for reducing power consumption in the TMP112 device when
continuous temperature monitoring is not required.
As a result of the short conversion time, the TMP112 device can achieve a higher conversion rate.
A single conversion typically occurs for 26 ms and a read can occur in less than 20 μs.
When using one-shot mode, 30 or more conversions per second are possible.SM様
ご投稿いただきありがとうございます。
ご認識の通り、変換後もOS bitは”1″となりますが、連続で変換する訳ではございません。
その状態で再度OS bitに”1″を書き込むことで、変換は始まります。
(上記”1″を書き込む前に”0″を書き込む必要もございません)
以上、ご確認の程よろしくお願い致します。
QT
-
投稿者投稿