Changes between Version 4 and Version 5 of MotionSensor


Ignore:
Timestamp:
2013-09-28 18:50:57 (11 years ago)
Author:
hek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MotionSensor

    v4 v5  
    66http://code.mios.com/trac/mios_arduino-sensor/browser/trunk/Arduino/MotionSensor 
    77 
    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.  
    9 After updating RADIO_ID and downloading the code you should be ready to go. 
    108This sensor sleeps most of the time. If interrupt on digital input occurs it wakes up and transmits change.  
    119 
     
    2018== Hardware - Purchase guide == 
    2119 
    22 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. 
    23  
    24 1x Cheap Arduino Nano without serial interface and usb connector\\ 
    25 http://www.aliexpress.com/item/16Pcs-Lot-Pro-Mini-Module-Atmega328-5V-16M-For-Arduino-Compatible-Nano/710613095.html 
    26  
    27 8x Dupont cable Female->Female (you might need 3 extra Female->Male for your motion sensor)\\  
    28 http://www.aliexpress.com/item/New-Female-To-Female-40-pcs-Wire-Cable-Line-1p-1p-Pin-Connector-20cm-2-54mm/1045212486.html 
    29  
    30 1x NRF24L01+ wireless data transmission module 2.4Ghz\\  
    31 http://www.aliexpress.com/item/Free-shipping-NRF24L01-wireless-data-transmission-module-2-4G-the-NRF24L01-5PCS-LOT-upgrade-version-New/603756080.html 
     20To build this sensor you'll need one arduino + radio specified in the base kit found here:\\ 
     21http://code.mios.com/trac/mios_arduino-sensor/wiki/WikiStart#Buyingguide\\ 
     22With the following additional parts: 
    3223 
    33241x Motion sensor\\ 
    3425http://www.aliexpress.com/item/Freeshipping-PIR-Sensor-Human-Body-detecting-module-Pyroelectric-HC-SR501-For-Arduino-MCU/967005480.html 
    3526 
    36 (You might later need some housing and transformer or battery compartment as well) 
    37  
    38 TOTAL SENSOR PRICE: $3,99 + $0.93 + $0,6 + $1,74 = $7,26 
    39  
    40 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. 
    41  
    42 1x Serial to USB adapter to download code to cheap Arduino Nanos\\ 
    43 http://www.aliexpress.com/item/Free-Shipping-FT232RL-USB-To-Serial-Adapter-Module-USB-TO-232-For-Arduino-Download-Cable/827218126.html 
     27TOTAL SENSOR PRICE: $7.6 (arduino + radio) + $1.7 (dallas temperature probe) = '''$9.3''' 
    4428 
    4529[[Image(motion.jpg, width=500px)]]