Arduino Wake-on-Voltage?

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
aintaer
 
Posts: 8
Joined: Sun Jul 24, 2011 5:34 pm

Arduino Wake-on-Voltage?

Post by aintaer »

My project involves adding sound to an existing project. I have the Adafruit Waveshield on top of an Arduino, the waveshield sends to an audio amp. The Arduino is controlled by a button. However, I would like for the Arduino to power down most of the time, and be woken up when an external source has 3.3V across it.

Now my question is two part. 1) How do I measure an external voltage with an Arduino? Do I connect the arduino ground to the external ground? The arduino is battery powered, so I'm not sure how this should be laid out. 2) the Waveshield occupies pin 1 and 2, the INT0 and INT1 for the usual wakeup interrupts. But I see in the spec sheet that PCINT0-23 (corresponding to the pins) are available as interrupts as well? How does that work?

User avatar
adafruit_support_bill
 
Posts: 88088
Joined: Sat Feb 07, 2009 10:11 am

Re: Arduino Wake-on-Voltage?

Post by adafruit_support_bill »

Do I connect the arduino ground to the external ground?
You need to connect the grounds so you have a common reference for measuring the voltage;
But I see in the spec sheet that PCINT0-23 (corresponding to the pins) are available as interrupts as well? How does that work?
http://www.arduino.cc/cgi-bin/yabb2/YaB ... 1193225679

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”