Lighting a Led with Arduino

Hello,

I want to control a 6v led by Arduino but power the led using a external power source? Is it possible? If it is, then how can I do it?

I don’t want to power the led from the 5v digital i/o pins

Thanks in advance :slight_smile:

You would use a transistor between the Arduino and the LED. I’d choose an N-channel mosfet like https://www.sparkfun.com/products/10213 (https://www.sparkfun.com/products/12959 on a PCB, https://www.sparkfun.com/products/10618 on a shield; if you don’t use a PC power supply, you can run all channels from 6V)

/mike