{"id":356,"date":"2011-01-05T23:28:54","date_gmt":"2011-01-05T21:28:54","guid":{"rendered":"http:\/\/www.ticklishtechs.net\/2011\/01\/05\/do-it-yourself-home-automation\/"},"modified":"2020-08-13T20:45:26","modified_gmt":"2020-08-13T18:45:26","slug":"do-it-yourself-home-automation","status":"publish","type":"post","link":"https:\/\/www.ticklishtechs.net\/2011\/01\/05\/do-it-yourself-home-automation\/","title":{"rendered":"Do it yourself: home automation"},"content":{"rendered":"
For my new apartment I imagine some nice (or nerdy) infrastructure things. Since the apartment is currently building and I can decide how to do the wiring: we will get CAT7 Ethernet nearly everywhere for gigabit Ethernet. We will get a lot of power outlets, HDMI cables from the stereo to the TV and to a potential place for a projector and so on.<\/p>\n
I was also looking into systems for home automation to control lights etc. using some commercial bus system like KNX<\/a>. But all these systems are boring, expensive, inflexible and absolutely not the kind of system I was willing to invest a few thousand euros in. They advertise all that stuff as programmable and ultra flexible. But you need some expensive software and special adapters to reprogram your house. To save light configuration and recall them by a button you need some light-configuration-controller-hardware (at about 200 Euro) and a guy to program it. Non of the classical home automation systems can be controlled with an iPad.<\/p>\n So I decided to build something for my apartment by myself. In this first post of many I will show you my basic ideas and later I\u2019m planning to publish hardware schematic and software source code for single modules and maybe for the whole thing.<\/p>\n optional (or later on):<\/p>\n To control all this I will use some central microcontroller in my apartment. I decided to give the Microsoft Micro Framework a try. Since I\u2019m already a .Net guy it should be pretty easy (and cool) to program my home in C#. I will use the FEZ Cobra<\/a> board. A 72 MHz ARM device with 12 MB RAM. It is probably already too powerful for my usage but who cares. It comes with USB-Ports where you can connect keyboards, joysticks or cameras. It has a build in Ethernet port, a SD-Card slot a lot of I\/O Ports and everything else you need. One could also connect a TFT touch screen. With this guy I have all the connectability I need and enough power to implement all crazy ideas in software.<\/p>\n In the walls I will get push buttons instead of regular on\/off switches and a single cable will be used for each of this button to a central place where my project resists. This way the Cobra board can receive signals from all buttons.<\/p>\n To control the lights the cables will be put to these place too. Here I will use relais or dimmers controlled by the Cobra board. For some lights I will try RGB LEDs with DMX controllers (I will later explain what that exactly is).<\/p>\n The key to all this is my custom wiring with a lot of more cables in the walls then usually. Since the apartment will be newly build I can get this wiring without big problems.<\/p>\n My push buttons will be powered only by 12V or 24V DC not 240V AC (the normal power in Europe). This way it is much easier to connect it to the Cobra board. <\/p>\n For controlling dimmers I will use dimmers with a control input of 0 to 10V. Again: it\u2019s much easier to buy some working and proofed dimmers for the 240V high voltage and my DIY projects only controls it by a 10V signal. The same for switches: the Cobra board will drive some relais with 12V DC and the relais will switch the 240V AC line.<\/p>\n Maybe I will use for dimmers and other light controlling stuff the digital DMX512<\/a> protocol. This is used on stages to control all the light effects and seems pretty simple to implement on the hardware and software side.<\/p>\nThe goal<\/h3>\n
\n
\n
\n
The basic concept<\/h3>\n
A little bit more in detail<\/h3>\n