Fading In/Out LEDs with Mic and Amplifier

  • Thread starter Ikigai
  • Start date
  • Tags
    Led
In summary, the project requires a device that will turn on the LEDs when the microphone senses a level of dB. There are several options available, but the most common is a pulse width modulation circuit.
  • #1
Ikigai
3
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

  • Circuit (1).pdf
    12.5 KB · Views: 235
Engineering news on Phys.org
  • #2
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.
 
  • #3
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
 

Related to Fading In/Out LEDs with Mic and Amplifier

1. What is the purpose of using a microphone and amplifier with fading in/out LEDs?

The microphone and amplifier are used to capture and amplify sound signals, which are then used to control the LED lights. This allows the LEDs to be synchronized with music or other sound sources, creating a dynamic and visually appealing effect.

2. What type of circuit is needed to achieve fading in/out LEDs with a microphone and amplifier?

A simple circuit consisting of a microphone, amplifier, and a microcontroller or other programmable device is typically used. The microcontroller is programmed to analyze the amplified sound signals and adjust the brightness of the LEDs accordingly.

3. Can any type of LED be used for fading in/out with a microphone and amplifier?

Yes, any type of LED can be used as long as it is compatible with the power source and control circuit. However, it is recommended to use LEDs with a high refresh rate to ensure smooth fading effects.

4. Is there a limit to how many LEDs can be controlled with this setup?

The number of LEDs that can be controlled will depend on the capabilities of the microcontroller and its programming. With a powerful enough microcontroller, it is possible to control hundreds or even thousands of LEDs.

5. Can this setup be used for other types of lighting effects besides fading in/out?

Yes, this setup can be used for a variety of lighting effects such as flashing, pulsing, and color changing. It all depends on how the microcontroller is programmed to respond to the sound signals from the microphone and amplifier.

Similar threads

  • Electrical Engineering
Replies
3
Views
830
Replies
4
Views
973
  • Electrical Engineering
Replies
4
Views
8K
  • Electrical Engineering
Replies
12
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
294
Replies
22
Views
6K
  • Electrical Engineering
Replies
5
Views
2K
  • Electrical Engineering
Replies
5
Views
1K
Replies
1
Views
751
  • Electrical Engineering
Replies
9
Views
2K
Back
Top