Hi all!
I need help with an Arduino project I've been thinking about. I want an Arduino Uno + Wave Shield to play just 1 .wav file when it detects that a PC's power button has been pushed. The power button is a simple 2-wire affair, with 5V running through it. The switch is normally open (momentary/non-latching), and when it's pushed, it tells the motherboard to ground pin 16 of the ATX 24-pin connector. I was thinking of doing it by have the Arduino connected between pin 16 of the ATX connector and the line that runs back to the PSU. The problem is, how do I make the Arduino monitor the voltage of the wire, and play the sound when the voltage on that wire drops below 0.8V? Or is there some other way that I should go about this, like by making the Arduino do the power button's job by interrupting the power in the same way as the power button does, and have the actual button connected to the Arduino itself as described in the Arduino button tutorial?
Why not just monitor +5V line? When button is pressed and PSU start-up, just play wave when ether 3.3 or 5 or 12 show up on connector.
How you power up arduino, from standby +5V?
Magician:
Why not just monitor +5V line? When button is pressed and PSU start-up, just play wave when ether 3.3 or 5 or 12 show up on connector.
That's what I want to do, but I'm not sure how to actually get the Arduino to respond to it.
How you power up arduino, from standby +5V?
That's what I was thinking, just connect the power to the power terminals of one of the many internal USB headers.
File/Examples/Digital/Button, only you don't need a button, just wire +5 to pin 2. To play safe , put 1 kOhm resistor in series.
Magician:
File/Examples/Digital/Button, only you don't need a button, just wire +5 to pin 2. To play safe , put 1 kOhm resistor in series.
Awesome, thanks