I did a simple test setup to control a LED or whatsoever by using NetIO.
First thing I did was to do a bit of Arduino coding on the IDE version 0022 based on the code examples on the NetIO website. The hardware that's needed is the Arduino board plus a connected ethernet shield (see setup below). I adapted a view parts an ended up with the following sketch:
DROBBOX LINK of IDE 0022 Arduino sketch for remotely control a LED via the iPhone
Then I thought of the following hardware setup:
circuit setup |
...and ended up with this:
layout |
Of course it's not necessary to use the opto device. But the secondary circuit can simply be removed and the output could be used to connect to e.g. a remote control. In that case both circuits will be completely separated. You need to connect the ethernet cable and the power source for the Arduino.
layout in detail |
As soon as that's done you can log on the NetIO webpage and design your App as described on the website.
NetIO Configurator screenshot |
You can download my default.json file here:
DROPBOX LINK of default.json
After that you can download the xxx.Json file and add it to your iTunes library in the App/NetIO section. As soon as it is transferred to the iPhone correctly, the App connects to the Arduino and that's it. I know there is a bit more than that, but honestly: as soon as you worked out the system it's easy to adapt.
NetIO iPhone App screenshot |
The good thing is that you can connect to multiple sources, also PC connectivity is given. And as soon as http requests are available with the App version 1.4, you could possibly control everything.
My next step will be to control a bit of my power stuff via FS20, like turning the lights on and off. My final goal is to setup a home automation server. And I guess it will be controlled via NetIO.
No comments:
Post a Comment