Raspberry Pi 3 Circuit with Power button+LED+fan that switches off when shutdown
Wanted to share this.
I developed a circuit with a fan that switches off using a transister.
The circuit has Power button & led (many guides online for these)
Fan uses a 5v pin however I wanted the fan nto go off whn the pi was shutdown so i did the following;
The Led uses the serial interface to lights up (which turns off with shutdown unlike the 5v pins) so i have a transister monitoring the LED circuit and only connecting power to the Fan when active. Works perfectly.