ラズベリーパイを使ってみる – 温度センサLM35で温度測定→そのままでは無理っぽい –

スポンサーリンク

コンテンツ

LM35って?

1個100円で秋月電子さんで売っている、温度センサです。
高精度IC温度センサ LM35DZ: センサ一般 秋月電子通商 電子部品 ネット通販
これをRaspberry Piにつけて温度測定できたら1個100円と部品だけで温度測定ができてなんとも安価な測定システムが出来るよ!と思って調べてみた。

そのままでは無理っぽい

色々見ると
Raspberry Pi • View topic – GPIO setup for LM35 temperature sensor

You’ll need an analogue to digital convertor for that.

Simple ADC with the Raspberry Pi | We Saw a Chicken …

The device I’m testing here is an MCP3008 10-bit Analogue-to-Digital Converter (ADC).

The sensor I’m reading is the astonishingly dull LM35DZ temperature sensor. All the cool kids seem to be using TMP36s (as they can read temperatures below freezing without a negative supply voltage). One day I’ll show them all and use a LM135 direct Kelvin sensor, but not yet.

LM35DZという、LM35の親戚みたいなのは動くよ。ただしMCP3008っていうD/A変換コンバータを使ってるよ

Raspberry Pi • View topic – GPIO Analog pins?
ざっと調べた感じだと
・LM35はアナログのGPIOが必要
・GPIOにはアナログのものとデジタルのものがあって、ラズベリーパイのGPIOはデジタルだけ
・arduinoはアナログ/デジタル両方装備
・ラズベリーパイでもD/A変換機(デジタル/アナログ変換機)があれば使えるかも
→結果、ラズベリーパイのGPIOはデジタルだけなので、それだけではアナログが必要なLM35は無理らしい
です。あくまで適当な翻訳

結論:

単独では無理。

USBにさすだけで温度測定できるTEMPer980円は以外と安いのかもしれない
USB温度計! USB thermometer
USB温度計! USB thermometer