[[Image(VeraMotion.png, align=right)]] = Motion Sensor = == Software == You can download the Arduino sketch [[http://code.mios.com/git_public/mios/arduino-sensor.git/tree/HEAD:/VeraArduino/Arduino/libraries/Vera/examples/MotionSensor?js=1|here]].\\ This sensor sleeps most of the time. If interrupt on digital input occurs it wakes up and transmits change. == Wire things up == Follow the instructions in ConnectingRadioModule to connect radio module. Connect the digital OUT of the motion sensor to digital input 3 of Arduino board. Connect VCC to +5V of the Arduino board. GND to GND. Use the trimpot Sx on sensor to set sensitivity. Trimpot Tx tunes how long the sensor should be triggered (5sec min - 200sec max). == 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 [[http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575069610&toolid=10001&campid=5337426682&customid=&icep_item=310574919531&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg|Motion sensor]]\\ TOTAL SENSOR PRICE: $7.6 (arduino + radio) + $1.7 (motion sensor) = '''$9.3''' [[Image(motion.jpg, width=500px)]]