Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Why wouldn't you use the 12v from your PSU?
That's a very nice circuit. I'd only add one comment: if you're not driving too many LEDs, you could potentially drive them off the optoisolator itself, without the 2n2222. If you're looking to light up the whole case, however, you'll need that drive transistorThe circuit you show won't work, the HDDA LED header on the motherboard has 2 pins, one connected to +5V through a LED resistor, the other goes 'low' on drive activity, so your rectifier diode will block things.
The basic circuit is best done with an optoisolator diode connected in place of the case activity LED (as Gideontech have done); no risk to the motherboard.
http://www.mexbro.co.uk/bit/optobooster.gif
This works for PATA, not had chance to mess with SATA.
There is, it's already fitted on all motherboards to suit the case LED normally attached to that header and also suits an optoisolator LED.I haven't worked with optoisolators before, but shouldn't there be a resistor coming off the j1 header?
the HDDA LED header on the motherboard has 2 pins, one connected to +5V through a LED resistor, the other goes 'low' on drive activity