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?
Arduino Wake-on-Voltage?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Arduino Wake-on-Voltage?
You need to connect the grounds so you have a common reference for measuring the voltage;Do I connect the arduino ground to the external ground?
http://www.arduino.cc/cgi-bin/yabb2/YaB ... 1193225679But I see in the spec sheet that PCINT0-23 (corresponding to the pins) are available as interrupts as well? How does that work?
Please be positive and constructive with your questions and comments.