Version 12 (modified by hek, 11 years ago) (diff) |
---|
Arduino Gateway
Installing the Arduino Vera plugin
The latest version of the Vera plugin can be found here:
http://code.mios.com/git_public/mios/arduino-sensor.git/tree/HEAD:/VeraArduino/Vera?js=1
- Download all *_Arduino*.* files and upload them in Vera under APPS->Develop Apps->Luup files (you can skip the subfolders if you don't plan to use these sensors).
- To create the Arduino Plugin device go to APPS->Develop Apps->Luup and enter "D_Arduino1.xml" in "Upnp Device Filename" and press "Create Device"
- After the usual reload/refresh ritual the Arduino root device should pop up.
- 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.
Installing Arduino Gateway Software
You can download the Arduino sketch here:
http://code.mios.com/git_public/mios/arduino-sensor.git/tree/HEAD:/VeraArduino/Arduino/ArduinoGateway?js=1
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.
Wire things up
You only need to connect the radio chip to the Arduino. Follow the instructions in ConnectingRadioModule.
Hardware - Purchase guide
This is the stuff you need to purchase to build the ArduinoGateway. Note that I've provided links to the things I bought during the development. You might find it cheaper somewhere else. Also note that you might need to buy 10x of some items to get the price specified.
1x Arduino Nano with serial interface and usb connector
http://www.aliexpress.com/item/Free-Ship-Wholesale-IC-Parts-Integrated-Circuits-Atmel-ATmega328-Board-with-Mini-USB-Cable-Full-Compatible/704043993.html
8x Dupont cable Female->Female
http://www.aliexpress.com/item/New-Female-To-Female-40-pcs-Wire-Cable-Line-1p-1p-Pin-Connector-20cm-2-54mm/1045212486.html
1x NRF24L01+ wireless data transmission module 2.4Ghz http://www.aliexpress.com/item/Free-shipping-NRF24L01-wireless-data-transmission-module-2-4G-the-NRF24L01-5PCS-LOT-upgrade-version-New/603756080.html
TOTAL PRICE: $7,99 + $0.93 + $0,6 = $9.5
Attachments
- serial.png (177.5 KB) - added by hek 11 years ago.
- veraplugin.png (57.6 KB) - added by hek 11 years ago.
-
gateway1.JPG
(33.6 KB) -
added by axill 11 years ago.
gateway case 1
-
gateway2.JPG
(41.2 KB) -
added by axill 11 years ago.
gateway case 2
-
gateway3.JPG
(33.6 KB) -
added by axill 11 years ago.
gateway case 3
- digital_button.jpg (30.7 KB) - added by hek 11 years ago.