= NOTE! This page is no longer updated = = You will find the latest information about !MySensors here:= http://www.mysensors.org = = [[Image(verarelay.png, align=right, width=600px)]] = Relay Actuator = == Software == You can download the Arduino sketch [[https://github.com/mysensors/Arduino/tree/master/libraries/MySensors/examples/RelayActuator|here]]\\ == Wire things up == Follow the instructions in ConnectingRadioModule to connect radio module. Connect the IN1 and IN2 of relay to digital pin 3,4 of Arduino board.\\ Connect VCC to +5V of the Arduino board. GND to GND.\\ I used a dual relay module. But the code can easily be adapted to handle more or less relays by modifying RELAY_1 (which digital input first relay is connected to) and NUMBER_OF_RELAYS defines at the top of the sketch code. == 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=390707722743&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg|Dual Relay Module]]\\ or\\ 1x [[http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575069610&toolid=10001&campid=5337426682&customid=&icep_item=251383404102&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg|Single Relay Module]]\\ TOTAL SENSOR PRICE: $7.6 (arduino + radio) + $3.3 (relay module) = '''$10.9''' [[Image(relay.jpg, width=500px)]]