DMX-over-ACN
 
Notifications
Clear all

DMX-over-ACN

11 Posts
5 Users
0 Reactions
6,160 Views
mrpackethead
Posts: 2283
Topic starter
(@mrpackethead)
Famed Member
Joined: 19 years ago
[#2048]

Moved Post:

Now thats nice (DMX-over-ACN).... Ethernet with microchip pics is'nt too hard now..

Ethernet switches are cheap as well., and every pc these days has an ethernet port.. no need for developing usb-dongle things.....

I might have a look see at this over the next coming little while


10 Replies
Posts: 386
 JEC
(@jec)
Reputable Member
Joined: 19 years ago

You speak ethernet?


Reply
mrpackethead
Posts: 2283
Topic starter
(@mrpackethead)
Famed Member
Joined: 19 years ago

personally no i dont' speak ethernet.. . i don't think you can have an ethernet port transplanted into your body yet. But who knows that might be implemented soon.

Seriously , yes pics and ethernet are are not hard to implement. I did it to monitor the level of the dam, up at the top of the hill. ( we depend on it for irrigation, firecontrol and power generation ).. I'd already build a wifi repeater up there ( solar powered ) so an ip option was easiest.

Theres a bundle of app notes on microchip, i can dig out some stuff for you if you want.


Reply
Posts: 2629
(@dynamoben)
Famed Member
Joined: 19 years ago

To be honest I'm pretty green with anything Ethernet from the development side. I thought about going that way with some projects and what scared me off was having to create/load a tcp/ip stack.

I have not revisited the topic until recently. A month back I received a chip from WizNet that has the stack built in. Basically I treat the device like any other SPI interface grabbing data as it comes in.

While I'm not a huge fan of USB it’s easy and cheap. Ethernet is not quite there when it comes to smaller microcontrollers. It is still relatively expensive, and fairly complicated and a bit resource hungry especially if you want to do other things at the same time.

With all that being said if I successfully finish my DMX dimmer project my next goal is to make it an Ethernet dimmer; only time will tell. 🙂


Reply
mrpackethead
Posts: 2283
Topic starter
(@mrpackethead)
Famed Member
Joined: 19 years ago
DynamoBen wrote:To be honest I'm pretty green with anything Ethernet from the development side. I thought about going that way with some projects and what scared me off was having to create/load a tcp/ip stack.

Microchip did all the hard work for you, there stack works pretty solidly and you can use it without royality.. i can't remember exactly but i'm pretty some of the other popular chips have done similar..

magnetics for the ethernet used to be the expensive bit.. but now you can buy the transformer and rj45 jack all in one for $2 or so.. most implementattions (including microchip) offload the ethernet to a seperate chip.. ( via spi ).. I played with microchips picdem boards.. and was off from there.

http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en027750


Reply
Posts: 2629
(@dynamoben)
Famed Member
Joined: 19 years ago

I'm aware of the hardware involved (ENC28J60). I'm also aware that microchip has a free tcp/ip stack. However microchip's stack in written in C, which I don't program in. Furthermore there are only a limited number of microcontrollers in their line that have the horsepower to do Ethernet right now and they tend to be pricey. In the end it was "too much work for too little effect."

Since then I've started using the Parallax Propeller. It has the horsepower and the codebase required to do Ethernet without all the hassle. This will most likely be the direction I go in the future.


Reply
NogginBoink
Posts: 482
(@nogginboink)
Honorable Member
Joined: 19 years ago

'Ethernet' isn't necessarily the hard part... It's the IP/UDP layer that adds the code complexity.

The ENC28J60 will handle the Ethernet physical layer, but the IP stack is still in the hands of the microprocessor. I think Microchip has a rudimentary IP stack for the PIC chips... is there a similar stack for Propeller chips?

There's a *lot* to think about when implementing an IP based solution.

The WizNet W5100 product might be a better foundation for an IP based solution. It handles a lot of the IP layer for you. ( http://www.ewiznet.com/ )


Reply
Posts: 2629
(@dynamoben)
Famed Member
Joined: 19 years ago

Actually I have and plan to use the wiznet. Already ahead of you. 😉


Reply
Posts: 8
(@phj426)
Active Member
Joined: 19 years ago

With the use of a TCP/IP protocol for communication is it possible to address more than 512 devices using a "DMX" type code.

I say this knowing that DMX 512 is set for 512 devices in its protocol.

But with the addressing done via TCP/IP can you emulate the DMX type control with the 256 steps in dimming from the 8 bits of data to the channel and expand this method of control beyond 512 channels with the use of the LAN connection?

I might be asking the wrong question to get my answer here. Very new to this DIY lighting control.

I expect I will want more than 512 channels to be controlled via program like Vixen or similar. And would like to know how you get more than 512 channels sequenced in the program using more than 1 controller .

Since I have been diving into this site all weekend I like the way a DMX type system works I just would like more than 512 channels its set up for.


Reply
Posts: 2629
(@dynamoben)
Famed Member
Joined: 19 years ago

Within the lighting world there is something called a "universe." A universe is a set of 512 dimmable channels. The Ethernet standard uses numerous universes to exceed the 512 limit. While the data is still sent in blocks of 512 a universe ID is added to each block, extending your dimmable channels to over 64,000.

As of today the DMX solution for Vixen is limited to 1 DMX universe or 512 dimmable channels. While this is a limitation today there is development going on to break the 512 barrier. There are a couple of us that are working on DMX interfaces (dongles) that could allow you to go beyond 512 dimmable channels. They are still in the prototyping stages. If you're not in a hurry to buy equipment you might want to wait a few months and see how these development efforts turn out.


Reply
Page 1 / 2
Share: