Raspberry Pi - Interfacing with Vera

From MiOS
(Difference between revisions)
Jump to: navigation, search
(Squeezebox)
(LPG, i-butane, propane, methane, alcohol, hydrogen, smoke)
Line 98: Line 98:
  
 
http://english.hwsensor.com/ewebeditor/uploadfile/en/MQ-2.pdf
 
http://english.hwsensor.com/ewebeditor/uploadfile/en/MQ-2.pdf
 +
 +
[[File:GSP_1.jpg]]
 +
 +
[[File:GSP_2.jpg|400px]]
 +
 +
[[File:GSP_3.jpg|400px]]
  
 
=====Alcohol=====
 
=====Alcohol=====

Revision as of 17:31, 3 May 2013

RP1.jpg

RP2.jpg


Contents

Interfaces

I2C

Barometric pressure and temperature sensor

http://learn.adafruit.com/using-the-bmp085-with-raspberry-pi/overview

BMP085 vs AirportWeatherStation small.jpg

The BMP085 sensor is about 50 m above sea level. The Wunderground data is from a weather station at an airport nearby.

Light sensor

http://forums.adafruit.com/viewtopic.php?f=8&t=34922&start=45#p185714

Light and proximity sensor

http://www.adafruit.com/products/466

LCD and keypad

http://learn.adafruit.com/adafruit-16x2-character-lcd-plus-keypad-for-raspberry-pi

ADC

http://learn.adafruit.com/adafruit-4-channel-adc-breakouts

USB

CO2 sensor

http://wiki.micasaverde.com/index.php/CO2_Sensor#Using_the_CO-20_sensor_with_the_Raspberry_Pi

Other

LCD

http://learn.adafruit.com/drive-a-16x2-lcd-directly-with-a-raspberry-pi/overview

Mail sensor

http://learn.adafruit.com/raspberry-pi-e-mail-notifier-using-leds/overview

Temperature and humidity sensor

http://learn.adafruit.com/adafruits-raspberry-pi-lesson-11-ds18b20-temperature-sensing/

http://learn.adafruit.com/dht-humidity-sensing-on-raspberry-pi-with-gdocs-logging/overview

Motion sensor

HW used: https://www.sparkfun.com/products/8630

WARNINGS:

The colors of the wires can vary greatly. Looking at the unit from the top, the middle wire is ground, the left-most wire is the alarm, and the right-most is the power.

You have to solder a new wire to the L78L05 (http://www.fairchildsemi.com/ds/LM/LM78L05A.pdf; SOT-89) voltage regulator’s output or remove the regulator entirely and bridge the input pad to the output pad if you are driving the sensor with 5V.

The GPIO pins are NOT 5V tolerant and are NOT over-voltage protected. You have to reduce the PIR alarm voltage to 3.3V.

http://learn.adafruit.com/adafruits-raspberry-pi-lesson-12-sensing-movement

Door sensor

http://learn.adafruit.com/adafruits-raspberry-pi-lesson-12-sensing-movement

LED

http://learn.adafruit.com/raspberry-pi-e-mail-notifier-using-leds/wire-leds

Squeezebox

Requirements: Logitech Media Server

Install squeezelite (http://www.raspberrypi.org/phpBB3/viewtopic.php?f=38&t=25778).

Start squeezelite:

./squeezelite-armv6hf -o hw:CARD=<card> -m <client MAC address> -n <client name> <LMS IP address>

Please note that the 'hw:' prefix is required for Google TTS (16 kHz mono mp3) to work.

Test the installation:

telnet <LMS ip address> 9090
<client MAC address> playlist play http://translate.google.com/translate_tts?tl=en&q=Test

Gas sensors

LPG, i-butane, propane, methane, alcohol, hydrogen, smoke

http://english.hwsensor.com/ewebeditor/uploadfile/en/MQ-2.pdf

GSP 1.jpg

GSP 2.jpg

GSP 3.jpg

Alcohol

http://english.hwsensor.com/ewebeditor/uploadfile/en/MQ-3.pdf

CO

https://www.sparkfun.com/datasheets/Sensors/Biometric/MQ-7.pdf

Hardware

Software

https://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code

Personal tools