603 文字
3 分
AirPi Kit v1.4 - Raspberry Pi weather station shield

概要
Gigazineでも紹介されている、2013年12月からずっと待ちに待ったAirPiが届いたので、作りました。
AirPiは、Raspberry PiのI/Oにあわせて作られた気象センサー(Weather Station)です。
Weather Stationがこの値段で手に入るのはかなりお得です。普通、3万とか4万とかしちゃうので。しかも、Raspberry Piでデータが取れるのでLinux上でプログラミング言語を使用してデータの加工が可能になります。
緑のLEDを手元にあった、青色LEDに交換してあります。
実装自体は1時間ぐらいで終わります。
実験
以下、実行例。まだ、v1.4のセンサーにソフトウェアが対応していないけど、こんな感じでデータを取得出来ます。
matsu@raspberrypi ~/AirPi $ sudo python airpi.py
[sudo] password for matsu:Success: Loaded sensor plugin BMP085-tempSuccess: Loaded sensor plugin BMP085-presSuccess: Loaded sensor plugin MCP3008Success: Loaded sensor plugin DHT22Success: Loaded sensor plugin LDRSuccess: Loaded sensor plugin MiCS-2710Success: Loaded sensor plugin MiCS-5525Success: Loaded sensor plugin MicSuccess: Loaded output plugin PrintCheck wiring for the MiCS-2710 measurement, no voltage detected on ADC input 2Check wiring for the ABM_713_RC measurement, no voltage detected on ADC input 4
Time: 2014-06-08 14:05:34.196998Temperature: 31.0 CPressure: 998.65 hPaRelative_Humidity: 56.9000015259 %Light_Level: 2819.54887218 OhmsCarbon_Monoxide: 102200000.0 OhmsUploaded successfullyCheck wiring for the MiCS-2710 measurement, no voltage detected on ADC input 2Check wiring for the MiCS-5525 measurement, no voltage detected on ADC input 3Check wiring for the ABM_713_RC measurement, no voltage detected on ADC input 4
Time: 2014-06-08 14:05:39.197454Temperature: 31.0 CPressure: 998.68 hPaRelative_Humidity: 56.7999992371 %Light_Level: 6770.49180328 OhmsCarbon_Monoxide: None OhmsUploaded successfullyCheck wiring for the MiCS-2710 measurement, no voltage detected on ADC input 2Check wiring for the ABM_713_RC measurement, no voltage detected on ADC input 4
Time: 2014-06-08 14:05:44.196216Temperature: 31.0 CPressure: 998.71 hPaRelative_Humidity: 56.0 %Light_Level: 3621.83754993 OhmsCarbon_Monoxide: 102200000.0 OhmsUploaded successfullyCheck wiring for the MiCS-2710 measurement, no voltage detected on ADC input 2Check wiring for the ABM_713_RC measurement, no voltage detected on ADC input 4
Time: 2014-06-08 14:05:49.196660Temperature: 31.1 CPressure: 998.73 hPaRelative_Humidity: 56.0 %Light_Level: 3513.87054161 OhmsCarbon_Monoxide: 102200000.0 OhmsUploaded successfullyCheck wiring for the MiCS-2710 measurement, no voltage detected on ADC input 2Check wiring for the ABM_713_RC measurement, no voltage detected on ADC input 4
Time: 2014-06-08 14:05:54.196689Temperature: 31.1 CPressure: 998.68 hPaRelative_Humidity: 56.0 %Light_Level: 3149.10025707 OhmsCarbon_Monoxide: 102200000.0 OhmsUploaded successfullyCheck wiring for the MiCS-2710 measurement, no voltage detected on ADC input 2Check wiring for the ABM_713_RC measurement, no voltage detected on ADC input 4雨が降っていたので気圧が低いですね。温度は、基板上での実装なので数度高く出ますね。Ohmsで出ているのは、自分でセンサの仕様見て変換しろって事でしょうか・・・
AirPi Kit v1.4 - Raspberry Pi weather station shield
https://blog.teraren.com/posts/airpi-kit-v1-4-raspberry-pi-weather-station-shield/