Initial comments/questions about using the new QLC+ image on the rPi:
Posted: Fri Nov 14, 2014 6:24 pm
Hello all! Just a quick introduction and then I will walk through my initial comments/questions about using the new QLC+ image on the rPi. Great work Massimo and the QLC+ team! I apologize in advance for the lengthy post, just trying to be thorough...thx!
**Quick Introduction:**
My name is Steve French and I run an electronic design company called [Volt Vision](http://www.voltvision.com/). I am a musician, electrical engineer (hardware guy) and fanatic about creating new forms of interactive art. I do interactive art/lighting events quite often and also do educational workshops and seminars like [this one about using OLA on the Beaglebone Black in Guatemala](http://www.voltvision.com/beaglebone-bl ... guatemala/). I am actively developing with lighting & sound servers/clients on embedded linux machines (and various arduinos & microcontroller platforms) to create interactive art exhibits (and the engines that run them). Feel free to check out "Our Projects" on the website to see more examples.
Right now I am working on the 2014 version of [this show from last year](http://www.voltvision.com/projects/wint ... t-audubon/).
We go live in 3 weeks from now and this year I hope to add some QLC+/rPis to the existing array of BBBs, Arduinos, Teensies, SanDevices, etc.
**Initial comments/questions about using the new QLC+ image on the rPi:**
1) How do you recommend starting OLA on the rPi? Sorry if I missed it, but it does not mention it in the QLC+/rPi manual that you made. The main QLC+ manual says "This can be done either manually by starting up "olad" from a terminal or in the configuration panel by ticking "Run standalone OLA daemon"." The problem I have found with typing "olad" in the terminal window is that it blocks the terminal window from any further commands. Do you see a problem using the method I usually use "olad -f -l 3 --syslog"? Also, I didnt see anything in the QLC+/rPi config pages to start up OLA. How do *you* do it?
2) Do you foresee any problems using the OLA UART DMX plugin which is built into the newer versions of OLA? (It was designed to work on the rPi!!!). I am hoping to drive RS485 transceivers directly from the rPi UART so that I can generate DMX data without using an extra USB DMX dongle....this should save lots of space and money (if it works properly).
3) How do you monitor/quantify the rPi processor %usage when you are doing development? We certainly know that the rPi processor is very limited compared to multi-core workstations and laptops....so when I try the OLA UART DMX and other tricks I would like to keep an eye on the processor health. How do you do it?
4) General comment: Section 3 of the qlc+rPi manual says "If you're going to communicate with an ArtNet network, then you just need to plug an ethernet cable to your Raspberry and make sure a DHCP server (usually present in traditional routers) assigns a valid IP address to it"...I want to agree with this, but by default the qlc+/rPi doesnt have DHCP enabled...it uses static IP instead, so this wont work as stated.
5) General suggestion: Start with a simple example project already loaded by default. I appreciate that you want to save space, but just a simple project to show what a slider and a button look like so that people can confirm they render ok in a browser and respond to touch right out of the box... instant gratification... BEFORE people get to the point of loading their own projects. Just my opinion...it would have helped me!
6) General Comment: It would be nice to set the hostname in the webconfig page. I am working on a design that uses 4 or 5 OLA/QLC+ nodes in a network...the first thing I normally do with my Beaglebone Black systems is to set unique hostnames immediately before deploying them. It sucks having 5 machines all named "beaglebone" or "raspberry-pi" on the same network!
7) Do you see a problem (unintended consequence) changing the hostname directly with:
* nano /etc/hostname
Hostname before::
root@raspberry-pi:~# cat /etc/hostname
raspberry-pi
Hostname after::
root@VoV-rPi1:~# cat /etc/hostname
VoV-rPi1
8) Can we use more than 4 universes? What is the realistic limit on the rPi? For instance, [this installation that I recently did](http://www.voltvision.com/projects/emporium/) has about 2,000 pixels which is 6,000 DMX channels which is about 12 universes. I understand that at some point the load needs to be split amongst multiple clients and the server needs to handle all of them.
9) What is the proper way to shutdown the rPi/QLC+ server? I didnt see this referenced in the manual...sorry if I missed it. Should there be a button in the config page under the reboot button?...or should I do this:
root@VoV-rPi1:~# shutdown now
Broadcast message from root@VoV-rPi1 (pts/1) (Thu Nov 13 13:40:28 2014):
The system is going down to maintenance mode NOW!
10) Is it possible to use "audio out" to have QLC+ send audio to the rPi sound interface? I notice that audio out is in the QLC+/rPi config pages, but I remember you saying it wasnt ready yet. What can I do to help?
11) Eventually, could you share your build notes on "how to build" & optimize for rPi (arm6) so that someone could also do it for a Beaglebone Black (arm7) and other platforms (Intel Galileo, etc)?
12) This last item is just sharing something new and cool with you!!! I was just reading about driving WS2811/WS2812 strips directly from the rPi using PWM and DMA!! See [this link](https://learn.adafruit.com/neopixels-on ... i/overview), which was just updated today...I think they are working on it right now. It certainly would be nice to drive these digital pixels directly from the rPi without using a USB microcontroller dongle (no you cant drive these with the normal OLA SPI plugin because that only supports pixel chipsets that have clock, which the WS2811/WS2812 do not). Do you think it would be possible for someone to write a python script running on the rPi to take pixel data out of QLC+/OLA and send it to the Python library/script referenced? I wonder what the processor would do? (I would hope that since the method is using DMA, that the rPi processor would be minimally affected.). Since this is so "bleeding edge", I will try using OLA serial plugin to send pixel data to a Teensy and drive the strips from there...but I just wanted to share with you this new development! In general I think the WS2811/WS2812 strips are way more popular and cost effective than the Clock-based strips that you can drive with the rPi SPI. The only problem with solutions like this is that they rely on specific hardware tricks for specific platforms (similar to the BBB's PRUs)...so they dont work across multiple platforms.
===============
Sorry for the long initial post. Excellent work Massimo! I look forward to exploring what can be done with QLC+ on all kinds of different platforms. I have been using Lightjams for a few years and while I love Lightjams and the energy source concept, it sucks that it runs only on Windows Computers!!!!!!!!! This is a showstopper for me...especially when things need to be out in sub-zero temperatures and be able to just boot-up and work each day!!! Last year I ran an exhibit in the snow/rain and freezing weather with a Win8 laptop in a bin....never again!
--
Respectfully,
Steve French
President, Volt Vision
www.voltvision.com
**Quick Introduction:**
My name is Steve French and I run an electronic design company called [Volt Vision](http://www.voltvision.com/). I am a musician, electrical engineer (hardware guy) and fanatic about creating new forms of interactive art. I do interactive art/lighting events quite often and also do educational workshops and seminars like [this one about using OLA on the Beaglebone Black in Guatemala](http://www.voltvision.com/beaglebone-bl ... guatemala/). I am actively developing with lighting & sound servers/clients on embedded linux machines (and various arduinos & microcontroller platforms) to create interactive art exhibits (and the engines that run them). Feel free to check out "Our Projects" on the website to see more examples.
Right now I am working on the 2014 version of [this show from last year](http://www.voltvision.com/projects/wint ... t-audubon/).
We go live in 3 weeks from now and this year I hope to add some QLC+/rPis to the existing array of BBBs, Arduinos, Teensies, SanDevices, etc.
**Initial comments/questions about using the new QLC+ image on the rPi:**
1) How do you recommend starting OLA on the rPi? Sorry if I missed it, but it does not mention it in the QLC+/rPi manual that you made. The main QLC+ manual says "This can be done either manually by starting up "olad" from a terminal or in the configuration panel by ticking "Run standalone OLA daemon"." The problem I have found with typing "olad" in the terminal window is that it blocks the terminal window from any further commands. Do you see a problem using the method I usually use "olad -f -l 3 --syslog"? Also, I didnt see anything in the QLC+/rPi config pages to start up OLA. How do *you* do it?
2) Do you foresee any problems using the OLA UART DMX plugin which is built into the newer versions of OLA? (It was designed to work on the rPi!!!). I am hoping to drive RS485 transceivers directly from the rPi UART so that I can generate DMX data without using an extra USB DMX dongle....this should save lots of space and money (if it works properly).
3) How do you monitor/quantify the rPi processor %usage when you are doing development? We certainly know that the rPi processor is very limited compared to multi-core workstations and laptops....so when I try the OLA UART DMX and other tricks I would like to keep an eye on the processor health. How do you do it?
4) General comment: Section 3 of the qlc+rPi manual says "If you're going to communicate with an ArtNet network, then you just need to plug an ethernet cable to your Raspberry and make sure a DHCP server (usually present in traditional routers) assigns a valid IP address to it"...I want to agree with this, but by default the qlc+/rPi doesnt have DHCP enabled...it uses static IP instead, so this wont work as stated.
5) General suggestion: Start with a simple example project already loaded by default. I appreciate that you want to save space, but just a simple project to show what a slider and a button look like so that people can confirm they render ok in a browser and respond to touch right out of the box... instant gratification... BEFORE people get to the point of loading their own projects. Just my opinion...it would have helped me!
6) General Comment: It would be nice to set the hostname in the webconfig page. I am working on a design that uses 4 or 5 OLA/QLC+ nodes in a network...the first thing I normally do with my Beaglebone Black systems is to set unique hostnames immediately before deploying them. It sucks having 5 machines all named "beaglebone" or "raspberry-pi" on the same network!
7) Do you see a problem (unintended consequence) changing the hostname directly with:
* nano /etc/hostname
Hostname before::
root@raspberry-pi:~# cat /etc/hostname
raspberry-pi
Hostname after::
root@VoV-rPi1:~# cat /etc/hostname
VoV-rPi1
8) Can we use more than 4 universes? What is the realistic limit on the rPi? For instance, [this installation that I recently did](http://www.voltvision.com/projects/emporium/) has about 2,000 pixels which is 6,000 DMX channels which is about 12 universes. I understand that at some point the load needs to be split amongst multiple clients and the server needs to handle all of them.
9) What is the proper way to shutdown the rPi/QLC+ server? I didnt see this referenced in the manual...sorry if I missed it. Should there be a button in the config page under the reboot button?...or should I do this:
root@VoV-rPi1:~# shutdown now
Broadcast message from root@VoV-rPi1 (pts/1) (Thu Nov 13 13:40:28 2014):
The system is going down to maintenance mode NOW!
10) Is it possible to use "audio out" to have QLC+ send audio to the rPi sound interface? I notice that audio out is in the QLC+/rPi config pages, but I remember you saying it wasnt ready yet. What can I do to help?
11) Eventually, could you share your build notes on "how to build" & optimize for rPi (arm6) so that someone could also do it for a Beaglebone Black (arm7) and other platforms (Intel Galileo, etc)?
12) This last item is just sharing something new and cool with you!!! I was just reading about driving WS2811/WS2812 strips directly from the rPi using PWM and DMA!! See [this link](https://learn.adafruit.com/neopixels-on ... i/overview), which was just updated today...I think they are working on it right now. It certainly would be nice to drive these digital pixels directly from the rPi without using a USB microcontroller dongle (no you cant drive these with the normal OLA SPI plugin because that only supports pixel chipsets that have clock, which the WS2811/WS2812 do not). Do you think it would be possible for someone to write a python script running on the rPi to take pixel data out of QLC+/OLA and send it to the Python library/script referenced? I wonder what the processor would do? (I would hope that since the method is using DMA, that the rPi processor would be minimally affected.). Since this is so "bleeding edge", I will try using OLA serial plugin to send pixel data to a Teensy and drive the strips from there...but I just wanted to share with you this new development! In general I think the WS2811/WS2812 strips are way more popular and cost effective than the Clock-based strips that you can drive with the rPi SPI. The only problem with solutions like this is that they rely on specific hardware tricks for specific platforms (similar to the BBB's PRUs)...so they dont work across multiple platforms.
===============
Sorry for the long initial post. Excellent work Massimo! I look forward to exploring what can be done with QLC+ on all kinds of different platforms. I have been using Lightjams for a few years and while I love Lightjams and the energy source concept, it sucks that it runs only on Windows Computers!!!!!!!!! This is a showstopper for me...especially when things need to be out in sub-zero temperatures and be able to just boot-up and work each day!!! Last year I ran an exhibit in the snow/rain and freezing weather with a Win8 laptop in a bin....never again!
--
Respectfully,
Steve French
President, Volt Vision
www.voltvision.com