Increase Current on Pic's Pin.


Closed Thread
Results 1 to 8 of 8
  1. #1

    Unhappy Increase Current on Pic's Pin.

    Good day Picers

    A slightly off topic question?

    I've got a Component that requires about 60mA from my PIC's PIN.

    I'm trying to figure out how to use a PNP Transistor as a switch to get a greater current from my circuit?

    I know that if you use different resistors it will give you different current from the Emitter to the collector.

    Is there a formula to determine what size resistor to use to get a specific amount of current through the transistor?

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Rb = (VCC - Vbe) / (Ic/HFE) = (5-.6) / (.06 / 100 ) = 7.1666 K = 6.8K

    safer to use lower value 680 ohm is a really safe one.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3


    Did you find this post helpful? Yes | No

    Question

    Thank you Steve!

    VCC = Input voltage
    What is Vbe, Ic, HFE?

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Ic = Collector current
    Vbe = voltage between Base and Emitter
    HFE = Transistor gain, you'll find that one in the datasheet
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5


    Did you find this post helpful? Yes | No

    Default

    Thank you!!

  6. #6
    Join Date
    Aug 2005
    Location
    Michigan, USA
    Posts
    224


    Did you find this post helpful? Yes | No

    Default

    You didn't mention if you need to sink or source current to the device? Either way, have you considered using an N-channel (sink) or P-channel (source) MOSFET instead of a bipolar transistor?

    Regards, Mike

  7. #7


    Did you find this post helpful? Yes | No

    Lightbulb

    Hi Mike

    I'm using a PNP transistor to source current.

  8. #8


    Did you find this post helpful? Yes | No

    Default

    Didn't you mean use a 6.8k?

Similar Threads

  1. Is this a K Type sensor?
    By jessey in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 21st November 2009, 13:55
  2. Pin max current - short duration?
    By kevj in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 2nd January 2008, 12:53
  3. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  4. Another RTC, DS1287
    By DavidK in forum Code Examples
    Replies: 0
    Last Post: - 12th December 2006, 17:07
  5. Tx and Rx of Single Pin PIC's
    By Dwayne in forum Code Examples
    Replies: 0
    Last Post: - 26th May 2004, 14:55

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