154Views3Replies

Author Options:

Arduino Input Answered

I am writing an Arduino program to read speaker inputs for a test station.  I need only to know when a speaker lead is on or off. This will be done by using the fade and balance.  Originally I was connecting the speaker leads to the analog inputs and could get a single line to work as a simple VU meter. Multiple lines gave issue.  Since I don't need to know the actual level, just whether they are on or off I'd like the speaker lead to trigger a transistor connected to a digital I/O pin on the Arduino.  Any thoughts or quick schematics on how to do this? 

3 Replies

user
mpilchfamily (author)2014-02-27

All you need is a simple clap circuit using an op amp. Set the gain pretty high on teh clap circuit and any time anything comes through the speaker the LED will light.

Select as Best AnswerUndo Best Answer

user
dbirky (author)mpilchfamily2014-02-27

I haven't done much with opamps. Something like this?

Select as Best AnswerUndo Best Answer

user
mpilchfamily (author)dbirky2014-02-27

No, something like this.

Also see the follow up video to this as it may have some info that may help to take your project to the next level.

On the circuit the output to the LED can be fed to the base of a transistor to trigger it allowing a full 5V to trigger a digital pin on the arduino to do anything else your looking to do.

Select as Best AnswerUndo Best Answer