DMX light control for home automation


Generally, the only time I’ve ever seen DMX in use is for stage productions. [Dan] sent in his home light control project – he used a RS-232 to DMX interface and a bunch of commercial DMX dimmers. His light switches were replaced with potentiometers connected to the system via CAT5 cabling. The POTs send 0-10v up the line to the dimmers, and the manual control can override the automated(DMX) settings. The system is simple, robust and responsive – avoiding the delay pitfalls usually incurred by systems like X10.

Comments

  1. tony says:

    WOW. His place looks pretty sweet. He needs to automate his fridge to send him beers all over the house.

  2. atrain says:

    If I recall correctly, normal household dimmers use triacs/scrs to do the dimming, with a standard pot as the control. This means that the whole dmx dimmer system could have just been normal household dimmers, and digital pots hooked to the server. Would probably cost somewhat less than a professional dmx solution. Also, there would only be 1 line going to the control unit, not both the pot and the light itself.

    Still awesome though.

  3. computerwiz_222 says:

    Did anyone notice the plumbing located next to his mess of a DMX server?

    Nice setup tho ;) You must work on stage in lighting or something… You have a very clean DMX installation.

  4. Joey Y says:

    Soundlab’s 4 channel dimmers can be had for about $75. Lowes sells (single channel) household dimmers for $10-$25.

    So, it is not _too_ expensive (especially if he recently upgraded a theatre and had these left over), and it has a pretty high cool factor.

    Good work [dan].

  5. MRE says:

    atrain – yes standard dimmers are triac based, but your idea wont work as you think. The goal of using both DMX and the 10volt signal was to allow in room control as well as automated.
    in a normal household dimmer, the pot controls pulses to determine ‘on time’ (maby its off time, I dont *exactly* remember).
    In order for the automated server to take over, an override switch would need to be added to the dimmer module, in order to route the automated signal to the triac and bypass the pulse signal from the module’s internal logic. This would involve complete dissasembly of the module and likely some extensive mods (at the very least, cutting wires/traces and adding a few components.)
    Ultimately, it would be cumbersome, as the home user would almost always leave the switch in ‘room control mode’ for practical daily living.
    a completely custom made dimmer module might be a better solution, but at the very least requires bi-directional talk (dimmer to server: “someone is turning my knob. dont dim me out.”) and would be an expensive, ‘per knob’ solution.

    All in all, a pasive remote as done here is the *best* solution (tried and tested in thousands of performance spaces around the world.)

  6. MRE says:

    also, a digital pot would give the server a way to *read* the pot value on the dimmer, but not a way to *affect* the value on the dimmer without a complete overhaul of the dimmer unit and a bidirectional communication line.
    digipots come in multiple formats and price ranges (as well as levels of intelligence, communication format, etc). a digipot that models a mechanical pot (with endstops for Off and full on) would need the ability to turn itself based on the data from the server thus representing in the real world the value given. These are quite expensive. Especially when talking about fitting the whole house with them.

  7. atrain says:

    ok. 3 wires from board, 3 wires to pot (for watching if someone is playing with it), 2 wires control relay that swaps between digital pot + normal pot. thats 8 wires, perfect for CAT5 cables. A 4ch dmx dimmer is $125. Go to Analog Devices, digital pots are 50c -> $1, ADC’s can be had for $5 (for determining if pots being used). Household dimmers are $15. $60 + $20 + 4 relays = $100ish, and now don’t have to send power back from wherever the relay is located.

    I’m biased towards my schematic cause this seems to be a great project to do, and I already have dimmers and relays and don’t want to go out and buy a new set wrapped in a pretty metal box.

    BTW: Can’t access / on his server! Is this the only page he has? I want to see how he detects when you enter/exit a room, that sounds like fun!

  8. adam says:

    he could put a rotary encoder at the light ‘switch’ and have it tell the server to turn a light up/down. it might also be a good idea to put a backlit push button. When you move the encoder the software detects it and puts the light in manual mode. When the light is in manual mode the server tuns the push button’s backlight on. To switch the light back to auto you push the button and the backlight tuns off.

    This would let you have a software ‘admin’ app which could toggle the manual/auto state. Which would be handy if you left a light in manual mode and don’t want to get up to change it. :p

  9. Dan McGrath says:

    Thanks for the comments guys!

    The dimmers I used aren’t as expensive as you would think, about £50 each – and for that you get 4 channels! A normal dimmer here is about £7 (for 1 channel) so the extra cost isn’t that great.

    I intend to post more HA stuff, as the rest of my house is automated too, the heating (all that plumbing you can see) is probably the most impressive (I think)

    Anyway, glad you enjoyed it, and thanks for the positive comments.

    -Dan

  10. William Munns says:

    DMX is dead easy to read with a PIC, the signal is a standard UART form but sent over balanced line RS422/485. The form of the signal is – Line held low (break) which will read as an overrun, then the line idles (high) and then the data comes as a byte stream with the channels identified by their order (start counting at zero).

    a very simple protocol which simply repeats, so no need for error checking as the data is corrected on the next pass

  11. Dirk says:

    I’m a theatrical lighting designer, and working on ohio this summer we decided we wanted a DMX toaster.

    so, someone get on that.

  12. stefan says:

    @11: dirk, all you need is 2 par cans face to face.

  13. dan c says:

    Does anyone have a DIY computer->DMX (not necessarily RS-232) that they can recommend?

  14. Alfie says:

    Interesting project.
    I’m curious about how you interfaced your home wiring into the system Dan. Is it through receptacles and cords? Or through a bunch of J-Boxes?
    The single light sensor seems a touch inadequate, if you have a basement it is probably always darker than your upstairs and if programmed in the same line as the upstairs might then not come on when you needed it too.
    As far as knobs go- try this as a starting point-
    http://www.hdsupplysolutions.com/webapp/wcs/stores/servlet/ProductDetailsDisplayView?langId=-1&storeId=10051&catalogId=10051&rstate=336413-1&req=catalog
    As an electrician I find rotory knobs distasteful- I would rather see slide fader.

  15. RidoKilos says:

    I work with stage lighting and it’s pretty safe to say that all of that is completely unnecessary to ever have DMX in a home. I want it.

  16. LoopyMind says:

    So I take it he’s not using Energy saving light bulbs… seeing those are a pain/impossible to dim…

  17. Brian says:

    I personally prefer Vantage lighting control systems (vantagecontrol.com). Super easy to install, set up, etc.

  18. MRE says:

    DIY DMX in the interweb begins and ends with http://www.dmx512-online.com/

    I used to be a long time lurker there.. even built the ISA dmx interface card (no longer on the site?) a long time back.

  19. Kaijuu says:

    Nice setup. A pity you can only use regular incandescent light bulbs with systems like these; not very energy-efficient.
    I thought of building something similar, but went for a remote with a bunch of relays instead, as all of my lighting is either LED’s or Energy-efficient.

  20. It may be robust, but when you consider the cost and complexity of getting this going versus a second generation system like Insteon or Z-wave, this doesn’t seem so hot.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 92,003 other followers