USB Led Light

45,254

43

32

Introduction: USB Led Light

About: Full time student in the Industrial Electrical Tech program. Wanna be redneck, driving my 93 ford ranger 4x4. Back yard mechanic... well heated garage mechanic in the winter. Avid DIYer, off road newbie. I…

USB led light

Step 1: Materials

USB plug and cord
Blue LED (any other color will work too)
100 ohm resistor
Case or housing to hold the led ( I used a cheap mini keychain flashlight housing)

Tools Needed to do this project

Soldering iron
Solder
Pliers
Screwdriver to take apart case

Step 2: Assembly

Open keychain flashlight housing and remove all components. Solder positive wire of USB plug to the positive of the LED, solder the negative lead to the 100 ohm resistor, and solder the other end of the resistor to the negative of the LED. Install components in case.

Step 3: Test It

Connect to a working USB port and it should light up. :)

Be the First to Share

    Recommendations

    • Toys & Games Contest

      Toys & Games Contest
    • Big vs Small Challenge

      Big vs Small Challenge
    • Fix It Challenge

      Fix It Challenge

    32 Comments

    0
    G.one
    G.one

    9 years ago on Step 2

    i also have a USB cable but in that there is no output from black wire so connected to the green wire and by using a multimeter  it shows 5v and i connect LEDs to it without using resistor my PC is showing that the USB device is not recognizable please help me 
    and i can't afford another USB cable

    0
    bilal.a
    bilal.a

    13 years ago on Introduction

    thanks so much, but what i would like to know is, the voltage of the usb for multiple LEDS, can some one help me plz, and email me on mr_ucantcme@hotmail.com

    0
    nodoubtman
    nodoubtman

    Reply 9 years ago on Introduction

    Go there : http://www.ledcalc.com/#calc

    Good luck! :)

    0
    nodoubtman
    nodoubtman

    9 years ago on Introduction

    Hello! To power up a blue light which is (2.5V), you have to put a resistor of 125 Ω, because if you put a resistor of 100 Ω, you will burn out your blue led. here's the formula : (Vc - Vf) / 20mA (1 led) *1000 = 125 Ω. If you put up a resistor size of 100 Ω : ((5 - 2.5) / 100 Ω) * 1000 = 25 mA, a single led is 20 mA, so your will burn out your LED.

    thank you!
    :)

    0
    ahmad2117
    ahmad2117

    10 years ago on Step 1

    were do you get those male usb plugs i only find female

    0
    nbagf
    nbagf

    11 years ago on Step 1

     windrago its called auto hot key. google it

    0
    windrago
    windrago

    11 years ago on Step 1

     is possible to turn the light on/off through software?
    I mean writing an app in C# for example.

    0
    ForenceKiller
    ForenceKiller

    Reply 10 years ago on Introduction

    You can do it...just disable that specific usb port...most modern languages support it, even script languages...

    0
    dna24
    dna24

    11 years ago on Introduction

     so would this work if i tried to plug it up to my cell phone?

    0
    rakol1
    rakol1

    13 years ago on Introduction

    i cant find leds anywhere and im looking for one so i can make a keyboard light

    0
    ranger_steve
    ranger_steve

    Reply 13 years ago on Introduction

    try "the source" by circuit city. i'm not sure if they have "the source" in the us tho(if thats where u live)

    0
    poop11346
    poop11346

    Reply 12 years ago on Introduction

    circuit city is gone from us I think but they have radio shack its cheaper to buy stuff in radioshack though (im from canada)

    0
    ranger_steve
    ranger_steve

    Reply 11 years ago on Introduction

    ya our radio shack went out of buisness when i was like 4. so now i have to eithe buy stuff from the internet or go get ripped off at the source.

    0
    jgeekw
    jgeekw

    Reply 12 years ago on Introduction

    try radio shack. they should have drawers of electrical components