I do several little displays based on DMX systems, and it would be great if they could be made a little interactive by push-buttons.
I already did some testing with the DMX711 product from DMX4ALL but this has limitations. With these limitations in mind I started thinking what would be the most simple and flexible way to change the DMX signal with a little pushbutton.
This is what I came up with:
A simple PIC / AVR controller which could simultaineously recieve and transmit a DMX signal with an pushbutton on one of it's inputs. When the pushbutton isn't pushed the transmitted DMX signal is the same as the recieved signal.
But when the button is pushed, there is a "routing/patch" table applied (which is hard programmed into the micro) to the input signal, so the input channel numbers of DMX signal (and their values) are different from the output.
For instance:
I have two RGB lights which I's like to "control" with this push-button. These lights are on DMX channel 1,2,3 and 4,5,6 , I run a display on DMX with the lights programmes at channels 1,2,3,4,5,6 and an alternative programming at DMX channels 101,102,103,104,105,106. When the button is pressed the micro should output (with programmed routing) channels 101..106 form the input on 1..6.
I think there are for holidaylights numerous apllications for such a thing, maybe sometning special at the giftbox at christmas, or for "controlling" DMX equipment in a haunted house.
I think its something which shouldn't be too difficult to program, but I am not a prorgammer capable of writing this software myself. Thats why I ask here if somebody capable of writing software for microcontrollers sees something in such a project and would spend time in writing this software for a microcontroller.
Is your description backwards? You have channels 1-6 and 101-106 programmed in Vixen. When the button is not pressed, the lights respond to 1-6. When it is pressed, the box takes the inputs on 101-106 and moves them to 1-6 for the lights. I think JEC had something like that.
It's not too hard; 2 75176 transcievers and an ATMega8 (or suitable PIC) should do it. The interesting trick would be to have a way to program the patch table rather than hardcode it.
/mike
I think this would be a cool idea if someone had the where with all to manage it.
Yep. Couple hours of firmware tweaking and it's done, based on some code bits already laying around.
I like the PIC 18F4550. Lots of space + USB interface for configuration, bootloading, etc. But in the end, they're all just tools.
My approach for programming the patch would be a 2x16 LCD and a couple pushbuttons.
$20 in parts, $50 for PCB setup fee, then circuit boards for $8 or so each, development time, pain and suffering excluded.
NB! I'm just an embedded guy who can hardly make a PC say 'Hello, World!" So I approach many of these problems from a fairly narrow and biased perspective.
--------------
EDIT: Hah! It occurs to me that the 'DMX Offset Machine / Router' boards I ran last summer have pads for a small pushbutton switch already. No LCD though. But it's got an isolated DMX RX section, a nine-position DIP switch , a couple diagnostic LEDs and an RS485 transmitter all built in. There's a stack of assembled boards and a stack of bare boards on the shelves in the shop. Hmmmmm.
We talked about this design starting in about post #13 here:
http://doityourselfchristmas.com/forums/showthread.php?t=2879
As I see the other project it should only be some firmware tweaking.
An (detachable) 2x16 LCD with pushbuttons for programming is pure luxury. I had the programming "routing/patching" trough hard-programming in mind. I think this has the most possibilities in remapping the channels, and to choose for each output-channel which input-channel is used. (Creating the possibility to have one DMX-channel on multiple outputs when the button is pressed)
What I had in mind as hardware:
- 1 x Microcontroller
- 2 x 76176
- 1 x ICSP connector
- 1 x Pushbutton (connector)
- DMX-in & DMX-out connector
- neccesary compunents to make it work
This is pretty much the "DMX Offset Machine" hardware.
It would be great if you could look in the code-bits you already have if this is possible.
