Last modified 10 years ago Last modified on 2014-03-23 14:03:50

NOTE! This page is no longer updated

You will find the latest information about MySensors here:

http://www.mysensors.org

Pressure/Temperature/Weather forecast sensor (BMP085)

Software

You can download the Arduino sketch here.

This sensor sleeps most of the time. You can change the sleep interval by updating SLEEP_TIME define at the top of the file.

This sensor requires you to upload the following device files to Vera as well.
https://github.com/mysensors/Vera/tree/master/barometer
D_BarometerSensor1.xml
D_BarometerSensor1.json
S_BarometerSensor1.xml

Wire things up

Follow the instructions in ConnectingRadioModule to connect radio module.

To connect the BMP085 sensor to the Arduino board follow these instructions:
Connect VCC of the BMP085 sensor to 3.3V (NOT 5.0V!)
Connect GND to Ground
Connect SCL to i2c clock - on 168/328 Arduino Nano/Uno/Duemilanove/etc thats Analog 5
Connect SDA to i2c data - on 168/328 Arduino Nano/Uno/Duemilanove/etc thats Analog 4
EOC is not used, it signifies an end of conversion
XCLR is a reset pin, also not used here

Hardware - Purchase guide

To build this sensor you'll need one arduino + radio specified in the base kit found here:
http://code.mios.com/trac/mios_arduino-sensor/wiki/WikiStart#Buyingguide

With the following additional parts:
1x BMP085 Pressure sensor

TOTAL SENSOR PRICE: $7.6 (arduino + radio) + $3.8 (BMP085) = $11.4

Attachments