Sound Level Meter with LM3914 10-LED Bar Graph, LM358 & 555 Noise Alarm

Build a no-code sound level meter that shows noise on a 10-LED LM3914 bar graph and switches on a buzzer and relay for an adjustable time when the noise goes above a level you set, using an LM358 mic preamp and comparator and an NE555 timer.

  • DifficultyAdvanced
  • Build time5–8 hours
  • Board / MCUNone (LM3914 + LM358 + NE555)
  • Parts16 items
  • CodeNot needed

Need it ready-made? Buy Ready Project

Loud noise in a classroom, workshop, library or baby room is easy to ignore until somebody complains. This LM3914 sound level meter shows how loud the room is on a 10-LED bar graph, and when the noise stays above a level you choose it switches on a buzzer, a red ALARM LED and a relay for a hold time you can set from about 1 to 50 seconds. The relay can turn on a warning lamp, a sign that says “Quiet please”, or an extractor fan in a machine room.

It is a combination project built only from common analog and timer ICs, so there is no microcontroller and no code. An electret microphone feeds an LM358 preamp, a two-diode peak detector turns the audio into a smooth DC level, an LM3914 drives the LED bar, the second half of the LM358 compares the level with a threshold, and an NE555 monostable holds the alarm on. A 12 V adapter powers the board and a 7805 makes a clean 5 V rail for the microphone and the LEDs.

Connection diagram of the LM3914 sound level meter with electret microphone, LM358 preamp and comparator, peak detector, 10-LED bar graph, NE555 hold timer, relay and buzzer

How It Works

  • Microphone and bias: the electret capsule gets its bias current from the +5 V rail through 2.2 kΩ. Its small audio signal passes through a 1 µF capacitor to LM358 pin 3. A 10 kΩ/10 kΩ divider on the 12 V rail (decoupled by 10 µF) gives a 6 V mid-point, and a 100 kΩ resistor holds pin 3 at that level so the op-amp can swing both ways on a single supply.
  • Preamp (LM358 half A): a non-inverting stage. The feedback network is the 470 kΩ SENSITIVITY trimmer plus 10 kΩ from pin 1 to pin 2, and 1 kΩ in series with 10 µF from pin 2 to ground. That gives an AC gain from about 11 to 480, while the DC gain stays at 1 so the output sits near 6 V.
  • Peak detector: the amplified audio is coupled through 1 µF to node X. One 1N4148 clamps X to ground and the second 1N4148 charges a 4.7 µF capacitor at node Y. A 100 kΩ resistor lets Y fall back in about half a second, so the bar rises fast on a loud sound and falls smoothly, like a VU meter.
  • LED bar (LM3914): pin 5 reads node Y. The internal 1.25 V reference with R1 = 1.2 kΩ (pin 7 to 8) and R2 = 1.2 kΩ (pin 8 to ground) sets full scale to 2.5 V, so each LED is a 0.25 V step. R1 also sets the LED current to about 10 mA. Pin 9 picks bar mode (all LEDs up to the level light) or dot mode (only one LED).
  • Noise comparator (LM358 half B): pin 5 also reads node Y, and pin 6 gets a threshold voltage from the THRESHOLD pot (0 to 2.5 V, the same range as the bar). When the sound level goes above the threshold, pin 7 goes high and turns on transistor Q1.
  • Hold timer (NE555): Q1 pulls 555 pin 2 low, which starts a monostable pulse. The pulse time is t = 1.1 × R × C, with R = 22 kΩ + the 1 MΩ HOLD pot and C = 47 µF, so about 1.1 s to 53 s. Each new loud sound while the output is high keeps the alarm going.
  • Output: 555 pin 3 lights the red ALARM LED and drives Q2, which switches the 12 V relay coil and the 12 V buzzer. A 1N4007 across the coil absorbs the turn-off spike, and the MUTE switch lets you keep the relay output while silencing the buzzer.

Components Required

  • LM3914 dot/bar display driver IC with 18-pin socket – 1
  • LM358 dual op-amp with 8-pin socket – 1
  • NE555 timer IC with 8-pin socket – 1
  • 7805 5 V regulator (TO-220) – 1
  • Electret condenser microphone capsule (2-pin) – 1
  • BC547 NPN transistors – 2 (Q1 trigger, Q2 relay driver)
  • 12 V SPDT relay (coil about 400 Ω) – 1
  • 12 V active buzzer – 1
  • 5 mm LEDs: 6 green, 2 yellow, 3 red (10 for the bar, 1 for ALARM)
  • Trimmer / panel pots: 470 kΩ (SENSITIVITY), 10 kΩ (THRESHOLD), 1 MΩ (HOLD TIME) – 1 each
  • Resistors (¼ W): 2.2 kΩ ×1, 10 kΩ ×6, 100 kΩ ×2, 1 kΩ ×3, 1.2 kΩ ×2, 22 kΩ ×1
  • Capacitors: 1000 µF 25 V, 47 µF 25 V, 10 µF 25 V ×3, 4.7 µF, 1 µF ×2, 100 nF ×3, 10 nF
  • Diodes: 1N4007 ×2, 1N4148 ×2
  • Switches: SPDT slide (BAR / DOT) and SPST toggle (buzzer MUTE) – 1 each
  • 12 V 1 A DC adapter with DC jack – 1
  • Perfboard, 2-pin screw terminals, hook-up wire – 1 set

Wiring Table

FromToNotes
DC jack +1N4007 anode; cathode = +12 V railReverse-polarity protection; 1000 µF from +12 V to GND
+12 V rail7805 IN (pin 1); 7805 GND (pin 2) to GND7805 OUT (pin 3) = +5 V; 100 nF on IN and OUT, 10 µF on OUT
+5 V2.2 kΩ → mic (+)Mic (−) / case pin to GND
Mic (+)1 µF → LM358 pin 3Pin 3 also 100 kΩ to the 6 V bias node
Bias node (6 V)10 kΩ to +12 V, 10 kΩ to GND10 µF from bias node to GND
LM358 pin 1470 kΩ trim + 10 kΩ → pin 2SENSITIVITY (gain)
LM358 pin 21 kΩ → 10 µF (−) → GND10 µF + side towards the resistor
LM358 pin 11 µF (+) → node X1N4148 anode GND, cathode X
Node X1N4148 anode; cathode = node YNode Y: 4.7 µF and 100 kΩ to GND
Node YLM3914 pin 5 and LM358 pin 5Sound level, 0–2.5 V for the full bar
LM3914 pin 2 / 3GND / +12 VV− and V+
LM3914 pin 4 / 6GND / pin 7RLO and RHI ends of the internal divider
LM3914 pin 7 → 81.2 kΩ (R1)Pin 8 → 1.2 kΩ (R2) → GND; full scale 2.5 V, about 10 mA per LED
LM3914 pin 9BAR/DOT switch → pin 3Closed = bar mode, open = dot mode
LM3914 pin 1, 18, 17, 16, 15, 14LED1–LED6 cathodes (green)All LED anodes to +5 V
LM3914 pin 13, 12LED7–LED8 cathodes (yellow)Anodes to +5 V
LM3914 pin 11, 10LED9–LED10 cathodes (red)Anodes to +5 V; 10 µF across +5 V near the LEDs
+5 V → 10 kΩ → THRESHOLD pot → GNDPot wiper → LM358 pin 6Threshold range 0–2.5 V
LM358 pin 710 kΩ → Q1 baseQ1 emitter GND, collector → 555 pin 2
LM358 pin 8 / 4+12 V / GND100 nF across pins 8 and 4
NE555 pin 8 and 4 / pin 1+12 V / GNDPin 2: 10 kΩ pull-up to +12 V
NE555 pin 722 kΩ + 1 MΩ HOLD pot → +12 VPins 6 and 7 tied, 47 µF from pin 6 to GND
NE555 pin 510 nF → GNDNoise filter on the control pin
NE555 pin 31 kΩ → Q2 base; 1 kΩ → ALARM LED → GNDQ2 emitter to GND
Q2 collectorRelay coil → +12 V1N4007 across the coil, cathode to +12 V
+12 V → MUTE switchBuzzer (+); buzzer (−) → Q2 collectorRelay COM/NO switch your lamp or fan

Build the board in stages and test each one: first the power supply (12 V and 5 V), then the LM3914 with a 10 kΩ pot on pin 5 (sweep it from 0 to 2.5 V and watch the bar move), then the microphone and preamp, and finally the comparator, 555 and relay. If the relay contacts switch mains, use a relay module with proper isolation, keep mains wiring in a closed box, and ask a qualified person to check it.

Connection Diagram

The block diagram above shows how the signal flows from the microphone to the LED bar and the alarm. The pin-accurate drawing below lists every IC pin used, so you can check each joint against the wiring table.

LM3914 Sound Level Meter – Pin-Accurate Wiring LM3914 pin 1, 18–10 LED1, LED2–LED10 cathodes (anodes to +5 V) pin 2 / 3 V− to GND / V+ to +12 V pin 4 / 6 RLO to GND / RHI to pin 7 pin 5 SIG from peak detector node Y pin 7 → 8 1.2 kΩ (R1); pin 8 → 1.2 kΩ → GND (R2) pin 9 BAR/DOT switch: to pin 3 = bar, open = dot LM358 pin 1 / 2 / 3 Preamp out / IN− (1 kΩ+10 µF to GND) / IN+ mic pin 1 → 2 470 kΩ SENSITIVITY trim + 10 kΩ in series pin 5 / 6 Comparator IN+ = Y / IN− = THRESHOLD wiper pin 7 10 kΩ → Q1 BC547 base pin 8 / 4 +12 V / GND NE555 pin 1 / 8 / 4 GND / +12 V / +12 V (reset unused) pin 2 Q1 collector, 10 kΩ pull-up to +12 V pin 6 + 7 Tied; 47 µF to GND; 22 kΩ + 1 MΩ pot to +12 V pin 5 / 3 10 nF to GND / 1 kΩ → Q2 base and ALARM LED Power: 12 V adapter → 1N4007 → +12 V rail (1000 µF). 7805 makes +5 V for the mic bias, LED anodes and threshold pot. All grounds common. Full scale = 1.25 V × (1 + R2/R1) = 2.5 V, so each LED step is 0.25 V at pin 5.
Pin-accurate connection diagram for the LM3914 sound level meter with noise alarm.

Setting Up and Calibrating

  • Set the THRESHOLD pot to maximum, the HOLD pot to minimum and the SENSITIVITY trimmer to the middle. Power up: only the first LED or two should flicker in a quiet room.
  • Speak at normal volume about 1 m from the microphone and turn SENSITIVITY until the bar reaches about LED 5 or 6. Clap: it should reach the red LEDs.
  • Make the noise level you want to catch (for example loud talking) and turn THRESHOLD down slowly until the ALARM LED and buzzer come on. That level is now the trip point.
  • Turn the HOLD pot to set how long the alarm stays on after the noise stops (about 1 s to 50 s).
  • Use the BAR/DOT switch for a full bar (easy to read from a distance) or a single moving dot (lower current).

Troubleshooting

ProblemFix
No LEDs light at allCheck +5 V at the LED anodes and +12 V at LM3914 pin 3. Make sure pin 4 goes to GND and pin 6 to pin 7. With a 10 kΩ pot on pin 5, the bar must follow the pot.
Only the first LED lights, even with loud soundCheck the electret polarity (the pin joined to the case is −) and the 2.2 kΩ bias. Measure about 6 V DC at LM358 pins 1, 2 and 3. Turn SENSITIVITY up.
All 10 LEDs stay onThe detector is not discharging or the gain is far too high. Check the 100 kΩ across the 4.7 µF at node Y and the 1N4148 directions, then turn SENSITIVITY down.
Bar flickers too fastRaise the hold capacitor at node Y from 4.7 µF to 10 µF. For a faster bar, use 2.2 µF.
LM3914 runs hotThe LED anodes must go to +5 V, not +12 V. LED current is about 12.5 / R1 (mA, with R1 in kΩ); with 1.2 kΩ it is about 10 mA.
Alarm never triggersTurn THRESHOLD lower. Check that LM358 pin 7 goes high on a loud clap and that Q1 pulls 555 pin 2 low (below 4 V).
Alarm stays on all the timeTHRESHOLD is below the quiet-room level, or 555 pin 2 has no 10 kΩ pull-up. Check the HOLD pot is not at maximum (about 50 s).
Alarm triggers once at power-onThis is normal for a 555 monostable while the capacitors charge. Add 10 µF from 555 pin 4 to GND with 10 kΩ from pin 4 to +12 V to hold the reset low for a moment.
Relay clicks but the buzzer is silentCheck the MUTE switch and the buzzer polarity. Use an active 12 V buzzer, not a passive piezo disc.
Hum or random triggersKeep the microphone wires short or use shielded cable, add 100 nF across every IC supply and use a regulated 12 V adapter.

Ideas to Extend

  • Replace the 10 LEDs with two LM3914s in cascade for a 20-LED bar with finer steps.
  • Add a CD4026 counter and 7-segment display, clocked by 555 pin 3, to count how many times the room went over the limit.
  • Feed node Y to the analog input of a microcontroller board later if you want to log noise levels over the day.

Leave a Comment