Barnabybear
Don'y know if you've come across the Gertboard
http://www.raspberrypi.org/archives/tag/gertboard
It's the first/official interface board. If you check out the manual linked off that page there are schematics which I've used to buffer etc.
Barnabybear wrote:Thanks for the input Tony. I had to google most of what you said - but yes that would handle massive amounts of data. Timing seems to have been a problem for other people who have looked at this.
I dont have the data sheets for all the common pixels yet (anyone feel free to post if you have one). The TLS3001s that I have can recieve data at between 100KHz and 2MHz (1MHz recommended max), where as DMX is at 250KHz. Some other pixels run at unusual speeds.
Where my head is at the moment -
The PIs SPI clock runs at 250MHz and can be devided by mulitipples of 2, 125, 64, 32, 16, 8, 4, 2, 1MHz etc. Which will be fast enough for what we need and anything above 16MHz is very optermistic for DIY build.
It would be cool to have more than one output (more than one universe).
So - use a shift register connected to the PIs SPI and send data at a highish speed (2, 4 or 8MHz). Then shift the data to the shift registers output at the correct speed for the pixels or DMX and trigger the next data to be sent to the register.
What would determine the timing for the shift - I'm unsure of at this time.
If the shift register was clocked for DMX then the outputs could only be DMX, as the PI has CE0 and CE1 outputs, 2 shift registers could be connected - giving 2 different output types (pixel and DMX or 2 different types of pixel). All this in theory.I've played a little today with some good results and will post more a little later.
Theres been a lot of talk about what you are trying to do in the openDMX project mailing list...Theres some good solutions there as well. the entire E1.31 or Artnet framwork is avaialble as well, so you can just concentrate on the pixel bit if you so desire.
I've personally moved away from teh rasbperry PI to useing a beagle bone. ( Same basic idea ).. a few of the raspberry PI's annoying features made the bone a better choice for what i'm up to, but the pi is still very capablle ( and cheap )..
I wonder how much raspberry PI got given and received for christmas.
Thanks mrp. I've not been stalking you - but a few of you posts have linked to OLA.
I mentioned earlier I made some good progerss (for the first day) -
I went to http://opendmx.net/index.php/OLA_Raspberry_Pi
This is the openDMX project that mrp refers to above and gives detailed instructions on how to load the OLA software on to a PI. Being a windows man this was all a bit strange, as the software and operating system come together from one site in one file.
I used the 'Raspbian / OLA data file' (raspbian-ola0-.8.26.zip) from http://nomis52.net/data/raspi/ save, unzip (you know the format).
Then I needed a SD card image writer (i'm using windows). I used (win32diskimager-binary.zip) from https://launchpad.net/win32-image-writer save, unzip - you need to run this as administrator. In windows 7, hold 'control and shift' as you open the file.
Put the file on to SD card HEEDING the warnings!
Card in PI power on do the bits in the instructions (I used a composite output to a tv, keyboard and mouse for this bit) I used Username: pi Password: openlighting
The next bit is could be tricky - working out what ip address the PI has been given. I have an phone app called Fing (it shows what is connected to your network). Once you know that, open your browser and go to xxx.xxx.xxx.xxx:9090 (x the IP address). There is a nice UI - no instructions of real use that I could find, so I messed about and found it quite easy.
So what does it do?
Once setup, you can power down the PI without exiting OLA. On power up OLA runs and the web UI is accessable from another computer on your network (no monitor, keyboard and mouse need be connected to the PI).
I set up a universe as an input, plugged it into the show network and it recieved E1.31 data in the test page.
I set up a universe as an output, plugged it into the show network and it sent E1.31 data from the test page to the E681 running my tree.
I logged onto the UI from my mobile phone and could change output chanels from a moblie UI.
All pritty cool for an hour or so out of the box. TBH this will proberbly do what some people want - if you have a DMX bridge, use this to send E1.31 to it and you can swich on, off and mess with the colour of your floods.
From a project point of view - I have some open source code that works with the PI.
Barnabybear wrote:Thanks mrp. I've not been stalking you - but a few of you posts have linked to OLA.I mentioned earlier I made some good progerss (for the first day) -
I went to http://opendmx.net/index.php/OLA_Raspberry_Pi
This is the openDMX project that mrp refers to above and gives detailed instructions on how to load the OLA software on to a PI. Being a windows man this was all a bit strange, as the software and operating system come together from one site in one file.
The 'ready to run' image is there to make it *really* easy for you to get started.. As you say, its os and applications all put together ready to go.. You certainly do have the option of installing an os first, then installing the applications, but Simon ( nomis52 ) took the pain away for you!
The next bit is could be tricky - working out what ip address the PI has been given. I have an phone app called Fing (it shows what is connected to your network). Once you know that, open your browser and go to xxx.xxx.xxx.xxx:9090 (x the IP address). There is a nice UI - no instructions of real use that I could find, so I messed about and found it quite easy.
From the CLI, ( after you login ), just type ifconfig.. it will tell you what the ip address is.
All pritty cool for an hour or so out of the box. TBH this will proberbly do what some people want - if you have a DMX bridge, use this to send E1.31 to it and you can swich on, off and mess with the colour of your floods.
or you can plug in one of many USB-DMX adaptors and you can make the PI the bridge..
Good work!
FYI, for those that are wondering, "Raspbian' is the Debian Linux Operating system that has been optimised for running on the rasbperry PI. its got all the right drivers / modules and bits and pieces in there to make thigns easy for you.
