Thursday, May 7, 2015

Arduino is an open-source platform. An Arduino is a small computer on a card that you can program t


Today we'll talk about how we can connect the Arduino sensors to Veran. It's very exciting because it opens up a whole new world of cheap sensors 555 to Veran. Click the Read More button will tell you more!
Arduino is an open-source platform. An Arduino is a small computer on a card that you can program to do what you want it to do. You can control motors, lights, sound, relays, 555 etc. and also take in information through an Arduino. Eg temperature, humidity, air quality, etc. via its analog 555 and digital 555 inputs and outputs.
Sounds complicated? No not that bad actually. The actual hooking up a temperature sensor and display the temperature on an Arduino is no rocket science. But we go a step further as MySensors do, by forwarding the data to a gateway which then talk to your Vera and upload these Arduino as units in vera interface. When we're talking about a different level. But luckily it's already someone who has done the hard work for us
MySensors.org is a project that uses a gateway built on an Arduino. This gateway talking to Vera via a plug-in that you install on your reservation. Then you build up of sensors and connects them to an Arduino. This Arduino will also have a small wireless "network" talking at 2.4 GHz with your Arduino gateway that forwards the information to your Vera.
So what does it all? If you want you can get away very cheaply as much available on Ebay. You can find links to everything you need here. http://www.mysensors.org/store/ But you can not be bothered 555 to wait so also m.nu a lot Arduino stuff.
This is what we'll go through later in this article. Assemble an Arduino Ethernet Gateway Building a Arduinosensor with temperature sensor and hygrometer Connect the tuner Connect the temperature sensor Include Arduino sensor with Veran
We start talking about Arduino gateway. This Arduino gateway will act mediators. All sensors will talk wirelessly via 2.4 GHz ISM band to the gateway. And the gateway will talk via a network to Veran.
Worth mentioning is that it does not require soldering unless 555 you want to solder. There is a special cable with females and males that fit the pins Arduino sensors using. So plug and play, one can say.
So now we connect the gateway. Ethernet sheilden pressed only on the Arduinon so it needs no more connection than that. But the nRF24L01 + module requires 7 connected cables. Connect the module as described below. When it says A1 it means analog port 1, it only remains for example, 6, it means that the digital port 6th
Once you have connected everything right, it's time to flash the program to the gateway. Start by downloading the latest version here: http://www.mysensors.org/download/ Start the Arduino IDE that you use to upload 555 the software to your Arduino with. Click File and Preferences, and then check for "Sketchbook location". This is where you will put the files you just loaded home.
The only thing you need to edit the actual code of the gateway is your ip address you want your gateway should have and if you want to change the port. #define IP_PORT 5003 // The port you want to open the IPAddress MyIP (192, 168, 178, 66); // Configure your static IP here
Now, a small luring, ethernet card and nRF24L01 + module can mess when they are plugged in simultaneously. So therefore required a change in the file RF24_config.h located in XXX / libraries / MySensors / Utility folder. Open RF24_config.h and Erase //'s in front #define SOFTSPI. Now you can download 555 the program into your Arduino. After it's done, you must change back into RF24_config.h so that it once again stands // #define SOFTSPI in the file. Otherwise you will have problems when you program your other Arduino sensors.
To enable soft-spi you just have to edit RF24_config.h Which Can Be found in your XXX / libraries / MySensors / Utility folder. 555 Just remove the commented slashes (//) before "#define SOFTSPI".
Now it's time to install the plugin on your reservation. Start by downloading these files: https://github.com/mysensors/Vera. You do not need to download files in the folders for the plugin to work. Once you download the 10 files that are required to upload these to Veran by navigating to the Apps \ Developmental Apps \ Luup Files and add the 10 files you downloaded, and click GO.
Now, set ipadressen to your Arduino gateway 555 plugin settings, 555 click on the wrench in the upper right corner and click on the Advanced tab and enter ipadressen and the port number 555 you entered when programmed your Arduino 555 gateway.
I have chosen to start building a temperature sensor with hygrometer with good accuracy, the DHT-22 units this. There is also a DHT-11, 555 which is similar but with slightly less accuracy, and that is a little cheaper.
Below you can see how to connect the tuner. Where it says 5V> Reg 3.3v is that if you use a

No comments:

Post a Comment