• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / Sensors and Detectors / Simple Audio Spectrum Analyzer Circuit

DIY Circuits | Learn Basics | Arduino Coding

Simple Audio Spectrum Analyzer Circuit

Last Updated on May 27, 2022 by Swagatam 95 Comments

In this post I have explained a simple yet accurate spectrum analyzer circuit which can be easily made at home and used for analyzing the audio from a music system or simply as a decorative musical device.

What is a Spectrum Analyzer

A spectrum analyzer is basically a device which is technically used for assessing a frequency source with respect to its strength.

Usually this type of circuit will be quite complicated, however here we are interested in getting a visual display for fun and pleasure therefore accuracy may not be so important.

Here we'll discuss only one channel of the spectrum analyzer circuit, any number of such channels can be built and put together for getting the required results.

As can be seen in the figure, the circuit of the proposed audio spectrum analyzer consists of two main stages.

Circuit Operation

The left stage can be witnessed to be an active tone control stage while the right side IC LM3915 stage is a 10 stage dot/bar LED display stage.

The tone control stage is a simple bass/treble boost circuit which can be set for acquiring the intended magnitude of signal for a particular fed frequency.

This can be done with the help of the two pots.

P1 may be set for controlling the bass or the low frequency band, while P2 can be adjusted for achieving the high frequency content from the input.

The led driver stage basically responds to a DC level applied to its pin#5.

This response is converted into a sequencing to and fro movement of the LED connected at its outputs.

For example, at voltage levels around 0 and 2, the first three or four LEDs would respond creating a up/down dancing movement, the subsequent LEDs would respond in similar fashion as the input voltage rises at pin#5 of the IC.

How to Set the Controls

The active tone settings decide which frequency level is allowed to get past to the output or amplified to the output of C3.

Suppose if you adjust P1 such that only frequencies within 200 Hz are allowed to pass, the LEDs will produce maximum rise and fall only for these frequencies, and if the music content lacks these frequencies will result in a lower rise or fall in the sequencing.

Similarly you can adjust different frequency ranges for the additional channels in order to achieve the intended fluctuations over the connected LED driver output.

You can make 3 of these or may be 30 of these, just arrange them serially, adjust the pots as per the required specs and see the LED bars dazzle in a up/down motion producing a stunning audio spectrum graphic analysis.

Circuit Diagram

Parts List for the op amp stage

  • R1, R2, R3, R6 = 10k 1/4 watt 5%
  • C1 = 100uF/25V
  • C2 = 4.7uF/25V
  • C3, C4 = 33nF/50V
  • C5, C6 = 3.3 nF/50V
  • C7 = 22uF/25V
  • C8 = 4.7uF/25V
  • IC 741

Parts List for the LM3915 stage

  • 10k, 1k, 1/4 watt 5% = 1 each
  • 10k preset = 1
  • 2.2uF/25V = 1no
  • LEDs 5mm 20mA, color as per specifications = 10 nos
  • IC LM3915

You'll also like:

  • MQ 3 sensorAlcohol Detector Meter Circuit using MQ-3 Sensor Module
  • tsopUsing TSOP17XX Sensors with Customized Frequencies
  • GSMLPG Leakage SMS Alert using MQ-135 – Get Warning Message in your Cellphone
  • thermal touch sensitive switch circuitMake this Thermo-Touch Operated Switch Circuit

Filed Under: Sensors and Detectors Tagged With: Analyzer, Audio, Simple, Spectrum

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!

Previous Post: « Simple RF Remote Control Circuit without Microcontroller
Next Post: Simple Triac Timer Circuit »

Reader Interactions

Comments

kikira says:
June 24, 2017 at 2:54 pm

Sir,
Actually the pnp is not working but the npn one is working fine.
As the output signal of a 4017 ic is positive by nature how will it turn on a npn transistor like bd140. Need some clarification…any help….
Thanking you,
k.Kausik

Reply
Swagatam says:
June 24, 2017 at 4:07 pm

Kaushik, NPN, and PNP both will work with any logic IC.

when IC4017 generates a positive pulses tat pin is at the supply level but when it's not generating a logic high the pin is at logic 0 or connected with the negative supply line…therefore an PNP would work in this situation.

However the response will be just the opposite meaning with the PNP the output will be like a chasing negative voltage instead of a chasing positive voltage

Reply
kikira says:
June 24, 2017 at 3:01 am

Good morning sir,
I've some problem with bd140 . What will be the connection diagram with load when I want it to act as a switching device triggered by the output of ic4017. As output of the ic is +ive in nature and bd140 needs a -ive signal at it's base. So am I need any other component(s)…….
thanking you,
k.kausik

Reply
Swagatam says:
June 24, 2017 at 1:13 pm

Hi Kaushik,

you will need to connect it in its standard PNP mode, that is emitter to positive line, base to the 4047 output through a resistor, and collector to load, the other end of the load will join with the ground.

Reply
kikira says:
June 1, 2017 at 6:19 pm

Sir,
May I use lm386 instead of lm741….
Many thanks with gratitude….
K. Kausik

Reply
Swagatam says:
June 2, 2017 at 2:54 am

kaushik, LM386 cannot be used as a tone control stage, therefore it cannot be replaced for the shown IC 741

Reply
Kesava Raj says:
November 27, 2016 at 4:55 pm

Thank u sir…
I need one more circuit…
Both Ac Dc appliances..
When we connect the load….the led indicator must be ON when we remove the load the LED INDIACTIR must be off..

I try this circuit already …connecting in series..when load applied the led will glow…but it's not good…

I need differ circuit without any loss of o/p load…pls sir

Reply
Swagatam says:
November 28, 2016 at 11:29 am

kesava, you can try the concept that's I have explained below

https://www.homemade-circuits.com/2016/11/automatic-inverter-fan-switch-on-while.html

instead of the opto just use an LED

Reply
Kesava Raj says:
November 24, 2016 at 2:22 pm

If u r using infrared photodiode circuit…pls give the link id sir

Reply
Swagatam says:
November 25, 2016 at 1:21 pm

connect LED with the base of the transistor and check the response….cathode will go to the IC pin and anode to transistor base resistor.

IR circuits can be found here

https://www.homemade-circuits.com/search/label/Infrared%20Projects

Reply
Kesava Raj says:
November 24, 2016 at 2:22 pm

I check it like that only sir…
0.50v o/p producing in pin 11…
When i use led working good…
Only problem when i use transistor…
Is there any solution sir.

Reply
Kesava Raj says:
November 21, 2016 at 10:24 am

Sir now i check the circuit….
While using led in pin no:11 not glowing…pin no 11 voltage is 0.50.
In the same time i connected transistor…Transistor working it produce 10v….
0.50 voltage will trigger the transistor ?
In led working well. in transistor only pin no 11 not working well….
Is there any other way….Transistor is good i change it 3 times….

Reply
Swagatam says:
November 21, 2016 at 12:44 pm

Kesava, how did you check the voltage?

check across the pin11 and the positive line not the negative line.

Reply
Kesava Raj says:
November 21, 2016 at 7:11 am

Thank u sir ..
U helping me a lot..
Very very Thanks sir..

Reply
Swagatam says:
November 21, 2016 at 8:40 am

you are welcome!!

Reply
Kesava Raj says:
November 20, 2016 at 12:04 pm

For each channel i'm using led strip 1 metres sir….i check the transistor ..it's good sir..base resistor connected to the pin 11 its glowing sir…whether ic is faulty sir

Reply
Swagatam says:
November 21, 2016 at 2:44 am

OK then transistors will be required….

if the transistor is good, then the IC could be faulty or a short circuit could be there near the base of the transistor or pin#11

Reply
Kesava Raj says:
November 20, 2016 at 5:48 am

Okay sir…i will check the circuit…

Transistor Base resistor shall i use 470 ohms sir ,now I'm using 1k in
BD140

Reply
Swagatam says:
November 20, 2016 at 11:36 am

the resistor cannot be the issue, the transistor itself could be faulty or connected incorrectly, by the way why are you using a transistor?

the base resistor will depend on the LED current, 1K will do..

you can connect at least 5 to 8 LEDs in series across each channel with a supply of around 24V

Reply
Kesava Raj says:
November 19, 2016 at 4:46 pm

Hai sir….
LM3915 using in power amplifer Decibel meter…when I'm using LED it working well.When i use Pnp transistor the pin no 11 is continuously glowing….when i use led its work very well…what's the reason…till now i can't find any solution…pls help me sir..

Reply
Swagatam says:
November 20, 2016 at 5:10 am

Hi Kesava, if only the pin#11 is glowing then your PNP could be faulty or wrongly connected….if it was pin#1 glowing then it would have made sense, but pin#11 is the second last channel in the sequence which can never glow unless something is wrong in the circuit.

Reply
Karl Anthony Baluyot says:
March 5, 2016 at 7:10 am

Hi sir im going to make a 16 band spectrum. Can you please send a schematic diagram a sample when you connect the two circuit for a band? For the music input sir will I use a jumper wire right after the starting capacitor after the audio jack amd connect it directly to my second circuit? Thanks sir

Reply
Swagatam says:
March 16, 2016 at 11:46 am

My pleasure!

Reply
Karl Anthony B. Baluyot says:
March 16, 2016 at 8:23 am

Thanks comrade 🙂

Reply
Swagatam says:
March 5, 2016 at 12:59 pm

….and please make sure to connect pin9 of the IC with the positive line for enabling a BAR graph response on the LEDs.

Reply
Swagatam says:
March 5, 2016 at 12:55 pm

Hi Karl,
as per the explained concept in the above article you would 16 such modules and

connect their inputs in common and feed the music to this common lead, meaning connect all the C2 ends together and feed the music across this common end and the ground (negative terminal)

But before making 16 units it is advisable to make 3 initially and confirm the response.

Reply
Faith Ann Grace Elid says:
January 8, 2015 at 3:09 pm

good day sir, how cam i compute the frequency? in every stage. (I'm going to make a 10 band spectrum analyzer)

Reply
Swagatam says:
January 9, 2015 at 9:34 am

good day faith, you will need to set it up manually, feed the desired frequency at the input and adjust the bass/treble controls such that all the LEDs light up in response to that frequency level. In the same way you may apply other frequencies to other subsequent modules and set it identically.

The sample frequencies may be generated using a 555 IC astable or any other similar oscillator circuit.

Reply
Mindy Rawlings says:
November 25, 2014 at 8:44 am

Can you please send / post a picture of the completed board(s). I need to see and read to do. Great work and thanks for sharing it!

Reply
Swagatam says:
November 25, 2014 at 9:31 am

thanks, the circuit has not been tested practically yet so at the moment I don't have the prototype images…

Reply
Abdullah Gapor says:
March 25, 2014 at 4:37 am

Good day sir, Is this Spectrum a passive and active filter?

Reply
Swagatam says:
March 25, 2014 at 2:44 pm

Good day Abdullah, it's an active filter.

Reply
ivan dela cruz says:
March 15, 2014 at 1:40 am

good day sir, thank you for your help and for the circuit, i have a last one question, how can i compute the freq?what computation should i use?

Reply
Swagatam says:
March 16, 2014 at 3:40 am

good day.
frequency calculation?? for what?

Reply
ivan dela cruz says:
March 4, 2014 at 3:30 am

good day sir, i want to make 10 band of this spectrum, where should i connect the 2nd circuit?

thanks sir.

Reply
Swagatam says:
March 12, 2014 at 9:39 am

good day Ivan, it's not critical, it can be of any level.

Reply
ivan dela cruz says:
March 11, 2014 at 4:49 pm

good day sir, what is the maximum music input voltage that can accept this circuit?is 1/4 watt resistor ok for this circuit?

Reply
Swagatam says:
March 6, 2014 at 8:37 am

If you connect more than 5V, the LEDs will dissipate more current and become warmer.

Reply
ivan dela cruz says:
March 6, 2014 at 2:07 am

thank you sir, if i connect it to a power amp and the voltage exceed 5V will it work?

Reply
Swagatam says:
March 5, 2014 at 9:25 am

Ivan, watts is not relevant to the circuit performance, the music input voltage is only important.

The voltage should be ideally a 5V regulated DC.

Reply
ivan dela cruz says:
March 5, 2014 at 1:03 am

good day again sir, thank you for your reply, i have another question, will this circuit works at 150 watts or above?and should i use regulated power supply for this?

Reply
Swagatam says:
March 4, 2014 at 8:23 am

good day ivan, you will need to make 10 of these circuits separately and feed the music to all the inputs by joining all the inputs together.

Reply
Swagatam says:
November 22, 2013 at 6:19 am

you will need to put PNP transistors at the outputs of the IC LM3915, refer to this post for help:

https://www.homemade-circuits.com/2013/07/bike-generator-to-220v-converter-circuit.html

In place of the relays, you can add 1 watt leds.

Reply
Raymond Michael says:
July 27, 2013 at 2:46 am

I real interested, but at my location Ifailed to find the main chip, LM3915, what ease can I do to decorate my homemade amplifier? Thanks a lot to U

Reply
Swagatam says:
July 28, 2013 at 7:33 am

If you want to make the above project you will have to get the prescribed ICs, no other options sorry.

Reply
Back to Newest

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

circuit simulator image

Subscribe to get New Circuits in your Email

Categories

  • Arduino Projects (95)
  • Audio and Amplifier Projects (133)
  • Automation Projects (18)
  • Automobile Electronics (103)
  • Battery Charger Circuits (87)
  • Datasheets and Components (109)
  • Electronics Theory (149)
  • Energy from Magnets (27)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (95)
  • Lamps and Lights (159)
  • Meters and Testers (71)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (28)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Renewable Energy (12)
  • Security and Alarm (64)
  • Sensors and Detectors (106)
  • SMPS and Converters (34)
  • Solar Controller Circuits (60)
  • Temperature Controllers (43)
  • Timer and Delay Relay (49)
  • Voltage Control and Protection (42)
  • Water Controller (37)
  • Wireless Circuits (31)

Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

People also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Stack Exchange
  • Linkedin

Recent Comments

  • Swagatam on Simple Tone Control Circuits
  • Ken on Simple Tone Control Circuits
  • Swagatam on Circuit Projects for Beginners and School Students
  • Swagatam on 10 Watt Stereo Amplifier Circuit Diagram
  • Swagatam on Triac Battery Charger Circuit

© 2026 · Swagatam Innovations