Can PICs Drive White LEDs?


Closed Thread
Results 1 to 7 of 7
  1. #1
    RossW's Avatar
    RossW Guest

    Question Can PICs Drive White LEDs?

    Just wondering whether anyone knows if PICs can sink enough current to drive a 5mm white LED. These take higher voltages than regular LEDs (around 4.5V, I think) and need more current, too. If they can't, I guess I'll have to hook up an NPN transistor ...

    Ross

  2. #2
    Join Date
    Dec 2003
    Location
    Wichita KS
    Posts
    511


    Did you find this post helpful? Yes | No

    Default

    hello RossW

    Rossw>>Just wondering whether anyone knows if PICs can sink enough current to drive a 5mm white LED. These take higher voltages than regular LEDs (around 4.5V, I think) and need more current, too. If they can't, I guess I'll have to hook up an NPN transistor ...<<

    Yes.. they can drive up to 20mill per pin. they run 5 volts 20mills. I have driven Whites

    Dwayne
    Ability to Fly:
    Hurling yourself towards the ground, and missing.

    Engineers that Contribute to flying:
    Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute

    Pilots that are Flying:
    Those who know their limitations, and respect the green side of the grass...

  3. #3
    RossW's Avatar
    RossW Guest


    Did you find this post helpful? Yes | No

    Default

    Thanks Dwayne!

  4. #4
    actionplus's Avatar
    actionplus Guest


    Did you find this post helpful? Yes | No

    Default Bright white LED

    I am try to get a Super Bright White Led.
    I have tried some from lumex.com. Not bright enough.

    Also, will just using the regular High PORTA.1 and Low PORTA.1 do it get to flash the Bright LED's?Trying to build a miniature stobe light(Navigation lights) for my scale model.

  5. #5
    RossW's Avatar
    RossW Guest


    Did you find this post helpful? Yes | No

    Default

    I'm using some super bright white LEDs from a local supplier in my test environment, and the HIGH/LOW commands work fine (As will PORTB.0 = 1, for example). I'm not sure about using the super brights in my applications, however, as I'm concerned about the amount of current they draw vs. regular LEDs. You could always hook it up to a PNP transistor, I suppose.

  6. #6


    Did you find this post helpful? Yes | No

    Default

    The TOGGLE command will achieve the same result as well.

  7. #7
    Join Date
    Dec 2003
    Location
    Wichita KS
    Posts
    511


    Did you find this post helpful? Yes | No

    Default

    Hello Ross,

    Ross>>I'm using some super bright white LEDs from a local supplier in my test environment, and the HIGH/LOW commands work fine (As will PORTB.0 = 1, for example). I'm not sure about using the super brights in my applications, however, as I'm concerned about the amount of current they draw vs. regular LEDs. You could always hook it up to a PNP transistor, I suppose.<<

    I do not know the current that your LED's are drawing. I used the 648 and 675... I seem to remember both are allowed 20 mils per pin, and the 675 had a total current limit (for the whole chip) of something like 120mils. That equated to about 20 mils per pin. Stick a amp meter in there, and measure the mils of your LED. then you have a good idea what you are drawing.

    Dwayne
    Ability to Fly:
    Hurling yourself towards the ground, and missing.

    Engineers that Contribute to flying:
    Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute

    Pilots that are Flying:
    Those who know their limitations, and respect the green side of the grass...

Similar Threads

  1. MPASM Path & File Name Length Limtation
    By Brian J Walsh in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 14th June 2008, 15:48
  2. Retrieving infos from multiple PICs on a bus/chain
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 15th October 2007, 04:42
  3. Use of a PIC
    By Edwardo in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 22nd March 2007, 14:11
  4. Using LEDs as light sensors
    By skimask in forum Code Examples
    Replies: 3
    Last Post: - 30th December 2006, 22:19
  5. controlling leds with the switches
    By ilteris in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 12th October 2005, 21:02

Members who have read this thread : 1

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