Brand specific systems
A lot of switch/power outlet/.. manufactures have their own home automation system. Most of them are easy to configure and are good candidates for a DIY home automation system. There is Nikobus from Niko, QBus, BTichino,… The back draw of this manufacturer specific home automation systems is the dependency. When a component fails you need to stick to the manufacturer, buying the same component. If a manufacturer stops producing a certain system…you’re screwed.
Standard bus systems
EIB/KNX is a standard bus system supported by many manufacturers. A lot of brands make components for the KNX home automation system. This is a gigantic pro because you can be sure that in the future spare parts will still be available. It can be easily installed as a DIY home automation system but you need software (or someone with the software) to configure the components on the bus. This is a favorite for DIY home automation!
X10 is a home automation system widely used in the US and a bit less known is Europe. It can be used as a wireless bus automation system. X10 is a very easy to install system, perfect for DIY home automation.
Central systems
In a centralized system every button and every light has a wire to a central cabinet. The controller has some (or a lot) inputs and outputs to switch lights, blinds,… A central system has the advantage that it can easily be replaced by another central system. It can be hard wired with ‘teleruptors’ or a logic controller can be used. Depending on the system it can be configured by anyone or only by a ’system expert’.
The industrial way
Industrial systems must be reliable, more reliable as home automation systems (unfortunately). So, why not use them for home automation? A PLC (Programmable Logical Controller) can be used as a centralized home automation system but can also be configured with remote input and output islands. Most industrial controllers are guaranteed to have 10 years or more manufacturer support. Which is nice. Maybe a little bit harder to configure as a DIY home automation system but certainly worth the effort.
Posted in: Automation, DIY, Engineering.
Tagged: DIY · Home automation
It has been a while since I started with my home automation over IP project. There has been a lot of progress but also some changes in the original design.
Previous posts:
Home automation over ethernet
The home automation over IP controller
Software
Right now the micro controller board with the Atmega168 can read analog inputs, switch relays and dim LEDs using pulse width modulation. However no logical decisions are made by the micro controller.
To do the logics I made a client and server application with Java that’s able to run JavaScript files in a script engine. The Java application retrieves the values from the micro controllers, executes the JavaScript and sends the updated values back to the micro controllers. It acts like some kind of soft PLC, running on a simple language like JavaScript.
Because the JavaScript based soft PLC has no GUI I integrated an extra webserver in it. Now it’s possible to create fancy interfaces with Adobe Flash or any other development tool that’s able to get and send data over HTTP.
A complete cycle is as follows:
- retrieve IO status from micro controllers
- execute script
- retrieve modified IO status from script engine and put it in the IO buffer
- apply modifications received by the server in IO buffer
- flush the buffer to the micro controllers
- goto step 1…
To avoid to much load on the network a cycle is only ran once every 200ms. For industrial purposes this could be to slow but for switching on and of lights in your house this is fast enough. When pushing a button in a Flash movie the delay is barely noticed.
Hardware
Beside the point that the modules will not be build in to a housing that can be mounted on a DIN rail there are no changes on the hardware part.
Can I get the source and schematics from this project?
At the moment, no. It might get open source one day, it might be not.
Posted in: Automation, DIY.
Tagged: Ethernet · Home automation · ip · micro controller
Since this article is about a typical Belgian product (and its problems) I will write it in dutch.
Het Digicorder probleem
Veel digitale kijkers die gebruik maken van de Digicorder van Telenet ondervinden na enkele jaren problemen. Deze gaan van af en toe een melding dat de stekker uitgetrokken moet worden om alle functionaliteiten te herstellen tot het continu herstarten van de Digicorder. De garantietermijn van de Digicorder bedraagt 2 jaar en die garantietermijn blijkt net iets korter te zijn dan de levenstermijn ervan. Wat weinig mensen weten is dat je voor nog geen 3 euro de Digicorder zelf kan herstellen.
De oorzaak van de problemen
Hoewel je zou kunnen denken dat de oorzaak aan de software ligt is dit veelal niet het geval. De eerste firmware versies van de Digicorder waren niet de beste maar tegenwoordig is de software behoorlijk stabiel. Waar het dan wel fout loopt bij de Digicorder is de hardware.
Na het openschroeven van de Digicorder wordt het probleem meteen duidelijk. Zeven condensatoren die bol staan of zelfs uitgelopen zijn.

Overzicht digicorder

Bolle en lekkende elco
De oplossing
Continue reading →
Posted in: Computers, DIY, How-To.
Tagged: Digicorder · Telenet
While programming a micro controller for the home automation over IP project there’s a lot of trial and error involved. To make it possible to reboot the micro controller remotely by software I was experimenting with an infinite loop without resetting the watchdog timer.
Continue reading →
Posted in: DIY, Engineering.
Tagged: atmega · eeprom · micro controller
Finally some progress in the home automation over IP project. The controller is put into it’s housing, there is some firmware written and there’s also some progress on the computer software.
To make it possible to mount the controller in a common electric cabinet it will be housed in a DIN Rail mountable enclosure.

DIN Rail housing
To bring the micro controller outputs to the exterior I made a PCB using the toner transfer method.
Continue reading →
Posted in: Automation, Computers, DIY.
Tagged: Home automation · micro controller
For the home automation over IP project I needed a fast and easy method for creating printed circuit boards (PCB). After some research the “toner transfer method” seemed a solution to give a try.
Not being sure about the quality of the final result I designed the PCB with wide paths. This way a lack of precision shouldn’t be a big problem.

PCB Design
What you we need:
- a PCB design (obvious)
- a blank board (without photosensitive layer)
- magazine paper
- a laser printer
- an iron, preferably without steaming capabilities
- personal protection against chemicals (gloves, safety glasses and eventually a lab coat)
- glass or plastic bowl (never use a metallic bowl as etchant container!)
- etchant: HCl, H202 and H20
- thinner (acetone)
Continue reading →
Posted in: DIY, Engineering, Uncategorized.
Tagged: electronics · PCB · toner transfer
About a year ago I landed on a website about making pizza ovens. I wanted one too. Pizza ovens, or more in general wood fired brick ovens give a unique taste to the pizza, bread, cookies,… you make in it. Because of the higher temperature crusts become more caramelized.

Final result - Heating the oven
After doing a lot of research (read googling) I had build my own brick oven in my head and it was time to build it in real bricks. Since I didn’t make detailed plans or calculations I’ll just provide you the pictures. If you’re going to build a brick oven make sure it’s unique, don’t stick to a plan, that makes it even more special! And now, the pictures…
Continue reading →
Posted in: Building, DIY.
Tagged: Building · cooking · pizza oven
For my Home automation over Ethernet project I’m using an AVR micro controller. Several companies offer in system programmers for these controllers. Since I don’t need in system debugging a simple programmer will be enough form me.
The programming cable is a printer port cable (parallel, LPT) with some resistors to protect the port. I don’t use optical isolation, it’s a direct connection. This brings some risks but is cheap, very cheap.
To make the programmer I used an printer old cable, and soldered resistors on the end as follows:

All resistors are 220R. This cheap AVR programmer works great. To send the programs to the AVR’s memory I use Ponyprog, a free tool compatible with the programming cable.
Posted in: DIY, Engineering.
Tagged: AVR · Microcontroller
A lot of houses are equipped with a wired Ethernet LAN. So why install an extra network just to turn on and of a light bulb or dim a light? Wouldn’t it be possible to use an ordinary Ethernet connection to control our home appliances?
On my job I use ‘Industrial Ethernet’ everyday. It’s like your home LAN, but with more expensive switches and, in general, green wires and fancy connectors. The principles are the same, but for security reasons it’s separated from the office LAN. For home automation purposes it’s not necessary to separate the networks, actually it’s better to have only one network. That way I’ll be able to control the appliances from my computer.
My user requirements:
- Create a micro controller based module that ’speaks’ Ethernet.
- Make expansion modules to add relays, dimmers and inputs to the CPU.
- A user interface (VB.net and/or web based) to control the modules
- A computer service handling the logics (for time based switching etc.)
- …
To create the CPU module I’ll use a webserver board from http://tuxgraphics.org/, when the basics are programmed I’ll go on developping the hardware.
As enclosure for the modules I will use DIN-rail housings. This will not be the first concern, but size WILL matter while developping the printed circuit boards.
Things to do:
- Find the right programming and development tools
- Design PCB’s (probably with EAGLE)
- Make the PCB’s
The first two points on the short time to-do list are clear. The last one, the production of the circuit board, I’m not yet sure about. I never made a circuit board before. Will I use my CNC router do isolate the paths, make a UV box and use boards with a light sensitive layer or just find a company to produce the boards? I don’t know yet, suggestions are appreciated…
Posted in: Automation, DIY, Engineering.
Tagged: domotics · Ethernet · Home automation · LAN · Microcontroller
There are several reasons to extend a VGA cable. A Media Center PC is a great tool to manage your music, movies, pictures etc. To avoid a noisy computer blowing in your ears while watching a movie a VGA extension cable could be a great help. Mounting your home theatre beamer on the ceiling is a good idea, but how to get there with the VGA signal? Extend it using cheap cat5 UTP cable!
Connect the cables as listed in the following table. Wire both connectors the same way.
| Pin |
Signal |
CAT5 Conductor |
| 1 |
Red |
Orange |
| 2 |
Green |
Green |
| 3 |
Blue |
Blue |
| 4 |
|
No Connection |
| 5 |
Ground |
No Connection |
| 6 |
Ground |
Orange/White |
| 7 |
Ground |
Green/White |
| 8 |
Ground |
Blue/White |
| 9 |
|
No Connection |
| 10 |
Ground |
No Connection |
| 11 |
|
No Connection |
| 12 |
DDC DAT |
No Connection |
| 13 |
Horizontal Synchronization |
Brown |
| 14 |
Vertical Synchronization |
Brown White |
| 15 |
DDC Clock |
No Connection |
The only drawback is the slightly notable ‘ghosting’ as a result of the difference in impedance with a regular VGA cable. With the extension I use (12m) the ghosting is only visible when showing black text on a whte background. But since the beamer is only used to watch movies, television and pictures I never had complaints about the quality. If you really want to improve the quality, an STP cable could be the solution.
Posted in: Computers, DIY, How-To.
Tagged: cable · media center · utp · vga