Fading In/Out LEDs with Mic and Amplifier

  • Thread starter Thread starter Ikigai
  • Start date Start date
  • Tags Tags
    Led
Click For Summary
SUMMARY

This discussion focuses on creating a circuit that activates LEDs based on sound levels detected by a microphone and amplifier. The proposed solution involves using pulse width modulation (PWM) to control LED brightness, allowing them to fade in and out with sound intensity. Participants recommend using specialized chips such as the LM3914 for linear displays and the LM3916 for VU meter applications, which provide effective visual feedback based on audio levels. The conversation clarifies terminology, emphasizing the correct use of "capacitor" instead of "condensator."

PREREQUISITES
  • Understanding of pulse width modulation (PWM) techniques
  • Familiarity with electronic components such as capacitors and LEDs
  • Knowledge of audio signal processing and microphone functionality
  • Basic circuit design principles and schematic interpretation
NEXT STEPS
  • Research the implementation of pulse width modulation in microcontrollers
  • Explore the specifications and applications of the LM3914 and LM3916 chips
  • Learn about audio level detection circuits and their components
  • Investigate alternative modern LED driver ICs for audio visualization
USEFUL FOR

Electronics hobbyists, audio engineers, and developers interested in creating interactive LED displays based on sound levels.

Ikigai
Messages
3
Reaction score
0
I would like to start this thread in simple terms, at least initially, just to get an idea of what is required for the following project and then get more in detail when necessary.

We are working on a project where we are using a simple mic an amplifier, controller and a few LEDs. the Idea is that the leds will be activated by the mic once the dB level har reached a critical level. (You talk and the lights go on basically).

What I would like to discuss and get some feedback on is how to make possible a circuit so that the LEDs fade in and out when we have sound. We are right now thinking of using a condensator for this purpose. But we are not sure how to implement it in the system to make the idea funtion. Can one just connect the right condensator between the microcontroller and LED as simple as that or does one have to take more into account? Does AC/DC play a factor here.

Attached you will find a picture of the circuit schematics.
Thanks for your time.
 

Attachments

Engineering news on Phys.org
I wouldn't think a capacitor would work as you describe. (Condensator is the wrong term here. Capacitors used to be called condensers, but never condensators.)

If your micro can do pulse width modulation, you could use that.
Just have a little routine to gradually increase the width of the pulses going to the LED and then gradually reduce them.

If you really want a column of LEDs so that more LEDs would light up if the input signal was stronger, there are specialist chips to do this.
The LM3914 is a linear one and the LM3915 is a logarithmic one.
These are quite old so there may be better ones available.
 
vk6kro, You date yourself by mentioning LM3914 and LM3915! They are as old as sliced bread! They are still used, however, and there are two new types as well!

"Dot/Bar Display Drivers

LM 3914 - Linear Version
LM 3915 - Logarithmic 3 DB/step Version
LP 3943 - Low Voltage, 16 LED's

The LM 3916 is a monolithic integrated circuit that senses
analog voltage levels and drives ten LEDs, LCDs or vacuum
fluorescent displays, providing an electronic version of the
popular VU meter. One pin changes the display from a bar
graph to a moving dot display.

The audio level meter most frequently encountered is the VU
meter. Its characteristics are defined as the ANSI specification
C165. The LM 3916’s outputs correspond to the meter
indications specified with the omission of the −2 VU indication.
The VU scale divisions differ slightly from a linear scale
in order to obtain whole numbers in dB."

http://www.ti.com/product/lm3916&lpos=See_Also_Container&lid=Alternative_Devices
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
9K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
4
Views
2K
  • · Replies 22 ·
Replies
22
Views
7K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
20
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 34 ·
2
Replies
34
Views
10K
  • · Replies 1 ·
Replies
1
Views
7K