Hi, first time on the forums. Sorry if this has been answered already, but my search-fu isn't returning anything helpful.
Here's my project: I make busy lights.
I have my arduino all coded and happy so that when a momentary switch is pressed (built in pull-up resistor), a relay is turned on and a series of LED lights make a very pretty lighting animation until the momentary switch is let go and the entire board goes silent. It's perfect.
Now comes the challenge. I want the arduino to be "triggered" by an external event.
I've taken apart my wireless headset, desoldered one of the LEDs and extended those leads to my breadboard. So now, when I pick up my phone with the headset, I've got an LED that lights up on my breadboard. Nice!
Now my question, how to connect the two? I want the LED light from the headset to trigger the arduino just like the momentary switch does now.
I've tried using digitalRead on Pin9 (doesn't change the value, shows "0")
I've tried using analogRead on Pin9(doesn't change the value reported to the Arduino)
I feel like I'm missing something simple, a way for the arduino to detect voltage from an outside source (the LED reports either zero voltage (headset is not on) or 2 volts (headset is on, LED is lit up).
If this isn't enough information, I can prototype everything on Fritzing and post the file, or I can post my arduino code, but I have a feeling someone is going to say, "use the BLAH" and maybe point me to a link that I can take and run with.
Sorry for the wall of text, appreciate those who read till the end.
Thanks,
Aaron