Login or create an accountClose
I am a returning customer
Login or create an accountClose
Your Account Has Been Created!
Thank you for registering with TechMaze!
You will be notified by e-mail once your account has been activated by the store owner.
If you have ANY questions about the operation of this online shop, please contact the store owner.
You have been logged off your account. It is now safe to leave the computer.
Your shopping cart has been saved, the items inside it will be restored whenever you log back into your account.
Microphone Sound Detector With Amplifier Module Max9814 AGC CMA-4544PF-W
This fancy microphone amplifier module is a step above the rest, with built-in automatic gain control. The AGC in the amplifier means that nearby 'loud' sounds will be quieted so they don't overwhelm & 'clip' the amplifier, and even quiet, far-away sounds will be amplified.
This amplifier is great for when you want to record or detect audio in a setting where levels change and you don't want to have to tweak the amplifier gain all the time. The chip at the heart of this amp is the MAX9814,
and has a few options you can configure with the breakout. The default 'max gain' is 60dB but can be set to 40dB or 50dB by jumpering the Gain pin to VCC or ground. You can also change the Attack/Release ratio, from the default 1:4000 to 1:2000 or 1:500. The output from the amp is about 2Vpp max on a 1.25V DC bias, so it can be easily used with any Analog/Digital converter that is up to 3.3V input. If you want to pipe it into a Line Input, just use a 1uF blocking capacitor in series. Each order comes with one assembled and tested board, with electret mic pre-soldered on, and a small piece of header.
1. Supply Voltage: 2.7v-5.5v @ 3mA current
2. Output: 2Vpp on 1.25V bias
3. Frequency Response: 20Hz - 20 KHz
4. Automatic gain
The project aimed to produce a colorful sound responsive LED display. It serves no purpose other than decorative but does look very nice and can add to the atmosphere in a room where music is playing. It is also a fun electronics project with which to learn more about Arduino programming and electronics. It cycles through different sound reactive light patterns when a button is pushed. Some of the patterns contain multiple sub-patterns.
The project uses modern WS2812 addressable LEDs to produce lighting effects. These LEDs consist of a red, green and blue LED on one chip combined with a tiny microcontroller that takes a signal in and sets the brightness of all 3 colors using an 8-bit value for each channel. They update at high speeds to produce color mixing effects and even animations. They use 3 wires; 5 volts, ground, and a signal wire.
An Arduino microcontroller generates the signal. An Arduino is a simple, cheap and slow 8-bit computer that can run software to generate a signal to control WS2812 LEDs. It maxes out at 512 LEDs which is enough to produce good results.
The Arduino runs code that allows it to take an input from a MAX9814 auto gain microphone. This microphone works particularly well with the Arduino compared to most cheaper microphones and is what allows the LEDs to respond to sound.
Apart from these basic components, there is a power supply, a button to change modes, a couple of resistors, some nuts and bolts and miscellaneous wires and connectors. The case was 3D printed using translucent PLA.
Step 2: Parts List and Overview
A google documents spreadsheet of the parts required can be found here;
The control circuitry consists of an Arduino with a MAX9814 microphone and a button, hooked up to a switching power supply and some WS2812 LEDs. There is a second switching power supply for the LEDs as these are higher current devices than the Arduino and microphone and doing this can help separate the Arduino from any noise generated by the LEDs. The grounds on both power supplies should be common and it's worth putting some 470uf electrolytic capacitors across each power supply to add extra power filtering. The circuit could be built with one power supply and no extra capacitors and it would probably be fine.
The whole circuit is powered by a 7 to 26 volt DC power supply. The voltage range is large because of the use of switching power supplies internally. I suggest using a suitable battery or a 12-volt mains adapter that can provide at least an amp to power everything.
There are two resistors on the circuit board. A 10k Ohm resistor for the Arduino and the button and a 200-ohm resistor inline with the WS2812 data pin to add some extra power protection.
Use pins and connectors to plug the external LEDs and button into the circuit board in a convenient fashion and another connector for the main power input. I suggest using whatever style of connectors you like best. In the pictured example, there are two momentary buttons, one on the circuit board for testing and a second external one for after the project was completed. Both do the same thing and you only need to use one.
I used WS2812 LEDs that came as strips of 8 on short lengths of PCB material. I used 4 strips for 32 LEDs in total. Arranging them around the sides of a square produced good results.
Lay the components out on some perforated copper cladding circuit board with enough space between everything to add the power and signal connections. Use the pictures of mine as a guide if it helps but there is no need to copy them exactly; just make sure all the connections get to the right pins and it will work.
I used the box I put my circuit in as the base for the light itself so there was no need to build it as small as possible. I made an effort to solder the higher current connections onto the reverse of the perf board to keep things safe and neat and used thin wires to wire up the expensive microphone on the front of the circuit so that I could easily remove that in the future if necessary.
The Arduino is connected to the microphone, the button, the LEDs and the 5v MP1584 power supply.
The microphone solders to the Arduino's ground pin, 3.3v pin and Analogue 1 pin via its ground pin, Vdc pin and Out pin respectively.
The button is soldered to the Arduino's 5-volt pin and Digital pin 9. Digital Pin 9 should also be connected to the ground via a 10K ohm resistor. The Arduino 'button' tutorial explains this in detail; https://www.arduino.cc/en/Tutorial/Button
The LED data pin is soldered to Digital pin 6 on the Arduino with a 200 Ohm resistor inline between the Arduino and the LEDs.
Arduino Power supply
The Arduino's 5 volt and ground pins should be wired to the adjustable MP1584 voltage regulator ONLY after it has been set to 5 volts output. This power supply will only power the Arduino and the microphone. I have used the 3.3-volt regulator on the Arduino to power the microphone which works on 3.3 volts or 5. Any small switching regulator could be used here, I just happened to have n MP1584.
LED Power supply
The LM2596 voltage regulator is rated at 10 watts which is enough to power the LEDs. This should be set to 5 volts output then wired to the 5 volts and ground pins on the WS2812 pins. Grounds should be common on both power supplies but the 5 volts for the Arduino and LEDs should be kept separate. Other similarly rated switching power supplies should work but the LM2596 is cheap and plentiful on eBay.
Main Power Supply
You could use any mains to a 12-volt power supply capable of providing 1 amp. Alternatively use an 8 to 24-volt battery. This should power both switching regulators described above.
design can be found at;
Once the circuit is done you can flash the code to the Arduino. The code I used can be found here;
client program: ClickHere