3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Automated Lighting Using DMX and Perl

Automated Lighting Using DMX and Perl
Why automate your lights?
Well, to be honest, most of my house is automated, so it seemed the obvious thing to do.
There are lots of benefits in automating parts of your house, lighting in particular just makes life easier, lights coming on when you walk into a room is better than switching them on yourself! ....and because they turn themselves on, they turn themselves off too, so you can't forget!

Hopefully there is enough information here for most, but if (like me) you love detail, you'll find more information on my page http://www.yourmissus.com/lighting/

Cheers
-Dan
 
Remove these adsRemove these ads by Signing Up
 

Step 1Installation

Installation
«
  • singleswitchclose2.jpg
  • singleinplace.jpg
  • singleswitch.jpg
  • singleswitchangel.jpg
  • temperaturesensor.jpg
  • serialanddmxports.jpg
  • doubleswitch.jpg
  • doubleswitchclose2.jpg
  • doubleswitchclose.jpg
  • last photo ←
»
Ok, lets start at the light switches themselves.
Each room has either a double (two lights) or a single dimmer control mounted on the wall.
The pictures below show the dimmer control units mounted in the wall, you'll see they are still unfinished, I'm unable to find suitable looking knobs, like the simple white ones you get on a standard dimmer, so until I do, there are none.

These 'control units' look just like standard UK single blanking plates with variable resistors sticking out of the front, and that's because that is what they are!
Below are some pictures showing the insides of these units:

First the single dimmer.
You'll notice also that there is a small black device at the bottom of the unit:

This is a temperature sensor that I use to control the heating, it uses the same enclosure as the dimmer units and the same run of cabling, but they are two separate systems.
The double units are a bit more busy inside, but essentially just two singles in the same box.
« Previous StepDownload PDFView All StepsNext Step »
20 comments
Feb 18, 2012. 5:24 PMflyingfireguys says:
GREAT STUFF I love it.

Could you Feed the dimmer Packs From a "Master Dimmer Pack".

It would work the same but if you wanted to turn all the lights off in your house you turn the master dimmer packs off?
Oct 10, 2009. 2:26 AMadrumsolo4u says:
this instrucable is great!

one suggestion i have is for your manual system. you could go with a "manual override" routine, where you would have two buttons on each wall plate. one for shutting off the lights and one for turning them on at a pre-determined intensity.

you would have to run each control to your computer, which would be quite an ordeal given your setup, but with a good end result. you could simply push a button to turn off the lights when going to sleep, and if the system ever had a malfuntion in movement detection, an "on" button would be the perfect backup.
Jun 20, 2009. 6:23 PMvan johnson112 says:
So each of those plugs that are plugged into the dimmer packs are a separate room?
Jun 21, 2009. 1:05 PMvan johnson112 says:
That is so innovative. Bringing DMX where mostly used in theater and commercial applications into the home and automating it. Being an electricianI think this is awesome. One thing I wonder is, is each dimmer pack on its own circuit and if so what is the amperage rating.
Mar 22, 2009. 8:13 AMvodo says:
where did you get the Serial to DMX conversion box?
Apr 14, 2009. 4:17 PMstephenniall says:
5/5 Very good
Jun 9, 2008. 8:10 PMyokozuna says:
Very well done sir, excellent pics and instructions, I give you 4 1/2 stars. You should also include the entire code for people (like myself) who can't program so they could still do the project. Also, any estimate on how much this cost to build?
Apr 23, 2008. 12:15 PMMisterSlippy says:
Because I live in rented accomodation, I had to go with X10. I can't begin to describe how awful it is. I have to think up a wired solution that's removable ... and cheap, lol. Man, if I had my own place, the walls would be so full of cabling, there'd be no room for spiders! Cool instructable, btw.
Apr 20, 2008. 2:52 PMGorillazMiko says:
Oh man, this looks extremely complicated.
Apr 22, 2008. 7:19 AMPasketti says:
Yeah. X10 is simple and easy, but it's not as reliable as I'd like. Depending on how things are wired, controllers on one circuit may or may not be able to control devices on another one. There is a device that can fix that, but the X10 switches aren't compatible with the CF bulbs we installed, so I had to uninstall the whole thing. Plus, X10 dot com really horked me off a few years back with their ubiquitous and annoying popup ads, and I decided to stop giving them money. If I ever get to build a house from the ground up, I'd like to install intelligent switches and outlets all over the place. One of these days...
Apr 20, 2008. 12:36 PMErik Lindemann says:
I've been inspired. This is a great instructable. You've got my vote for the Green Science Fair.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
17
Followers
4
Author:toastyboy
I'm fairly mint most of the time I'm a firm advocate of treating people how you would like to be treated yourself. People are always nice to me, so it must work! Try it!