There has been some discussions about free standing controllers. So I have a related general questions.
Say I have a 4 minute DMX sequence on Vixen. I can read the DMX stream and store the whole sequence in RAM.
The RAM size needed will be 250000 x 4 x 60 = 60 Mbit Is this Right?
So a 1 Gig SD ram card will hold a lot of sequences.
How fast is the Read Write of SD Ram card?
Matt
Of course, if you only store changes, the space needed goes down and read speed goes up.
/mike
My off-the-cuff observations:
Where did you get the 25000 number from - the DMX stream baud rate? That doesn't really come into it.
Anyway, I think you'd need C * R * 60 * M bytes of storage.
Where:
C = number of DMX channels
R = DMX refresh rate (per second)
M = run time of sequence in minutes
You may have trouble writing & reading the data fast enough to/from the SD card.
DMX-512 should operate at 250 kHz. That is sufficient to do 44 frames per second, 512 channels. Each channel can have an 8 bit number.
If you stored every value at every frame at full speed, you'd be looking at about 1.3MBytes per minute ( 44 frames x 60 seconds * 512 channels ). This would be totally doable on SD Cards. if you write a smarter algoritm and only store changes, you probably will get away with lots lots less than this.
Here are some commerical DMX recorder products for inspiration:
http://www.dfd.com/runp.html
http://www.dfd.com/runr.html
http://www.elationlighting.com/ProductDetails.aspx?ItemNumber=1229&Category=DMX%20Recorder%20Controller
I typically read through the manuals the glean how they are accomplishing things.
I'm a big fan of the Last-Takes-Precedence (LTP) or Tracking model. Going this route means only storing values as they change. Under this model if you stay in a look for 10mins its only stored once. This means everything is stored based on time and would require a touch more intelligence, further you could drop your sample rate w/o too much noticeable change in the show.
mrpackethead wrote:DMX-512 should operate at 250 kHz. That is sufficient to do 44 frames per second, 512 channels. Each channel can have an 8 bit number.If you stored every value at every frame at full speed, you'd be looking at about 1.3MBytes per minute ( 44 frames x 60 seconds * 512 channels ). This would be totally doable on SD Cards. if you write a smarter algoritm and only store changes, you probably will get away with lots lots less than this.
With the fullblown speed, definately doable.
With the "stripped down" SPI interface that is used with most microcontrollers when accessing SD cards, that might not be the case any more.
Matt_Edwards wrote:There has been some discussions about free standing controllers. So I have a related general questions.Say I have a 4 minute DMX sequence on Vixen. I can read the DMX stream and store the whole sequence in RAM.
The RAM size needed will be 250000 x 4 x 60 = 60 Mbit Is this Right?
So a 1 Gig SD ram card will hold a lot of sequences.
How fast is the Read Write of SD Ram card?Matt
My opinion is you don't have to store all DMX packets, only when one has been changed.
I've got one of these to run DMX stand alone stuff http://www.enttec.com/index.php?main_menu=Products&pn=70015&show=description the drawback is no audio 🙁
Maybe you can use this for some ideas...
It's based on an Atmel Atmega128 controller running at 16mhz and uses an Atmel AT45DB642 64MB serial flash memory chip for it's on-board memory.
It has an option for adding a CF card reader slot to it, but I never got it since the on-board 64MB was enough for my purpose.
I'll attach some pictures of the inside
Robert
I'm not sure if you guys know but Greg (the creator the helix) is looking into adding DMX to his device. That would allow you to load a Vixen file and it would handle the playback. Not sure if that is something you would be interested or what the intentions where for this project.
Sure am aware of his project. I didn't want to high jack it as this thread is more on general terms of what is required.
Cheers
Matt_Edwards wrote:Sure am aware of his project. I didn't want to high jack it as this thread is more on general terms of what is required.
Cheers
The helix wouldn't be a DMX recorder it would a Vixen playback system that transmits DMX. I sent Greg my DMX code so he could research it. The thought is if he plans to add RS485/422 hardware for the Renard adding DMX would be a no-brainer.


