I will be explaining where to get materials, explaining the coding and wiring needed and providing example programs that can be adapted.
I will be using an Arduino Nano and and a 32x16 LED Matrix from Sure Electronics.
Remove these ads by
Signing UpStep 1: Required Materials/Software and Where to Get Them
1) An Arduino(doesn't really matter which version/variant)
2) LED Matrix (for this Instructable, I use a 32x16 bicolor matrix, but any matrix should work)
3) A driver chip if your LED matrix doesn't have them integrated, I will be explaining this in more depth.
Inexpensive LED Matrices: Sure Electronics: http://stores.ebay.com/Sure-Electronics
The display I use: http://www.ebay.com/itm/P4-32X16-RG-Bicolor-LED-3mm-Dot-Matrix-Unit-Board-/350527814626?
Required Software:
1) Arduino IDE (I am using version 1.0) found here: http://arduino.cc/en/Main/Software
2) Processing IDE found here: http://processing.org/download/























![DE-DP14112_2_b[1].jpg](/files/deriv/F55/KSZE/GYZNVAYK/F55KSZEGYZNVAYK.LARGE.jpg)












Visit Our Store »
Go Pro Today »




Since i'll be using 7 frequencies, will i need to connect each of the 7 columns to 7 different digital output pins on arduino leonardo?
--or-- just connect the shift registers from all the 7 columns in series (daisy-chained) and let the arduino know what frequency band will correspond to each column? (if so, does the arduino need to be programmed already to know what frequency will correspond to each band?)
--or-- all the Shift registers from each column be hardwired in series independently from the other columns??
I'm stuck here and have a deadline for this... Please help!
https://github.com/justinb26/MSGEQ7-library
I just ran across this and remembered you.
16kHz. You then will use a Leonardo to read the data and output corresponding levels to seven columns of RGB LEDs. The seven columns of LEDs will be driven by shift registers. Every 3 shift registers can control 8 RGB LEDs(1 for 8 red, 1 for 8 blue, 1 for 8 green). So for a matrix of 7x8 RGB LEDs, 21 shift registers will be needed. These could be daisy chained to only use 3 digital pins on the Leonardo, or they could be split up.
The MSGEQ7 will need to be hooked up as stated in it's datasheet: https://www.sparkfun.com/datasheets/Components/General/MSGEQ7.pdf
It may be a help. I just made a one color 8x8 matrix with a max7219. I wonder how easy or hard it would be to transfer adafruits code to use a max7219. It's a bit over my head but I'd be very interested if you have any ideas. Thanks,
Matt
I wonder how can I use instead of using pixel dot matrix Ws 2801, you have video on this Youtobe spectral analyzer
This is very good. But I have only one question. Can I connect directly the sound to the arduino?
PedroRamalho
Does it work with windows and mac?
Could you modify the code so that it takes a line in from a device?
Thanks
Source: http://code.compartmental.net/tools/minim/manual-audioinput/
http://www.instructables.com/id/LoL-Shield-Audio-Spectrum-VU-Meter/
Could you do something similar in that a line in is connected to the arduinos analogue pins in an analogue read type setup. Then the device would be completely separate from the computer, thus eliminating os problems.
Cheers for the response
Questions: what exactly is the .ino file? Did you mean to say that the .pde is for Arduino and .ino for Processing? Do they do the same thing?
Thanks!
PS: Commented previously but found what I was looking for.
the .pde is for Processing
they do not do the same thing.
the processing sketch runs on the computer while the Arduino sketch is uploaded to the Arduino and runs on the Arduino