I'm trying to control 3x LED's via and Arduino, and have it all powered off USB. The end product is a simple little desk widget that lights up when you press a button. If I simply plug the USB cable into the Arduino's USB slot and power it like normal then of course I will not be able to power the LED's via the Arduino pins because they draw too much current.
However, if I butcher one of my spare USB cables and use the power directly, I can draw upto 500mA which is more than enough for the 60mA needed for the 3 LEDs. I came up with this:
The choice of the 2N7000 is most because I already have a few of them. From the spec's (listed: http://au.element14.com/fairchild-semiconductor/2n7000/mosfet-n-channel-200ma-60v-to-92/dp/9845178). Specs list to 200mA 60v, well above the 60mA 5v I need.
So I'm just checking I haven't forgotten anything. Especially the resistor setup around the mosfet, it's been a while since I've worked with these guys so just double checking. Thanks!
Update:
As I mentioned below the reason I'm not running the 3 LEDs off their own pin is because I was trying to make it easy to spin them in future. With only +/- leads for the 3 LEDs the slip ring setup would be much simpler. Where as with each LED on it's own pin it gets complicated trying to connect 4 wires across and axle.