| 26 | |
| 27 | As 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. |
| 28 | There 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) |
| 32 | Gateway gw(9, 10, INCLUSION_MODE_PIN, INCLUSION_MODE_TIME, 6, 5, 4); |
| 33 | }}} |
| 34 | |
| 35 | There 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. |