6 Port E1.31 Bridge

details

The 6-port E1.31 bridge is a device that allows your PC to communicate with a large number of Renard or DMX controllers using regular Ethernet network connections. It replaces multiple DMX or RS485 dongles with one configurable device that can be mounted in an enclosure in the yard and only requires one Ethernet Cat5 cable (or WIFI) back to your pc or home network. It allows up to 6 DMX universes or Renard networks to be easily controlled from your sequencing software with a minimum amount of wire from your show pc to your controllers. The bridge works with all Renard, DMX and LOR (using DMX) controllers.

E131bridgelayout1.png

The 6-port E1.31 bridge is a device that takes in an E1.31 stream from your network and converts (or ‘bridges’) that to multiple DMX or Renard output streams. E1.31 or sACN (Streaming Architecture for Control Networks) is a method of multiplexing multiple DMX streams over your network using unicast or multicast UDP packets. The 6-port bridge currently supports multicast and unicast streams. Multicast makes it simpler to configure but has drawbacks in very large configurations (10’s of streams). E1.31 can support 63,999 DMX streams or ‘universes’ (64000->65536 are reserved) so it has a virtually unlimited amount of expansion available.

The 6-port bridge can handle up to six E1.31 universes, each of which get directed to a particular port. By default the bridge is configured to send universe ‘1’ to port number 1, universe ‘2’ to port number 2 and so on but you can assign any of the 64k universe numbers to any port if you wish. The bridge takes in the particular universe stream and either outputs it directly out each port for DMX output or it performs a conversion to Renard protocol. The protocol used depends of course on what you plan to use for controllers on the ports that you have configured. You can configure any mix of DMX and Renard protocols to any port.

The bridge has another feature so that each physical output can be re-wired to support either a “standard” DMX RJ-45 electrical output or a Renard electrical output without resorting to making custom cables to support either. The output of the bridge is always RS-485 in either case. Note that regardless if your Renard controller is running standard Renard/Serial code or Renard/DMX code, the jumpers should always be configured for Renard since the physical interface does not change.

How does the 6 Port E1.31 Bridge work?

As mentioned above, the bridge takes in a multicast E1.31 UDP stream, determines which stream belongs to which port (if any) and sends that data out the appropriate port. The E1.31 stream enters the bridge via an Ethernet port on the Wiz820io module and is converted to a serial signal that is sent on to the Propeller microcontroller chip. Your sequencer or streaming tool sends multicast packets with an address of 239.255.<UHB>.<ULB> where UHB is the Universe high byte and LHB is the Universe low byte. As an example, the address for universe ‘1’ would be 239.255.0.1. This is why using multicast addressing can be simpler to configure since this address is always the same for any device using that universe. The disadvantage of using multicast is that the packets are sent to every device on the subnet regardless if they are destined for it or not. This means the receiving device must read in the header for each packet or have the means to block these within hardware. Depending on the device and the number of universes of data sent it can swamp the device and possibly end up causing a loss of data. Note however that this is not an issue for most networks until you get into the dozens of universes so it’s not an issue for most users.

Unicast is another method of sending E1.31 packets. For this method, the IP address used to manage/configure the device is also used for the data packets. In this case, the packets are sent directly to the device instead of being broadcast across the entire subnet.

The Parallax Propeller microcontroller determines if the address matches one of the configured ports universe numbers and if it does, reads in the entire DMX stream and sends them out that particular port either as-is or after conversion to Renard protocol. The Propeller chip is quite powerful, it is essentially eight separate microcontrollers in a single package. These internal processors or COGs as they are called can each run completely different (or the same) code. This allows you to partition different functions to different COGs within your code. For more information on the Propeller, visit the Parallax site.

For the bridge, the COGs are used to support both the multiple input processing as well as the six port output processing.

E1.31 Networking Basics and Setup

For more information about how E1.31 works and how you wire up the IP networking side of an E1.31 Network look at E1.31 Protocol

Revision History

6 Port E1.31 Bridge Parts

To build the E1.31 Bridge, you need 4 things:

  1. The PCB
  2. The parts to solder on the board, also known as a BOM (Bill Of Materials).
  3. A power supply to power the board. The board can use any 5-24VDC power supply.
  4. An enclosure to mount the finished board in. Commonly used enclosures include the CG-500, CG-1000 or the CG-2000 which are available from several vendors

The BOM parts needed to build the board are:

Mouser BOM
Part IDMouser PNDescriptionQty
R1-R3291-220-RCCarbon Film Resistors – Through Hole 220ohms 0.053
R4-R9291-120-RCCarbon Film Resistors – Through Hole 120ohms 0.056
R10-R12291-10K-RCCarbon Film Resistors – Through Hole 10Kohms 0.053
C1-C3140-REA470M1VBK0611PAluminum Electrolytic Capacitors – Leaded 35V 47uF 20% 6.3x11mm3
C4-C12581-SA105E104MARMultilayer Ceramic Capacitors MLCC – Leaded 50volts 0.1uF 20% Z5U9
IC1619-P8X32A-D4032-bit Microcontrollers – MCU DIP pkg Propeller Chip1
IC2579-24LC512-I/PEEPROM 64kx8 – 2.5V1
IC3-IC8511-ST485BNBuffers & Line Drivers Hi-Spd Lo Pwr Trans6
IC9579-24AA025E48-I/SNEEPROM 2K 256 X 8 1.8V SERIAL EE, IND1
X1520-HCU500-20XCrystals 5MHz 20pF1
Wiznet950-WIZ820IOEthernet Modules W5200 & MAG JACK ioPLATFORM MODULE1
LED1604-WP7113GD604-WP7113GD1
LED2-LED3604-WP7113IDStandard LEDs – Through Hole HI EFF RED DIFFUSED2
VR1580-OKI78SR5/1.5W36CDC/DC Converters 7.5W 24Vin 5Vout1 1.5A SIP Non-Iso1
VR2511-LF33CVLow Dropout Regulators – LDO 3.3V 0.5A Positive1
Heatsink532-577202B00Heat Sinks TO-220 HORIZ/VERT SLIM CHANNEL STYLE1
S1-S2653-B3F-1000Tactile Switches 6X6 Flat 4.3mm Btn Force 100g w/o Grd2
IC Socket 1575-199640IC & Component Sockets 40P TIN PIN TIN CONT1
IC Socket 2 – IC Socket 8575-1104331610003000IC & Component Sockets 8P DIP SOCKET SOCKETS7
JP1571-826629-3Headers & Wire Housings 3P SINGLE ROW1
H1571-826629-4Headers & Wire Housings 4P SINGLE ROW1
Wiznet 1×6 Header517-9601066202ARHeaders & Wire Housings 6P STR SR BDMNT SKT 3.0MM TAIL/7.1MMBODY2
2×3 Output Selector855-M20-9980345Headers & Wire Housings 03+03 DIL VERTICAL PIN HEADER GOLD HT12
TB1571-2828372Fixed Terminal Blocks 5.08MM PCB MOUNT 2P1
J1-J6571-5556416-1571-5556416-16
Output Shunts517-9691020000DAHeaders & Wire Housings 2.54MM SHUNT25

You can buy the parts directly from Mouser: Click here for Mouser Direct Project BOM or The BOM is also available at a discount in a kit that includes the PCB from DIYLEDExpress.com

Building the 6 Port E1.31 Bridge

The 6 Port E1.31 Bridge requires a fair bit of soldering so take your time and ensure you install the components in the correct orientation when required. Start by sorting the components by type and values. Look over the PCB before starting noting the location of the various components. Follow the standard procedure of installing the lowest profile parts first and ending up with the tallest.

E1 31Bridge.png

 

Sourced by http://www.doityourselfchristmas.com/wiki/index.php?title=E1.31_Bridge

COMMENTS

Please Login to comment
  Subscribe  
Notify of