Current flowing through transistor even when base is shunted to ground.

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • EasyGoing1
    replied
    Re: Current flowing through transistor even when base is shunted to ground.

    Originally posted by momaka
    It's the same reason you don't connect an LED directly to a power source without a resistor or some other type of circuit to limit current.
    Now THAT makes a lot of sense. I've noticed that resistor values make a huge difference when choosing one for LEDs. I was surprised when you said anything from 500 to 5k should work fine ... I guess bias current in a transistor isn't as sensitive in terms of results as a current limiting resistor is for LEDs?

    Leave a comment:


  • EasyGoing1
    replied
    Re: Current flowing through transistor even when base is shunted to ground.

    Originally posted by eccerr0r
    Transistor is now damaged and leaking due to missing base resistor. Nano's output voltage should be low enough to keep it in cutoff.

    Probably should have used a 2N7000 if you really don't want to put a resistor there. That is also to possibly protect the Nano's output, too.
    I try to be quick when I'm soldering, but I did consider the possibility that I damaged it when soldering it up... I don't have a 2N7000, but I do have these NPNs that came in a transistor kit that I purchased:

    BC337
    2N2222
    S8050
    C1815

    And these PNPs:
    BC327
    2N2907
    2N3906
    S8550
    A1015

    Leave a comment:


  • momaka
    replied
    Re: Current flowing through transistor even when base is shunted to ground.

    Originally posted by EasyGoing1
    I assume you mean a resistor between pin D3 and the base of the transistor. What should its value be, and what does that resistor do?
    It limits the current going into the Base. It's the same reason you don't connect an LED directly to a power source without a resistor or some other type of circuit to limit current - the diode/LED will draw a lot of current and burn out.

    For the purpose of driving those LEDs with that transistor, a 1-KOhm resistor should do fine (though I imagine anything in the range of 510 Ohms to 5.1 KOhms would work OK too.)
    Last edited by momaka; 09-09-2020, 12:43 PM.

    Leave a comment:


  • EasyGoing1
    replied
    Re: Current flowing through transistor even when base is shunted to ground.

    Originally posted by Curious.George
    Also, looks like the OP is driving those LEDs pretty hard... a few hundred mA?
    The LEDs are rated at 3V @ 150ma each. When I turn them on, they only stay on for 200ms then off for 100ms and that repeats a few times, then they stay off. They aren't turned on for very long at all. I used an online LED array calculator to get the layout of the LEDs and the value of the resistor (6.8 Ω). The actual supply voltage is 9.8V.

    Leave a comment:


  • EasyGoing1
    replied
    Re: Current flowing through transistor even when base is shunted to ground.

    Originally posted by momaka
    ^ This.

    Although BJTs require a relatively significant amount of current to bias (as in, it's unlikely that stray external noise / electrical signals can turn it On), it's still a good idea to include pull down / pull up resistors (depending on BJT type and/pr desired operation.) And for MOSFETs, this is practically required. Leaving a Gate pin floating can make a MOSFET self-bias from stray noise.

    Also, as I learned in digital electronics classes the hard way, never leave input pins on a CMOS chip floating - that too, is asking for trouble. Heck, even for TTL chips it's a good idea to always tie down inputs to something.
    On the Arduino Nano, when you designate an input pin as INPUT_PULLUP, it assigns a pullup resistor to the pin internally. That keeps the pin idling at 5V until you do something to it that pulls it down ... the output from the motion sensor in my case pulls it down low enough to trigger the interrupt which I use as the condition to fire the LEDs.

    Leave a comment:


  • EasyGoing1
    replied
    Re: Current flowing through transistor even when base is shunted to ground.

    Originally posted by budm
    You need to have bias resistor for he Base of the Transistor.
    When is the Voltage at the B-E when the D3 is LO?
    I assume you mean a resistor between pin D3 and the base of the transistor. What should its value be, and what does that resistor do?

    The B-E voltage when D3 is low, is 0.002 according to my Fluke meter.

    Leave a comment:


  • momaka
    replied
    Re: Current flowing through transistor even when base is shunted to ground.

    Originally posted by Curious.George
    A wiser approach might be to add the resistor AND a pulldown at the base to cover the case when the MCU is "in reset" and the pin may float before the software has a chance to configure it as an output -- assuming that is a possibility (I don't use arduinos)
    ^ This.

    Although BJTs require a relatively significant amount of current to bias (as in, it's unlikely that stray external noise / electrical signals can turn it On), it's still a good idea to include pull down / pull up resistors (depending on BJT type and/pr desired operation.) And for MOSFETs, this is practically required. Leaving a Gate pin floating can make a MOSFET self-bias from stray noise.

    Also, as I learned in digital electronics classes the hard way, never leave input pins on a CMOS chip floating - that too, is asking for trouble. Heck, even for TTL chips it's a good idea to always tie down inputs to something.

    Leave a comment:


  • Curious.George
    replied
    Re: Current flowing through transistor even when base is shunted to ground.

    Originally posted by stj
    i dont know the issue, but you may have damaged the transistor - you need a resistor between the base and the mcu
    That would just serve to limit the current through the BE junction. Presumably, the output impedance of the MCU is high enough that the "resistor" is actually part of the MCU.

    (The OP would note that the output of the MCU swings between 0V and ~0.6V as the BE junction clamps Vo(h) to that level.)

    A wiser approach might be to add the resistor AND a pulldown at the base to cover the case when the MCU is "in reset" and the pin may float before the software has a chance to configure it as an output -- assuming that is a possibility (I don't use arduinos)

    Note that you want to size the pulldown so that it "soaks up" any leakage current from the MCU.

    Also, looks like the OP is driving those LEDs pretty hard... a few hundred mA?

    Leave a comment:


  • eccerr0r
    replied
    Re: Current flowing through transistor even when base is shunted to ground.

    Transistor is now damaged and leaking due to missing base resistor. Nano's output voltage should be low enough to keep it in cutoff.

    Probably should have used a 2N7000 if you really don't want to put a resistor there. That is also to possibly protect the Nano's output, too.

    Leave a comment:


  • budm
    replied
    Re: Current flowing through transistor even when base is shunted to ground.

    You need to have bias resistor for he Base of the Transistor.
    When is the Voltage at the B-E when the D3 is LO?
    Last edited by budm; 09-08-2020, 01:04 PM.

    Leave a comment:


  • stj
    replied
    Re: Current flowing through transistor even when base is shunted to ground.

    i dont know the issue, but you may have damaged the transistor - you need a resistor between the base and the mcu

    Leave a comment:


  • Current flowing through transistor even when base is shunted to ground.

    I made a small project where a motion sensor triggers an Arduino pin and when the pin from the motion sensor goes high, another pin that's connected directly to the base of a 2N3904 goes high, which switches some LEDs through a 10V source.

    When I breadboarded the project, it worked perfectly. But now that I have it soldered onto one of those generic project PCBs when the circuit is idling and there is no motion triggering the pin, the LEDs light up ever so slightly, indicating to me that the transistor is still allowing current to flow from emitter to collector even when the base is at 0 volts. I even tried shunting the base directly to ground and the behavior did not change.

    Any idea what the problem might be?

    Here is the schematic:

    Attached Files

Related Topics

Collapse

  • astroboypaul
    Surface Book 2 Performance Base dead
    by astroboypaul
    I'm working on a Surface Book 2 performance base (M1032224-004 on white sticker) and would love for some help troubleshooting or where to look next.

    The tablet when not connected to the base seems to work fine, but:
    • When tablet is off and connected to the base, it won't turn on.
    • Connecting tablet that is already on to base there is a windows device detected tone (not sure what device), but tablet remains in tablet mode, keyboard/trackpad don't work, and windows continues to report only 1 battery.
    • Charger white light turns on when connected to the base, but base battery and tablet
    ...
    04-25-2025, 12:40 AM
  • Document Archive
    HP ProBook x360 440 G1 + Samsonite Base Boost Hybrid (2-in-1) Specification for Upgrade or Repair
    by Document Archive
    This specification for the HP ProBook x360 440 G1 + Samsonite Base Boost Hybrid (2-in-1) can be useful for upgrading or repairing a laptop that is not working. As a community we are working through our specifications to add valuable data like the 440 G1 + Samsonite Base Boost boardview and 440 G1 + Samsonite Base Boost schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps forum. Please note that we offer...
    09-06-2024, 09:00 AM
  • Document Archive
    HP EliteBook x360 1030 G3 + Samsonite Base Boost Hybrid (2-in-1) Specification for Upgrade or Repair
    by Document Archive
    This specification for the HP EliteBook x360 1030 G3 + Samsonite Base Boost Hybrid (2-in-1) can be useful for upgrading or repairing a laptop that is not working. As a community we are working through our specifications to add valuable data like the 1030 G3 + Samsonite Base Boost boardview and 1030 G3 + Samsonite Base Boost schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps forum. Please note that we...
    09-06-2024, 09:00 AM
  • Document Archive
    HP EliteBook 840 G5 + Samsonite Base Boost Notebook 800 Specification for Upgrade or Repair
    by Document Archive
    This specification for the HP EliteBook 840 G5 + Samsonite Base Boost Notebook can be useful for upgrading or repairing a laptop that is not working. As a community we are working through our specifications to add valuable data like the 840 G5 + Samsonite Base Boost boardview and 840 G5 + Samsonite Base Boost schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps forum. Please note that we offer no warranties...
    09-06-2024, 09:00 AM
  • Document Archive
    HP EliteBook x360 1040 G5 + Samsonite Base Boost Hybrid (2-in-1) Specification for Upgrade or Repair
    by Document Archive
    This specification for the HP EliteBook x360 1040 G5 + Samsonite Base Boost Hybrid (2-in-1) can be useful for upgrading or repairing a laptop that is not working. As a community we are working through our specifications to add valuable data like the 1040 G5 + Samsonite Base Boost boardview and 1040 G5 + Samsonite Base Boost schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps forum. Please note that we...
    09-06-2024, 09:00 AM
  • Loading...
  • No more items.
Working...