I had an awesome (I think) idea for my server rack's power bar...
A two-way button that will either shut down all running computers (top flick) or turn on all shut down computers (bottom flick). Leads will run from the power bar to each computer's power button, and I will have to build the little power modules inside the power bar.
Now, my problem is how to wire the modules to make them know if the computer is on and off. I think the IF <ON> TURN OFF module should be simple, with a 5V lead coming from each of the computers, and a simple transistor like this:
...though exactly what type of transistor I'd need I don't know. The IF <OFF> TURN ON one though, I have no clue. I would imagine it would simply be an inversion of the turn off one, but I've never figured out how to "invert" transistors. Anyone have any ideas? (I will have a constant 5V line in the thing for various reasons, which I can use for this if needed.)
EDIT: I also realized a straight switch for all of them wouldn't work, but I've got a solution to that which I'm sure would work (involving more transistors)... let's just imagine for now though that the switch is one-per-module.
A two-way button that will either shut down all running computers (top flick) or turn on all shut down computers (bottom flick). Leads will run from the power bar to each computer's power button, and I will have to build the little power modules inside the power bar.
Now, my problem is how to wire the modules to make them know if the computer is on and off. I think the IF <ON> TURN OFF module should be simple, with a 5V lead coming from each of the computers, and a simple transistor like this:
...though exactly what type of transistor I'd need I don't know. The IF <OFF> TURN ON one though, I have no clue. I would imagine it would simply be an inversion of the turn off one, but I've never figured out how to "invert" transistors. Anyone have any ideas? (I will have a constant 5V line in the thing for various reasons, which I can use for this if needed.)
EDIT: I also realized a straight switch for all of them wouldn't work, but I've got a solution to that which I'm sure would work (involving more transistors)... let's just imagine for now though that the switch is one-per-module.