www.bliptronics.com
Products

Project: A Seven Band Spectrum Analyzer for Audio.

For this project I'll describe how to create a spectrum analyzer using our Stereo Audio Analyser with an Arduino and some controllable RGB LED strips. The visual display will be made up of 7x32 LED strip modules arranged in an array.

For this project you'll need:
- Arduino Prototype board
- A Bliptronics Stereo Audio Analyser Shield
- 4-Way flat wire
- 5 V power supply
- 7 Controllable RGB 100cm LED strips (WS2801 controller type)
(*All of which we sell at Bliptronics. Refer to the bottom of the page.)

Download Bliptronics WS2801 controller library and Spectrum Analyzer Arduino sketch

As we will be connecting 7 LED strips together it is important to ensure that they are connected and positioned correctly.

For the sake of simplicity we will color code the connections with the colored wire.
We will designate:
5V RED
Clock (CK) YELLOW
Data (SD) GREEN
GND BLUE

Now I'll explain how to connect the strips in series.

You will notice on each end of an LED strip at the connection points there is printed IN and on the opposite end OUT. Cut a length of flat wire approximately 20cm. Taking 2 of the LED strips, solder the wire between the connections (ensuring correct color connection) from one strips OUT end to the other strips IN end. Take another length of wire and again use it to connect another LED strips IN connection point to the previously connected strips OUT connection. Connect the remainder of the strips in this fashion so that you have one long length of connected LED strips.

Now to align the strips into columns. (This is probably easiest to do laying it out on the floor.)

One end of the 7 LED strip length should have an unconnected IN. This point will be the TOP-LEFT of the array, and that strip will be the LEFT-most column. The strip following naturally makes up the 2nd column, although it is arranged so that the IN point is at the bottom of the array and aligned upwards and parrallel to the 1st strip.
 
Lay down the remainder of the strips alongside the other 2 in the same manner, with the wire connections alternating at the top and bottom of the array. This will be the array layout.

Now solder another length of flat wire to the TOP-LEFT IN point. The length here is left to personal preference as it will be connected to the Arduino controller.

At this point, you can affix the top and bottom end of the LED strips to something to hold them in place. We used Coroplast (Corflute) and sticky tape.

Now, with the Arduino programmed with the provided sketch, and the Audio Analyser shield in place connect the Data and Clock lines to pins 11 and 13 respectively. 
Ensure that the ground of the power supply is connected to the GND of the Arduino, and the 5V of the power supply connected to the 5V line of the LEDs.

Now just plug your audio into the 2 channel jacks on the Audio Analyser shield and you're good to go!

All done - enjoy!

Related Items
A stereo audio spectrum analyzer shield for use with Arduino boards. 7 bands per channel. Spectrum Analyzer Shield
A stereo audio spectrum analyzer shield for use with Arduino boards. 7 bands per channel.
$26.65
US Dollars
In stock now. Add to Cart
Four way flat wire for interconnection of 5 volt pixels. Four way flat wire
Four way flat wire for interconnection of 5 volt pixels.
$1.15
US Dollars
In stock now. Add to Cart
Switch Mode Power Supply
Input: 100-240VAC, 50/60Hz.  Output: 5VDC, 6.0A, 30W Power Supply DC5V 6Amp.
Switch Mode Power Supply Input: 100-240VAC, 50/60Hz. Output: 5VDC, 6.0A, 30W
$29.41
US Dollars
On backorder.
Flexible strip of 32 LEDs with integrated WS2801 controller chips. 5V power, SPI style interface, 100cm length. Controllable RGB Strip 100cm, 32 LEDs WS2801
Flexible strip of 32 LEDs with integrated WS2801 controller chips. 5V power, SPI style interface, 100cm length.
$27.57
US Dollars
In stock now. Add to Cart
Your Cart
Cart is empty
Your currency
Information
About us
All site content (c) Blip It Pty Ltd, Australia. ABN 67 100 022 419