Perfect, that was what I was looking for!
If all you need to do is sense whether the ATX PSU is on you need to connect two wires:You'd then either enabled the interal pull down on your chosen GPIO or, as shown in the diagram use an external 10K pulldown resistor on the same GPIO. A pull down is required to avoid the input floating (and therefore giving inaccurate results) when the ATX PSU is off.
- The PSU's output ground to one of the Pi's ground pins.
- The PSU's 3.3v line to a GPIO input pin.
One more question: Do I have to connect the PSU's output ground to one of the Pi's grounds when in fact the Pi is grounded by the PSU, since it will be powered by it? (Through the motherboard's USB header)
Statistics: Posted by sotirone — Sat May 11, 2024 10:52 am