Changes between Version 2 and Version 3 of PressureSensor
- Timestamp:
- 2013-09-19 14:13:31 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PressureSensor
v2 v3 1 [[Image( lightVera.png, align=right, width=300px)]]1 [[Image(pressureVera.png, align=right, width=300px)]] 2 2 = Pressure/Temperature/Weather forecast sensor using BMP085 = 3 3 4 4 == Software == 5 5 You can download the Arduino sketch here:\\ 6 http://code.mios.com/trac/mios_arduino-sensor/browser/trunk/Arduino/ LightSensor6 http://code.mios.com/trac/mios_arduino-sensor/browser/trunk/Arduino/PressureSensor 7 7 8 8 Before 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. … … 10 10 This sensor sleeps most of the time. You can change the sleep interval by updating SLEEP_TIME define at the top of the file. 11 11 12 This sensor requires you to upload the following device files to Vera as well.\\ 13 D_BarometerSensor1.xml\\ 14 D_BarometerSensor1.json\\ 15 S_BarometerSensor1.xml\\ 16 12 17 == Wire things up == 13 18 14 19 Follow the instructions in ConnectingRadioModule to connect radio module. 15 20 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 21 To connect the BMP085 sensor to the Arduino board follow these instructions:\\ 22 Connect VCC of the BMP085 sensor to 3.3V (NOT 5.0V!)\\ 23 Connect GND to Ground\\ 24 Connect SCL to i2c clock - on '168/'328 Arduino Nano/Uno/Duemilanove/etc thats Analog 5\\ 25 Connect SDA to i2c data - on '168/'328 Arduino Nano/Uno/Duemilanove/etc thats Analog 4\\ 26 EOC is not used, it signifies an end of conversion\\ 27 XCLR is a reset pin, also not used here\\ 24 28 25 29 == Hardware - Purchase guide == 26 30 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.31 This 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. 28 32 29 33 1x Cheap Arduino Nano without serial interface and usb connector\\ 30 34 http://www.aliexpress.com/item/16Pcs-Lot-Pro-Mini-Module-Atmega328-5V-16M-For-Arduino-Compatible-Nano/710613095.html 31 35 32 8x Dupont cable Female->Female (you might need 3 extra cables for your lightsensor)\\36 8x Dupont cable Female->Female for radio module (and you might need 4 extra cables for your pressure sensor)\\ 33 37 http://www.aliexpress.com/item/New-Female-To-Female-40-pcs-Wire-Cable-Line-1p-1p-Pin-Connector-20cm-2-54mm/1045212486.html 34 38 … … 36 40 http://www.aliexpress.com/item/Free-shipping-NRF24L01-wireless-data-transmission-module-2-4G-the-NRF24L01-5PCS-LOT-upgrade-version-New/603756080.html 37 41 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 42 1x BMP085 Pressure sensor\\ 43 http://www.aliexpress.com/item/Free-shipping-BMP085-Altimeter-Atmospheric-Pressure-Module-for-Arduino/961254477.html 44 40 45 (You might later need some housing and transformer or battery compartment as well) 41 46 42 TOTAL SENSOR PRICE: $3,99 + $0.93 + $0,6 + $ 2,84 = $8,3647 TOTAL SENSOR PRICE: $3,99 + $0.93 + $0,6 + $3,8 = $9,32 43 48 44 49 To 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. … … 47 52 http://www.aliexpress.com/item/Free-Shipping-FT232RL-USB-To-Serial-Adapter-Module-USB-TO-232-For-Arduino-Download-Cable/827218126.html 48 53 49 [[Image( light.jpg, width=500px)]]54 [[Image(pressure.jpg, width=500px)]]