Changes between Version 2 and Version 3 of PressureSensor


Ignore:
Timestamp:
2013-09-19 14:13:31 (11 years ago)
Author:
hek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PressureSensor

    v2 v3  
    1 [[Image(lightVera.png, align=right, width=300px)]] 
     1[[Image(pressureVera.png, align=right, width=300px)]] 
    22= Pressure/Temperature/Weather forecast sensor using BMP085 = 
    33 
    44== Software == 
    55You can download the Arduino sketch here:\\ 
    6 http://code.mios.com/trac/mios_arduino-sensor/browser/trunk/Arduino/LightSensor 
     6http://code.mios.com/trac/mios_arduino-sensor/browser/trunk/Arduino/PressureSensor 
    77 
    88Before downloading the sketch to the Arduino you need to select a unique RADIO_ID (see top of sketch source code). The RADIO_ID must be unique in your radio network and is also used on the Vera side to distinguish between different sensors.  
     
    1010This sensor sleeps most of the time. You can change the sleep interval by updating SLEEP_TIME define at the top of the file.  
    1111 
     12This sensor requires you to upload the following device files to Vera as well.\\ 
     13D_BarometerSensor1.xml\\ 
     14D_BarometerSensor1.json\\ 
     15S_BarometerSensor1.xml\\ 
     16 
    1217== Wire things up == 
    1318 
    1419Follow the instructions in ConnectingRadioModule to connect radio module. 
    1520 
    16  
    17  
    18 Connect VCC of the BMP085 sensor to 3.3V (NOT 5.0V!) 
    19 // Connect GND to Ground 
    20 // Connect SCL to i2c clock - on '168/'328 Arduino Nano/Uno/Duemilanove/etc thats Analog 5 
    21 // Connect SDA to i2c data - on '168/'328 Arduino Nano/Uno/Duemilanove/etc thats Analog 4 
    22 // EOC is not used, it signifies an end of conversion 
    23 // XCLR is a reset pin, also not used here 
     21To connect the BMP085 sensor to the Arduino board follow these instructions:\\ 
     22Connect VCC of the BMP085 sensor to 3.3V (NOT 5.0V!)\\ 
     23Connect GND to Ground\\ 
     24Connect SCL to i2c clock - on '168/'328 Arduino Nano/Uno/Duemilanove/etc thats Analog 5\\ 
     25Connect SDA to i2c data - on '168/'328 Arduino Nano/Uno/Duemilanove/etc thats Analog 4\\ 
     26EOC is not used, it signifies an end of conversion\\ 
     27XCLR is a reset pin, also not used here\\ 
    2428 
    2529== Hardware - Purchase guide == 
    2630 
    27 This is the stuff you need to purchase to build the MotionSensor. Note that I've provided links to the things I bought during the development. You might find it cheaper somewhere else. Also note that you might need to buy like 10x of some items to get the price specified. 
     31This is the stuff you need to purchase to build the PressureSensor. Note that I've provided links to the things I bought during the development. You might find it cheaper somewhere else. Also note that you might need to buy like 10x of some items to get the price specified. 
    2832 
    29331x Cheap Arduino Nano without serial interface and usb connector\\ 
    3034http://www.aliexpress.com/item/16Pcs-Lot-Pro-Mini-Module-Atmega328-5V-16M-For-Arduino-Compatible-Nano/710613095.html 
    3135 
    32 8x Dupont cable Female->Female (you might need 3 extra cables for your light sensor)\\  
     368x Dupont cable Female->Female for radio module (and you might need 4 extra cables for your pressure sensor)\\  
    3337http://www.aliexpress.com/item/New-Female-To-Female-40-pcs-Wire-Cable-Line-1p-1p-Pin-Connector-20cm-2-54mm/1045212486.html 
    3438 
     
    3640http://www.aliexpress.com/item/Free-shipping-NRF24L01-wireless-data-transmission-module-2-4G-the-NRF24L01-5PCS-LOT-upgrade-version-New/603756080.html 
    3741 
    38 1x Light sensor\\ 
    39 http://www.aliexpress.com/item/3-3-5V-input-LM393-light-Sensor-Module-for-Arduino-with-DO-AO-output-w-FREE/976122480.html 
     421x BMP085 Pressure sensor\\ 
     43http://www.aliexpress.com/item/Free-shipping-BMP085-Altimeter-Atmospheric-Pressure-Module-for-Arduino/961254477.html 
     44 
    4045(You might later need some housing and transformer or battery compartment as well) 
    4146 
    42 TOTAL SENSOR PRICE: $3,99 + $0.93 + $0,6 + $2,84 = $8,36 
     47TOTAL SENSOR PRICE: $3,99 + $0.93 + $0,6 + $3,8 = $9,32 
    4348 
    4449To download code to the cheapest Arduino Nano sensors (that is missing the serial USB port) you need to buy one of following as well. It is only attached while downloading code and can be reused between sensors. 
     
    4752http://www.aliexpress.com/item/Free-Shipping-FT232RL-USB-To-Serial-Adapter-Module-USB-TO-232-For-Arduino-Download-Cable/827218126.html 
    4853 
    49 [[Image(light.jpg, width=500px)]] 
     54[[Image(pressure.jpg, width=500px)]]