Making a pin sink?


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Jul 2005
    Posts
    78


    Did you find this post helpful? Yes | No

    Default

    The “bridge to Vcc” resistor is needed cause transistors ain’t perfect. There is always a leakage current from B to C that needs come from somewhere. If you don’t provide a source for it then it comes from E to B, which is real base current, which makes the device begin to turn on, which increases current out the collector, which burns power, which heats the device, which increases the B to C leakage that needs come from somewhere …

    The bridge resistor gives the current a source path to keep it from going E to B. I personally go much higher, like 100x.

    In this specific case, if Vcc also supplies the PIC you don’t need the bridge resistor, because it is only needed when you turn the device off, and at that time the base resistor is connected to Vcc (thru the output)… so you actually get the same benefit of the bridge from the base resistor.

    The same is true driving grounded emitter NPN’s thru an R from an output, you don’t really need the bridge.

    But if in any doubt, resistors are cheap; put it in.

  2. #2
    Join Date
    Aug 2007
    Posts
    67


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by ErnieM View Post
    The “bridge to Vcc” resistor is needed cause transistors ain’t perfect. There is always a leakage current from B to C that needs come from somewhere. If you don’t provide a source for it then it comes from E to B, which is real base current, which makes the device begin to turn on, which increases current out the collector, which burns power, which heats the device, which increases the B to C leakage that needs come from somewhere …


    Outstanding! Thank you Ernie - that actually helps a lot - I'm much more clear now. Total lightbulb moment.

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


    Did you find this post helpful? Yes | No

    Default

    while i can't 100% agree with explanation for a simple G.P. NPN/PNP, i will suggest you a simple test... configure an I/O as input,and measure the voltage between it and GND.. what do you get?

    What's the trip point of a transistor?
    Steve

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

  4. #4
    Join Date
    Aug 2007
    Posts
    67


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post

    a) a simple G.P. NPN/PNP

    b) configure an I/O as input,and measure the voltage between it and GND.. what do you get?

    c) What's the trip point of a transistor?

    a) What is a G.P. ???

    b) With the power on or off?

    c) Don't know.

    d) Can I buy a vowel?


  5. #5
    Join Date
    Jul 2005
    Posts
    78


    Did you find this post helpful? Yes | No

    Default

    The last one is easy!

    c) What's the trip point of a transistor?
    It's a trick question. Transistors are analog devices; they don't have anything like a well-defined trip point.


    And I'll go out on a limb here and guess "GP" is General Purpose.

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. DS1820 with 16f688
    By jessey in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 23rd May 2009, 05:07
  3. Advice-scrutiny for my serial controller
    By kevlar129bp in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 13th December 2008, 17:11
  4. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  5. Another RTC, DS1287
    By DavidK in forum Code Examples
    Replies: 0
    Last Post: - 12th December 2006, 17:07

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