Contents
How do you connect an ATX to an Arduino?
Connect the green ATX wire to any control pin. I have used A0 (D14) because you can see it in the picture but a general digital IO pin works just as well. Plug in your ATX and your Arduino will be powered bu the main power and probably the fan will stay off.
Can you upload new sketches on Arduino IDE?
I pressed upload while another sketch didn’t finish uploading, even the original Arduino IDE can’t upload new sketches anymore!
What do I need to power my Arduino?
Using Arduino as an example, all you need to do to use and control your ATX supply is: Power your Arduino with the purple (red in the picture) ATX wire to +5V (don’t use Vin) and the black ATX wire to Gnd. Connect the green ATX wire to any control pin.
Is there a way to stop an Arduino sketch?
There are also better alternatives to actually halting the device. Stop the Arduino manually. When using the normal Arduino method of writing a sketch using setup () and loop (), your program will run forever, meaning the only time your Arduino can be considered stopped is when the power is removed.
How do you Power an ATX PSU without a motherboard?
IMPORTANT: To power the ATX PSU without a motherboard being connected, we need to cross the green wire with ground (black wire) on the 20/24 pin connector. The green wire senses if it’s OK to power all rails, so this needs to be connected to ground in order to power on.
Can a ATX power supply be used as a microcontroller?
That way you can use your old ATX as a silent, low-waste power supply for low current microcontroller applications and switch it under firmware control to a high-current monster supplying tens of amps at 5V and/or 12V. A video showing the idea in action is embedded in the final step.
How do you turn on an ATX power supply?
Simply plug one wire from the switch into the PSU’s green connector and the other wire into any of the black connectors. It doesn’t matter which one of the black connectors you use, and it doesn’t matter which end of switch is connected to which wire. All that matters is that one wire is connected to green, and one is connected to black.
How do you connect a power supply to a PSU?
Now we need to connect the switch to the PSU. Simply plug one wire from the switch into the PSU’s green connector and the other wire into any of the black connectors. It doesn’t matter which one of the black connectors you use, and it doesn’t matter which end of switch is connected to which wire.
How does an Arduino power up a PSU?
The Arduino detects changes on the interrupt pin D2, which come from the momentary switch, and then sends a high signal to pin D6 which activates a transistor, that connects the GREEN POWER_ON wire to GROUND on the PSU to allow it to power up.