LED with Transistor


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2007
    Posts
    2

    Default LED with Transistor

    Hi guys... I am wondering how do we light up so many LEDs in one I/O pin. I have around 50 LEDs that need to be turned up which are controlled by PIC16F84A. So, I am thinking of putting a BC547C transistor as the switch. However, I am not sure about the connection and also the code. Does anybody can give me any suggestion?

    I've attached my schematic. Thank you
    Attached Images Attached Images  

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mimi_deviL View Post
    Hi guys... I am wondering how do we light up so many LEDs in one I/O pin. I have around 50 LEDs that need to be turned up which are controlled by PIC16F84A. So, I am thinking of putting a BC547C transistor as the switch. However, I am not sure about the connection and also the code. Does anybody can give me any suggestion?
    I've attached my schematic. Thank you
    ~1K resistor on the base...
    Might want to put a series resistor inline with the LEDs, just as a precaution against shorts.
    Better put a decent cap on the PIC's Vdd/Vss. $20 says when the PIC turns on all of those LEDs, it'll clobber the power supply for a split second and reset your PIC.

  3. #3
    Join Date
    Dec 2007
    Posts
    2


    Did you find this post helpful? Yes | No

    Wink

    thanks a lot yeah! Now I got it

Similar Threads

  1. Calulating BJT base resistance for PIC led switching?
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 20th November 2008, 08:41
  2. Replies: 24
    Last Post: - 7th November 2008, 04:41
  3. new and need help
    By smeghead in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 3rd November 2008, 20:19
  4. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 02:30
  5. can't even flash an LED
    By bruno333 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 28th April 2005, 13:27

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