= NOTE! This page is no longer updated = = You will find the latest information about !MySensors here:= http://www.mysensors.org = = [[Image(lightVera.png, align=right, width=300px)]] = Light Sensor = == Software == You can download the Arduino sketch [[https://github.com/mysensors/Arduino/tree/master/libraries/MySensors/examples/LightSensor|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. == Wire things up == Follow the instructions in ConnectingRadioModule to connect radio module. Connect the digital AO (Analog Out) of the light sensor to analog input 0 of Arduino board. Connect VCC to +5V of the Arduino board. GND to GND. == 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=330924311652&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg|Light sensor]]\\ TOTAL SENSOR PRICE: $7.6 (arduino + radio) + $2.8 (light sensor) = '''$10.4''' [[Image(light.jpg, width=500px)]]