Share this project

Done

Share this project

Done
Photo original
Simply draw circuits connected to an Arduino-Compatible chip. Supercharge your sketches and unleash your inner DaVinci!
Created by

Jack Gassett

451 backers pledged $62,707 to help bring this project to life.

ZPUino RGB LED Matrix Demo for Papilio DUO

7 likes

The question that keeps coming up when talking about the Papilio DUO is, "What kind of things can I do with it?" Well, the possibilities are endless, but interfacing hardware that require far greater speeds then the Arduino can support is the easy answer. A perfect example is this sweet little RGB LED panel available at Sparkfun. All you can get out of it with an Arduino is very basic graphics, and no chance of driving more then one at a time! But if we make a circuit on the Papilio DUO that drives the RGB LED and handles all of the heavy lifting, then we can use the ZPUino or the ATmega32u4 to control several panels at once and do things the Arduino alone would never be able to. 

Alvaro put together a ZPUino project and a quick demo to show this off. He first made a Wishbone compatible RGB LED controller that connects into the ZPUino. He then connected two of them to the ZPUino and made an example sketch to put them through their paces. 

Take a look as he plays CD quality audio from an SD card, runs it through a spectrum analyzer, and displays the result on the RGB panel. 

He even shows a picture of his dog with 24-bit color! When you are up close it is hard to see, but when you step back it comes together and looks amazing.

Finally, he implements and plays the "Brick" game using a Wii Nunchuck. Remember, this is all done with an Arduino sketch, its the circuit on the FPGA that does the heavy lifting of controlling the two RGB panels at 30Mhz.

Since he does not have a Papilio DUO on hand yet he made this demo with the Papilio Pro board. Once we get some production boards in hand we will make this entire demo work with the Papilio DUO and will include all of the components in DesignLab so you can draw your own projects with these RGB panels.

 Here are some pictures of the setup:

Wii Nunchuck adapter, Wii Wing coming soon.
Wii Nunchuck adapter, Wii Wing coming soon.

 

Audio on a breadboard - there is also an Audio Wing available
Audio on a breadboard - there is also an Audio Wing available

 

Micro SD Card Wing - To store audio files
Micro SD Card Wing - To store audio files

 

RGB Panel Connections - Great candidate for a future Wing!
RGB Panel Connections - Great candidate for a future Wing!

 

RGB Panel Connections
RGB Panel Connections

 

Jose Marcelino, Mark Campbell, and 5 more people like this update.

Comments

    1. Creator Jack Gassett on June 20, 2014

      Howard,

      I was thinking more on the High Speed ADC topic and I remembered that my friend Colin O'Flynn sent me an OpenADC board a while ago.
      http://www.newae.com/tiki-index.php…

      I'm thinking that we should reach out to Colin and see if we can design a Papilio compatible OpenADC board...

      BTW, watch for the August version of Circuit Cellar magazine where Colin will have an article about the Papilio Pro!

    2. Creator Jack Gassett on June 20, 2014

      Howard, it's been on my radar for a long time but somehow I've not done it yet. I agree though it is a great example of what the Papilio DUO can be used for and I'll definitely put it to the top of the list. BTW, there is already a waveform generator core included in the schematic library that uses a Delta-Sigma DAC.

    3. Creator Howard R Hansen on June 19, 2014

      Any possibility of Gadget Factory selling high speed ADC and DAC wings after the KIckstarter campaign is completed? High speed ADC and DAC wings could be another answer to the question what can the Papilio Duo be used for? Some possibilities are a moderate performance USB oscilloscope, a waveform generator, a pulse height analyzer and power measurements in circuits with non sinusoidal wave forms.

    4. Creator Álvaro Lopes on June 19, 2014

      @Philip:

      Yes, it is possible to use video streams. A demo with Android camera streaming video via bluetooth is on the forge. A video file on SD is also possible, but needs to be uncompressed. I might try to see if I can get a nice video to show (any ideas?)

      Regarding the music, you are indeed right, it's Acid Rain from LTE :)

    5. Creator Philip Howard on June 19, 2014

      That's a cool demo, but I'd love to see it receiving and displaying a video signal from an external source, or playing a video file from SD. Possible?

      Interesting choice of music! That's Jordan Rudess' energetic keyboard playing from Acid Rain, on Liquid Tension Experiment 2.