My project is essentially triggering LEDs based on audio spikes(from drum hits) heard by a microphone wired in to an analog input on the arduino Uno.
I'm seriously at a loss here.
I've come to grips with the programming language and such and how it works, I can get LEDs to blink in various patterns so I know my LEDs work, but my problem is in reading the microphone.
I have been using the "analog Read serial" and "analog In Out Serial" example programs to get an Idea of the size of the spikes I'm looking to use before setting up the threshold stuff to get the LEDs to flash, but herein lies the Issue. There is no Spike.
Even at the point where the volume on my pre amp is clipping with every hit I see no change in the value, the serial monitor shows constant values around 200-300, which is the same as if the microphone isn't plugged in. Is there a problem with having an audio Jack wired into audio input like this? Tl;Dr- Audio spikes on microphone don't translate to spikes in the Value read by microphone
I'm sure I'm leaving out some vital information, sorry.http://imgur.com/cLhSQGb
- Picture of this circuit. Signal into A0, ground into one of the grounds in the power section of the arduino.
The amp is a Behringer Mic100, Microphone is a GLS audio ES-57, I believe it is a dynamic microphone. I know with this combination I can output a usable signal signal. http://pastebin.com/fdd13yd6
- The code I'm using to try to get data. This is unmodified from the "Analog Read Serial" example program provided by arduino