Jump to content

Resistors before LEDs


Screaming_Rabbit

Recommended Posts

Hello Roger,

In short: 220R is just fine.

I've found a interesting link for all the midibox users who are asking this question from time to time:

http://www.theledlight.com/resistancecalculator.html

Just enter the 'supply voltage' --> 5V

The LED forward voltage Vf (voltage drop) --> 2.1 V in your case (take the typical value)

The LED forward current If --> 20 mA in your (and the most) cases

You will get 145R. So 220R is Ok (try a resistor with 200R or 180R for brighter LEDs but beware of overloading the outputs of the DOUT! 25mA is the maximum!).

Easiest way: Do it with your calculator. The formula is:

(Vbatt - Vf)/If = R

So: (5V-2.1V)/0,02A = 145 R

Hope this helps,

Raphael

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...