strungout420:
Magnet,
This might be a little OT, but why "almost"? My hack is the best computer I own! The power of a Mac Pro for 1/4 the cost!!
I lucked into having built with the right components..although audio kexts gave me heII. I'm on a relatively "slow" quad 2.8, and I sometimes have issues with flash not being happy. Only 1 kernel panic in 9 months though, knock on wood.
strungout420:
magnethead:
You will still get the "Bung" chime when it turns on. It will come out of the main computer speakers.
You mean via the Arduino? Or via a script or something?
When I restart mine (every 38..40..45..50..60..eventually days), I get the apple "Bung" chime through my main speakers, just like my iMac at work.
strungout420:
And the LED does stay on when the power is on. Or at least one of the systems has constant-on power, because there's a blue glowing ring around the power button that's lit whenever the computer is on...
Something I just thought about. I don't think you can do an analog-read of >5VDC without detonating something. I would have to measure, but I know for sure that computer fan header will be 12VDC, and the LED header is probably 3.3V or 5V, but may not and could well be 12V. That said, since we're working with fairly constant voltage values (most PSU's are rated +-5% on output rails, those of us at TSF consider anything beyond 8% as requiring replacement), you could use voltage dividers to get down to a 3.3V nominal sensing voltage, and do an analogRad comparison, assigning booleans to each input, and evaluating them.
strungout420:
Also, can someone explain to me how the Arduino is powered (forgive me for being so inquisitive without actually owning an Arduino)... Is it strictly run from the USB 12V or does it have an external power source as well?
Danger danger, USB is NOT 12 VDC. It's actually 5VDC. And you have 3 methods of powering it: through the usb port (system 5V), 7-12 (9 optimal) volts through the barrel plug, or 7-12 volts (9 optimal) through the Vin port in the connection arrays.
The most consistent way would be to give it it's own power off a wall-wart. I don't think 5VSB from the PC PSU has enough current to run an arduino, and the 5V power lines (and thus, USB lines) will lose power when the computer is off.
(7-12V spec/9 opt is based on the Mega and Uno. Pro, Pro Mini, Lilypad, ect will differ)