Re: DMX controler
RGJones wrote:This is not necessaraly Christmas related (it could be), but I figured this would be the best place to start. Would a 16 channel DMX receiver be an easy build. By receiver I mean just a board to receive DMX and convert it to low voltage contacts, to be used in any way you wish. I know that there have been things designed that are similar ( RJ's Lynx for example) but are designed specificly for christmas lights. I also know that you can buy things like this from places like Velleman but these are much smaller and much more expensive. Basicly I am intrested in being able to design my own DMX devices but I do not know how the DMX to Analog conversion works but would love to learn. I know you guys know and are very good at it. Any feedback is apreceated.Rob
Hi Rob. My project ( link below ) is pretty much what you are asking to do.. Its only 6 channels, but pic chips are cheap, so use 3 to get 16 channels.. Highly modular, and easy to adapt.. the idea this board is a 'receiver/controller' module, and you can use it for a whole different purposes..
http://www.doityourselfchristmas.com/forum/viewtopic.php?t=2199
Thanks for the feedback all. Mr packethead, that is almost exactly what I am talking about. I do have some questions though. Can they be made in a one channel version, like for a fog machine. Also just like in your thread I wish to make a RGB design too. Along the same lines as you also I think having just the tranceiver on a board all by itself makes for a much more universal control options. Thanks.
Rob
RGJones wrote:Thanks for the feedback all. Mr packethead, that is almost exactly what I am talking about. I do have some questions though. Can they be made in a one channel version, like for a fog machine. Also just like in your thread I wish to make a RGB design too. Along the same lines as you also I think having just the tranceiver on a board all by itself makes for a much more universal control options. Thanks.Rob
Probably.
Another approach (similar to MPH's solution, but with a different CPU) can be found at http://www.hoelscher-hi.de/hendrik/english/switch.htm
If you remove the DIPs used to set the start address (and instead set it by programming the EEPROM with an ICSP programmer) and remove all but one output, you could probably easily use one of the (much cheaper) ATTiny series rather than the 40-pin ATMega used in the page above. Maybe even one of the 8-pin Tinys? (Although at that point the differential receiver would be a significant part of your cost, but there might be ways around that too...)
JEC also has a pending coop comming for his board.
http://www.doityourselfchristmas.com/forum/viewtopic.php?t=2278
Just to show you what I was thinking of I found this picture (below). It is a really nice small module but at $155.00 😯 it is insanely expensive. I figured it would be much cheaper and not too hard to build one. After reading a lot and searching the internet I have concluded that I could defiantly do the hardware part of the build but the software for the PIC is where I seem to get lost. I have no idea how to write it or what needs to be written in. I assume I could modify a firmware that has already been used but would it be hard to change from its intended aplication to mine? Does my logic seem right for this?
Rob
EDIT: Forget the picture

defiantly? Is that Freudian slip?
--
Phil
A What? I got the picture off of Blue Point.
Entropy wrote:
If you remove the DIPs used to set the start address (and instead set it by programming the EEPROM with an ICSP programmer) ...
Good lord you people have something against dipswitches. What did dipswitches ever do to you. 😉
RGJones, I have DMX code for the 16F628 that controls 2 relays (could be more). I could send you the code if you don't want to mess writing your own. I also have code for controlling a fogger. My code use dipswitches for starting address because I don't feel like reprogramming the PIC just to change the starting address.
RGJones wrote:Thanks for the feedback all. Mr packethead, that is almost exactly what I am talking about. I do have some questions though. Can they be made in a one channel version, like for a fog machine. Also just like in your thread I wish to make a RGB design too. Along the same lines as you also I think having just the tranceiver on a board all by itself makes for a much more universal control options. Thanks.
Rob
the board itself will drive up to 6 channels.. If you choose to use just one, thats fine.. for the RGBW board, i'll be using just 4...
I'll be doign a dc motor controller, and that will using four outputs, to drive four FETS of a H Bridge Design..
I'm also contemplating a dimmer design, for 4 channels.. One of the other o pins will get reversed and used as an input for Zero crossing detection..
Very flexible..
Cost is looking at about $5 for PCB and components.. I'm just about finished that.. Cost to run of a couple of hundred pcbs of of china is not expensive at all.
The PCB's will come in 'sheets', with 'v-scores' on them, so you can load components for multiple boards, bake them in your reflow oven, skillet, or if you want hand solder them...
Both Ideas are very good but I do want DIP switches because I don't have any clue what channel it would be on each time I use it. I might start designing a board with an onboard transfromer to power the relays and the chips so it will fit nicely in the fog machine. And Ben I will take you up on your offer of the code, I won't use it yet because I don't have anyting to put it on but I do want to see what a code looks like and yours is a great example. 😀
Rob
