One common way is to use a non-0 start code to tell your device that the first two channels have the new start address. Maybe we should standardize on what start code to use.
/mike
n1ist wrote:One common way is to use a non-0 start code to tell your device that the first two channels have the new start address. Maybe we should standardize on what start code to use.
/mike
Technically there is a standard its called RDM (a project I'm working on now uses it). However if you don't/can't follow the standard then go here and find an open spot.
http://www.esta.org/tsp/working_groups/CP/DMXAlternateCodes.php
DynamoBen wrote:Why are there two RS485 transceivers? Are you planning on regenerating DMX?On the receive side I'm not sure what the story is with diodes and all the resistors, none of that is needed.
All you need for basic DMX is 1 transceiver and two connectors. Get rid of all the fun diodes and what not on the RS485 data side. Also DMX isn't just serial there are some timing things you will need to sort out. There are a number of ppl that could help or share code.
Finally addressing, you could do dip switches since you have plenty of open pins. Typically I use a shift register to get things down to only 4 pins, but its up to you. Also you could use RDM or some other custom solution, remember you will need to provide uses a way to program the address then.
I think I see some of the confusion. You need to decide if you are doing TRUE DMX or Renard Style DMX. It will effect your software AND hardware. I would do TRUE DMX.
If doing TRUE DMX then one transceiver, pass through connector, address selection required. Although a daisy chain, TRUE DMX is a bus and everyone is listening to all data.
If doing Renard Style DMX then two transceivers, two connectors, and no need for address selection. Renard Style DMX is a daisy chain that strips out the first 'x' slots and regenerates the DMX for the next guy in line.
Either way, IMHO, the diodes and resistors (except the 120 ohm) are for RS-232 and would not apply to either DMX style. Also if doing TRUE DMX the 120 would need a jumper. It should only be active on the last unit in the physical daisy chain. For Renard Style DMX each chain is an isolated RS-485 pair.
-Ed
Also on a re-read of your post. You are 'planning' on using Art-Net over Ethernet for DMX. Don't be confused. Without a box like my new unit (this is not a plug) you won't be able to get the data down to DMX RS-485 levels.
However the project as a DMX device CAN be used by anyone with standard USB->DMX hardware/software in their arsenal.
-Ed
