Changes between Initial Version and Version 1 of RelayActuatorWithButton


Ignore:
Timestamp:
2013-11-22 00:19:05 (10 years ago)
Author:
hek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RelayActuatorWithButton

    v1 v1  
     1= Relay Actuator With Pushbutton  = 
     2 
     3This example show how an relay controlled locally at the Arduino with an push button. The Relay can also be controlled from Vera. The push button changes of the relay state will also be transmitted to Vera. 
     4 
     5== Software == 
     6You can download the Arduino sketch [[http://code.mios.com/git_public/mios/arduino-sensor.git/tree/HEAD:/VeraArduino/Arduino/libraries/Vera/examples/RelayWithButtonActuator?js=1|here]]\\ 
     7 
     8== Wire things up == 
     9 
     10Follow the instructions in ConnectingRadioModule to connect radio module. 
     11[[Image(digital_button.jpg, width=250px)]] 
     12Connect the IN1 of relay to digital pin 4 of Arduino board.\\ 
     13Connect Relay VCC to +5V of the Arduino board. GND to GND.\\ 
     14Connect push button between +5V and digital pin 3 with a 10k pull down resistor to GND (see image). 
     15 
     16== Hardware - Purchase guide == 
     17 
     18To build this sensor you'll need one arduino + radio specified in the base kit found here:\\ 
     19http://code.mios.com/trac/mios_arduino-sensor/wiki/WikiStart#Buyingguide\\ 
     20 
     21With the following additional parts:\\ 
     221x [[http://www.jdoqocy.com/click-7319170-10881559?url=http%3A%2F%2Fwww.aliexpress.com%2Fitem%2F5V-One-1-Channel-Relay-Module-Board-Shield-For-PIC-AVR-DSP-ARM-MCU-For-Arduino%2F1209452041.html|Single Relay Module]]\\ 
     23 
     241x [[http://www.dpbolvw.net/click-7319170-10881559?url=http%3A%2F%2Fwww.aliexpress.com%2Fitem%2FELEWIND-12mm-Dome-head-momentary-push-button-switch-PM121B-10-N%2F1342120632.html|Push button]]\\ 
     25 
     26 
     27TOTAL SENSOR PRICE: $7.6 (arduino + radio) + $1.6 (relay module) + $1.75 (button) = '''$11'''