Go Down

Topic: Ardomotic - Free Arduino Domotic Project (Read 9356 times) previous topic - next topic


Hello everyone.

I'm writing this post to present my latest ongoing project, Ardomotic. It is a simple Domotics solution using an Arduino Ethernet as a server (no PC is required). The interface uses simple HTML pages, so it can be accessed easily from any PC or mobile device. Each device can be controlled wired or wirelessly.

It has 3 main windows:
Device List view: where it shows the names of all the devices and their state. It is possible to chance the state of each device clicking on the device icon.
Scheduler view: it is possible to schedule daily events (such as opening all the windows every morning, for instance).
Plant view: similar to device list view, only the devices are shown in a plant of the house.

I am not done with the code yet, but once it's finished i plan on posting the code on a proper webpage with a couple tutorials if people are interested.

For now i made the server public online, and enabled the control for my xmas tree, and the living room light (the one next to the tree in the plant). All the other devices in the house already work but are disabled while the server is public.

So for now, if u feel like lighting up a xmas tree in another country, feel free to check:

And to actually see the tree u might wanna go to the :

NOTE: This is my house, where i kindda need to sleep sometimes... So between 2:00AM and 12:00AM (europe time) it is very likely that the whole system will be off... Otherwise, unless i'm testing some code, it should be working for the next couple weeks.

Please enjoy and leave any comments if u have them.


This is great, I'm looking forward to seeing the source code. I'm in the middle of a similar project, but might ditch the PC in favor of having the Arduino serve the web page.


Yes unless u need to do something more demanding or feel like implementing a more complex interface, i thing just using the arduino is actually a nice was to go :)
My initial idea actually was to make an iPhone app to control everything, but then i just went for the 1-size-fits-all html interface... May be a bit simpler, but it works everywhere ;)

As i mentioned there are still a few things i want to sort out in the code before making it public, but hopefully it will be done within a month or so :)


Very cool project. I'm personally interested in your code to see how you inplemented the website into your code. I'm pretty sure you are using an SD card for storing your webpages, but I would like to know how.  ;)

Nederlandstalige sectie - http://arduino.cc/forum/index.php/board,77.0.html -


It is very good. I am making my new home a smart home, you can visit the link in my signature.
You have documented your project?
Trabajando en ...

    * Control Domotico (En montaje ...)



You would be wrong :) I am not using a card, i am using an EEPROM. But it is only used to store the images though. The webpage is created dynamically by the code, since their state can change. And the devices are all initialized in the setup() function. For instance, i have a line with the code:


and that's pretty much all you need to to add or remove devices from the system. All of the pages are created according to the devices that we add in setup :)

I actually already had seen your project a couple months ago already! :) Major wirings that you will be doing :) I was lazy on that part, so i went wireless and bought some Chacon controllers for that part.
I will make a proper webpage and some documentation at some point, hopefully in the next month or so. I am trying to make the code very modular, so that it is easy to add new types of devices and new ways to control them. Whenever you do something, it always end up in this piece of code:

    switch (dev_control)
        case DEVICE_CONTROL_WIRED: sr.setRegisterNow(dev_id, dev_data); break;
        case DEVICE_CONTROL_RADIO: sendRadioOrder(dev_id, dev_data); break;
For now i've only implemented wired (using the pinouts of a shift register)  and radio controlled (using the chacon wireless protocol).

I saw in your site you talk about having the devices on a I2C bus. To make it work with ardomotics, you would only need to create a function like:

void sendI2COrder(byte device_identificator, byte new_device_status)

and add the function in a new case statement :)



Yeh ditto to that . Looking forward to the code
Geez where to next arduino?
Governments should do what they were designed to do only.
Manage the larger issues best done by Government.
My Family and my Property are no


Trabajando en ...

    * Control Domotico (En montaje ...)


guardian of light

Ditto on the looking for code. Just got about 25 relays (traded for a pack of cigs, ha!) And i'm hankering to get started on some internet linked home automation! OP's link is down, is there anywhere to go for new/any updates/information?
Entrepreneurship, Arduino, Ham Radio & General Wannabe Hackery

Twtr: @mltd_alexander


Really nice work!
Made me laugh alone for 2 minutes while playing with your xmas tree.  XD

I made something similar in which I showed in this topic: http://arduino.cc/forum/index.php/topic,74872.0.html
But I'm not good at html and my page was ugly, only with buttons.
You did a nice job with the interface and the house drawnings. Excelent work!

Looking forward to see your codes!  :)


I plan on doing a proper webpage with all the goodies and updates, when everything is completed. When i do it i will link the site here on the arduino forums too. The code is almost done, the first release should be soon. These days I just been having some issues with opening and closing the windows. The problem is actually physical, my relays were breaking because of power spikes caused when using the relays do turn the motors on and off... Since i'm not used to work with this kind of stuff an my electronic knowlege is VERY limited when it comes to inductive stuff... It's taking me a while to figure things out :s I'd like to have it all working when I release it, so that i could also make a nice demo video :)

Just saw your site. I'm portuguese, so i could understand it all, no language problems :)
U got a cool project there too. I also did a similar thing with my building door (opend the intercom and put a relay in parallel with the OPEN button) :)
I see you hacked the existing hardware for the remote control parts. I thought of doing that too in the beginning, but then I decided to do a little more research and learn a bit about the communication protocols. I made a small application (arduino+processing) to help decoding the wireless signals, and then the arduino just repeats it :) I will publish that program too, I guess it might be useful for someone else.
As for the code, as I said I hope to publish it soon... Unfortunatelly I'm way more lazy to do webpages and documentation than I am to do code :)


Nice! It's a good idea, I think I'll do the same.  With a "signal recorder" it would work with any gate, regardless of the control. :)

The problem is actually physical, my relays were breaking because of power spikes caused when using the relays do turn the motors on and off... Since i'm not used to work with this kind of stuff an my electronic knowlege is VERY limited when it comes to inductive stuff... It's taking me a while to figure things out :s

Did you put a diode in parallel reverse to the relay coil?  Like that?


Nice! It's a good idea, I think I'll do the same.  With a "signal recorder" it would work with any gate, regardless of the control. :)

Yes you can analyze different signals, even from other stuff, like infrared remotes (haven't worked much on those, but the principle is the same, only they use light instead of radio, and lower frequencies). At some i point i'd also like to integrate my air conditioning in this project too, but that will take quite some time, since air conditioning codes are quite more complex.

About the relay stuff... Thanks for the link, but my problem is not with the relay coil. The problem is the actual motor that the relay is controlling... The same thing that happens in the relay coil, and we fix with the diode, also happens with motors, but is much stronger (since it's a 120W motor). In this case it's strong enough to meld the contacts together, and the relay stays on all the time :s The idea is to make a filter to compensate the effect of the motor, but i don't even have the specs of the motor, which unfortunately is making things harder. :( (You might also want to warn on your site for people to be careful when doing stuff with 220V motors ;)


This is awesome!

Playing with the lights on your christmas tree was great  :)

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131