Introduction: Music Visualizer With Arduino

Interactive Music Visualizer


Components

LM338T x5

Potentiometer x2 (1k and 10k)

1N4006 diode x5

Capacitor x2 (1uF and 10uF)

Resistors x3 (416, 10k and 1k)

Aux splitter x1

Aux cable x1

Arduino Duemilanove x1(Uno tested okay)

Aux jack x1

LM785C x1

TL071CP x1

9V battery jack x2

Jumper cable x Many

LED with WS2812B controller x46

Dell 16V 20A laptop adapter x1

Step 1: Soldering 5 LM338T Arrary

This linear voltage converter array steps down 16V laptop adapter supply voltage to 5V LED supply voltage.

Step 2: Pre-processing Circuit for Aux Signal Input

On the left hand side of the breadboard is TL071 op-amp circuit which sums and amplifies aux input signal that ranges from -1.25 to 1.25V. Signal is shifted to Arduino Vref 0~5V during pre-processing stage. It blocks out the noise generated by Arduino analogread() operation. LM7805 voltage regulator is located in the center of the breadboard, which converts 9V battery supply voltage to 5V supply voltage for Arduino. Aux-in jack is on the right side edge, ensuring good connection with playback device. The aux splitter slips playback device output signal into two. One is supplied to speaker, another is supplied to Arduino.

Step 3: Arduino Pinout and LEDs

On the lower side of the Aruidno board, Aruidno is grounded to breadboard by the white wire on the left, pin2 reads audio output signal from pre-processing circuit. On the upper side, Arduino is grounded to LM338 array by the other white wire, pin3 on the right side feeds serial signal to LED strip.

Step 4: Result

Step 5: Source Code