Maybe, depends on the current required...
Are you talking about the main power switch where it plugs into the mains around back? Or are you talking about the soft power on switch upfront the WOL (Wake-up On Lan) switch that just wakes up the power supply?
ATX power supplies are always on unless you cut the mains power, they supply a minimal current 5 volts to the motherboard all the time, this allows the motherboard to tell them when it's time to wake up and power up everything else, or you can jump start it with the front push button...
The ATX only supplies the motherboard with 5 volts @ 750mA so a common transistor would be fine, but you would have to share a common ground...
A better option might be an optocoupler so you isolate your on/off circuit from the motherboard entirely...
What I said above still applies, your Arduino and the computer will need to share a common ground if you use a transistor... You need to bring the WOL pin low to turn on the computer and to do that with a transistor you will need to share ground... If you use a optocoupler you will not have to worry about any of that...
A 2N2222 is an NPN transistor not a PNP transistor, it makes a difference!
First you need to take the two WOL lines at the front of the computer or the motheboard and determine what one is GND and what one is signal... Should be as simple as using a volt meter, the signal line should be positive at+ 5 volts (possibly 3.3) and the GND will be ground aka negative... Any volt meter will tell you what is positive and negative, if it reads a negative value flip the test probes around...
See attached, it should work... A momentary high signal from the Arduino should turn on the computer...
Yes, it could be replaced by an Intel Core i7I'd simplify the circuit by removing a component, the Arduino, it really isn't required (or even useful) for what you have described.
I'd simplify the circuit by removing a component, the Arduino, it really isn't required (or even useful) for what you have described.
Yeah, but it still could be replaced by and Intel Core i7. (disclaimer: I work for Intel)I have more things to Arduino will do other than turn the PC on or off. I have a program that has a menu and i will be using a thumbstick to navigate in it using the com of the Arduino to move it. etc etc.
Can't say on the new one, it might be high or low logic that turns it on, I was able to give you help with the last one because ATX specifications are documented and universal... When you get into proprietary systems more testing is needed...