frequency and volume reactive individually adressable LEDs

hey guys :slight_smile:

thanks for reading this and trying to help me.

i wanna do some sound-reactive led strips using my arduino uno.

i already got some individually adressable Leds.

and i got a little 3€ microphone like this one https://www.amazon.de/Mikrofon-Smartphone-Omnidirectional-Kondensator-Mikrofon-Lavalier/dp/B01F84YMZQ/ref=sr_1_19?ie=UTF8&qid=1547946570&sr=8-19&keywords=mic

i also could connect a 3,5mm audio jack coming from the pc to the arduino.

when i open the cables, i see 1 wire and 1 extra isolated wire.

how can I connect this mic to the arduino so i can read the frequency and the volume?

i have already found some circuits on the internet but they are all using transistors or mosfets or what do i know...im quite new to electronics and i get pretty confused when i see those sketches. is there an easy way to deal with that?

greets, zx

While waiting for better answers do some searching on Arduino and frequency reading. Reading the volume, the gain…. A diode, a resistor and a capacitor could be of good help to catch that. Else some RMS, Roote, Mean Square, stuff might be of intereset.
Se what ready stuff there is out there.

I suggest you work on the input (reading the sound) and output (controlling the LEDs) separately before putting them both together.

You need a preamplifier for the microphone. Plus, condenser mics need to be powered and the input to the Arduino needs to be biased because the Arduino can't read the negative half of the AC audio waveform. In fact, the Arduino can be damaged by negative voltages and/or the audio can be "damaged" (distorted).

The easiest solution is to get a microphone board similar to [u]this[/u]. It's got the microphone, preamp, power for the microphone, and a biased output. Or, if you want to build your own preamp the schematic for that board is published.

If you want to directly connect a line-level or headphone-level audio signal there is a bias circuit at the bottom of [u]this post[/u].

To get the frequency information, search for the Arduino FFT (or FHT) library.

Thanks Railroader, i will definitely look this up! I still get confused by diodes and capacitors, what they exactly do and why i need them is beyond my understanding

DVDdoug idk man, u are MVP xd
always helping alot with ur answers, thanks!
I will look all the new information up and come back if i have questions, which will definitely happen, lol.

have a nice day!