Greetings -
I'm working on a prototype of what I think is a new piece to the Vixen/Renard chain of communications. I started to post this in the thread about Art-Net DMX but feel it is a separate project that will stand or die on it's own merit.
I'm working on an 18F67J60 ethernet server that will be driven by a custom output plugin for Vixen. The protocol between Vixen and the server will use a modified version of ModBus. ModBus is a standard used in the industrial control arena. I already have ModBus-TCP working on the 18F67J60. Modbus works with either binary on/off or 16 bit digital. I will add a custom command set that supports 8 bit digital to match the Renard dimming range.
The ethernet server will then communicate with 4 (or 8) slave PICs via SPI. Each PIC will have sufficient buffer space to hold over 1500 units control codes so it will be able to buffer an entire update sequence. Each PIC will then use it's EUSART to communicate via RS-485 to a chain of Renard controllers.
All configuration and monitoring will be performed via HTTP.
So, theoretically, this would allow one ethernet connection to serve 4 chains of 1500 units or 6000 units. This is just the theoretical maximum but it will be tested with that max (at 115.2k, 100ms) and/or the maximum that will occur with a 25ms refresh rate. If possible 8 chains would be allowed but that may require more bandwidth and processor power and may require a PIC32 based unit.
My thought for a project name would be Renard-eDemux4 (Renard Ethernet Demultiplexor 4 channel). Of course only if that will be acceptable to Phil and the developers of the Renard protocol.
The plugin could, of course, service multiple units so the controller load could be spread across multiple servers for a practically limitless unit count.
Please give me some feedback on whether this is desirable, viable, or a complete duplication of another project.
Source will be open, project board will be for sale, BOM for co-op, or a kit for sale. (all subject to DIYC rules).
-Ed
sounds like a great project.. love to hear how you progress .
so these boards, will they just plug into a normal network port/hub switch?
Smartalec -
10Base-T RJ45 Ethernet cable (1000ft). I recommend connection to a 10/100 switch. That way one 100Base-T to your PC with multiple connections to the demuxers. Recommend a private/isolated LAN to protect bandwidth.
Ed
j1sys wrote:Smartalec -10Base-T RJ45 Ethernet cable (1000ft). I recommend connection to a 10/100 switch. That way one 100Base-T to your PC with multiple connections to the demuxers. Recommend a private/isolated LAN to protect bandwidth.
Ed
cool, i've got loads of hubs an switchs laying around in the back room.
if the whole of your system was fully operational, whats the amount of data k/sec or m/sec it would pull?
now how does vixen talk down the lan port? is there a plugin or driver for it?
According to Microchip 77kbyte per sec. 6k units x 10 per sec (100ms) needs 60kb. So with overhead it may almost make it. I really expect practical use to be much lower so the it should be a good fit.
Vixen will need a new output plugin which I will provide.
Ed
p.s. This should be great to hookup all existing Renard units. If it works I'll also do direct drive Renard-e64, Renard-e128, Renard-e256 units with built-in dimmer controls. They won't daisy chain but be direct Ethernet to each board.
