13.01.12

Audio Spectrum Analyzer Step #1

     Some time ago I decided that I want audio spectrum analyzer in my car. Not for any practical reasons. Just BECAUSE I CAN. :D Well, the idea started as a rotating center console with iPhone attached to it, which should display live audio spectrum using microphone as an input signal.
     I got far with that project, as you can see in this blog (read "Motorized gadget"), but unfortunately I encountered some major problems.
     1. iPhone was a bit too big for the space in which it should rotate. When the console is being inserted in car, it has less space than it is while console is on my table. So iPhone gets stuck.
     2. Microphone is a bad way to "capture" input signal. Every microphone and every speaker has its audio range which it can sense and play. So microphone couldn't display/analyze audio spectrum precisely. And I didn't want to mess with iPhone's electronics and OS/apps.

     Although previous project is unfinished (and it seems that it will stay that way) I still wanted to integrate audio spectrum analyzer in my car.
     You can buy already pre-assambled kits, but hey - building it on my own sounds more exciting and interesting.

So here it goes.
     Since I'm an IT specialist with some background in programming I'm used to develop programs building one small module, then test it. Then build next module and integrate it with previous. And again - test it. So this project will be held similar.

     I started by creating one LED bar graph which would work as an audio spectrum analyzer.
     Started by reading some tutorials, gathering information and buying electronic stuff.

     The most fundamental part of this schematics is dot/bar display driver integrated circuit (IC) LM3914.
     There are three IC types in the LM39 group. Although LM3916 would be more suitable for this project, as it is working better with audio signals, I bought LM3914.

Schematics are pretty much the same for all LM39 IC, so I used the following schematics:
Scheme taken from: CircuitsOnline.net

The parts needed for this are:
IC = LM3914 or LM3915 or LM3916
R1 = 1k Ohm
LED = led bar graph (I used Kingbright. You can use seperate LEDs, but then resistor for each LED must be applied)
C1 = 2.2uF 50V (electrolytic)

In this scheme on the pin5 audio signal must be applied.
My input voltage ~9 V.

This is how it looks on breadboard:

This is the video:


PROBLEM:
     1. Input signal from computer is ok. Input signal taken from phone is too weak. Signal amplification is needed and also possibility to adjust signal gain with potentiometer.

NEXT STEPS:
     1. Signal amplification with Low Voltage Audio Power Amplifier IC (LM386) and potentiometer for signal gain adjustment.


Nav komentāru:

Ierakstīt komentāru