Author Options:

LED Light via USB? Answered

Hi guys, I've been searching about, and this seems to be quite the vibrant community for DIY gadgets. I'd like to have as final product, a led light connected to a PC via USB - that has a software-controlled dim functionality (ie, 1 is on, 0 is off, values valid 1 < x < 0). I'm a seasoned programmer, but the hardware side of things has always been a mystery. Where to begin? Is this a complex project? Cheers. Alex


The forums are retiring in 2021 and are now closed for new topics and comments.

14 years ago

Basically, all you would need is a USB to Parallel adapter with a resistor at each of the 8 bit outputs acting as a D/A (Digital to Analog) converter so that all-on will supply the maximum current to the LED and all off supplies none. If you do a Google search, you should be able to find a number of Resistor array D/A converter schematics.