Changes between Version 23 and Version 24 of ArduinoGateway
- Timestamp:
- 2014-02-21 15:58:55 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ArduinoGateway
v23 v24 5 5 == Installing the Arduino Vera plugin == 6 6 7 The latest version of the Vera plugin can be found [[http ://code.mios.com/git_public/mios/arduino-sensor.git/tree/HEAD:/VeraArduino/Vera?js=1|here]].\\7 The latest version of the Vera plugin can be found [[https://github.com/mysensors/Vera|here]].\\ 8 8 9 9 [[Image(serial.png, align=right, 300px)]] … … 13 13 4. If you have your Arduino board plugged into Vera you should now configure which serial device to use. See image to the right. Set baudrate to 115200. 14 14 15 == Installing Arduino Gateway Software (ethernet interface) == 16 See: 17 15 18 16 19 == Installing Arduino Gateway Software == 17 Install all Arduino libraries found [[http ://code.mios.com/git_public/mios/arduino-sensor.git/tree/HEAD:/VeraArduino/Arduino/libraries?js=1|here]] in your Arduino IDEs library location.\\20 Install all Arduino libraries found [[https://github.com/mysensors/Arduino/tree/master/libraries|here]] in your Arduino IDEs library location.\\ 18 21 19 Download the Arduino sketch for the gateway found [[http://code.mios.com/git_public/mios/arduino-sensor.git/tree/HEAD:/VeraArduino/Arduino/ArduinoGateway?js=1|here]] and download it to your Arduino Nano.\\ 22 Download the Arduino sketch for the Serial Gateway version [[https://github.com/mysensors/Arduino/tree/master/SerialGateway|here]] and download it to your Arduino Nano.\\ 23 24 If you prefer the Ethernet version it's found [[https://github.com/mysensors/Arduino/tree/master/EthernetGateway|here]]. Follow connect instruction in the head of sketch. (See: http://forum.micasaverde.com/index.php/topic,23093.0.html) 20 25 21 26 You 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. … … 25 30 You only need to connect the radio chip to the Arduino. Follow the instructions in ConnectingRadioModule. 26 31 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 +5V and digital pin 3 with a 10k pull down resistor to GND (see image).32 As an option you also can connect inclusion button & indicating leds. Pin to be used by button is defined inside SerialGateway 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 +5V and digital pin 3 with a 10k pull down resistor to GND (see image). 28 33 29 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:34 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 SerialGateway sketch at this line: 30 35 31 36 [[Image(digital_button.jpg, 300px, align=right)]]