When Driving An Indicator L.E.D.


Results 1 to 10 of 10

Threaded View

  1. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: When Driving An Indicator L.E.D.

    That's what the resistor is there for, it's basic Ohms law (look it up if you don't know about it, it's fundamental in electronics)

    The PIC outputs 5V, the forward voltage of the LED is 1.5V at 10mA. So you need to drop 3.5V across the resistor when 10mA flows thru it.
    R=U/I or 3.5V/0.01A=350Ohm. For a LED this is not at all critical, a 220Ohm resistor will work and so will a 680Ohm resistor.


    EDIT: Oh, another thing that might confuse you. LEDs (being diodes basically) are highly non linear, they're not meant to be driven by a low impedence voltage source. They are current driven devices and the Vf figure is the voltage that is being dropped across the LED at a specified current.
    Last edited by HenrikOlsson; - 11th November 2021 at 18:20.

Similar Threads

  1. Temperature Indicator Usage
    By gunayburak in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 5th August 2015, 16:53
  2. One of 33 LED output Indicator
    By SOTASOTA in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 5th December 2012, 17:26
  3. About the replacement of the indicator with BASIC.
    By apollo21 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 8th June 2008, 04:56
  4. Driving me NUTS!
    By muddy0409 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 13th October 2005, 15:06
  5. Temp. Indicator.
    By PIC Coder in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 28th April 2005, 06:10

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts