Changes between Version 12 and Version 13 of ArduinoGateway


Ignore:
Timestamp:
2013-11-12 22:35:28 (11 years ago)
Author:
axill
Comment:

button & leds wiring added

Legend:

Unmodified
Added
Removed
Modified
  • ArduinoGateway

    v12 v13  
    2121You really don't need to configure anything in this sketch. Just download it and connect the Arduino to your Vera using usb-connector. Please note that only Arduino Nano module have a serial chipset recognized automatically by Vera.  
    2222 
    23 == Wire things up == 
     23== Wire & casing things up == 
    2424 
    2525You only need to connect the radio chip to the Arduino. Follow the instructions in ConnectingRadioModule. 
     26 
     27As an option you also can connect inclusion button & indicating leds. Pin to be used by button is defined inside ArduinoGateway sketch as #define INCLUSION_MODE_PIN 3. Actually it is hard to redefine it because sketch is using the particular interrupt handler. Connect button between GND and digital pin 3.  
     28There are 3 led types supported - RX/TX/Error. Use them to have a visual feedback during radio activity. Radial 3mm green/yellow/red leds could be a good choice. Your should use 3 resistors 270R-510R. Each led is connected by anode to +5V pin and cathode is connected through a resistor to a digital pins 6/5/4 respectively for RX/TX/Error. Pins can be re-configured inside ArduinoGateway sketch at this line: 
     29 
     30{{{ 
     31// Start gateway with include button and led blinking functionality enabled (see documetation) 
     32Gateway gw(9, 10, INCLUSION_MODE_PIN, INCLUSION_MODE_TIME, 6, 5, 4); 
     33}}} 
     34 
     35There is no special requirement for the casing, you can use any case suitable for your setup. A nice 3d model for 3d printer can be found here http://www.thingiverse.com/thing:159417.  
    2636 
    2737== Hardware - Purchase guide ==