Strawberry Linux Co.,Ltd.さんが販売しているUSB温度・湿度測定モジュール(以下、USBRH)を*BSDで使おうというページです。 重要 このプログラムで行っているデバイスの制御方法は、私が独自に調査したものです。この件に対して、Strawberry Linuxさんへ問い合わせなどを行うことは「絶対に」しないでください。 USB温度・湿度測定モジュールって? Strawberry Linuxさんが販売している、USB接続の温度・湿度測定モジュールです。組み立て済みのものとキット(自分ではんだ付けする)があります。上の写真のように、ケース等はなく基板むき出しの形で販売されています。温度・湿度センサとして、Sensirion社のSHT11が使われています。 残念ながら、Strawberry LinuxさんからはWindowsのDLLしか公開されていないため、*BSDで使
この連載では、温度、湿度が測定でき、2線式シリアル・インターフェースで測定値が読み出せるSENSIRION社のディジタル温・湿度センサのSHT11について、機能や使用方法などを説明します。このセンサの価格は2,200円(2007/11現在)で、湿度も測定できることから安価なデバイスだと思います。 今回はホスト・コントローラとしてPICを使ったマイコン・ボードで動作させる予定ですが、いうまでもなくPIC以外のマイコンでも制御可能です。 SHT11の2線式シリアル・インターフェースは、同期用のシリアル・クロックSCKとシリアル・データDATAの2線で制御できます。2線式というとI2Cかと思われるでしょうが、通信の手順やアドレスの指定方法などは異なっていて、残念ながらI2Cとはまったく互換性はありません。
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く