So you can go as high as you want, as long as you make sure you don’t go above the maximum gate-source voltage limit (which is 20V for the BS170). But it’s whatever you connect to it that decides the actual current. It just means that you could have 1A flowing if you wanted to. Note that even if you use a high enough voltage to have 1A current flowing, it doesn’t mean you’ll get 1A. If you go a couple of volts above the threshold, that’s usually more than enough for low-current things like turning on an LED. How much higher depends on how much current you’d like to have flowing (and you’ll find that info in the datasheet). So to turn the transistor properly on, you need a voltage a bit higher than that. The threshold voltage of a MOSFET is actually the voltage where it turns off. (You’ll find this info in the datasheet). For example, the BS170 has a gate-source threshold voltage of 2.1V. To turn a MOSFET transistor on, you need a voltage between gate and source that is higher than the threshold voltage of your transistor. Example: How To Turn ON a MOSFETīelow is an example circuit for turning on a MOSFET. In the MOSFET transistor, the voltage between gate and source decides how much current can flow from drain to source. In the BJT transistor, the current from base to emitter decides how much current can flow from collector to emitter. You can use Ohm’s law to find the resistor value:Ī MOSFET works similar to the BJT transistor, but with one important difference: If the battery is 9V, and the base-to-emitter of the transistor grabs 0.7V, then there’s 8.3V left across the resistor. What resistor value do you need for R1 to get 0.1mA flowing? That means that if you have 0.1 mA flowing from the base to the emitter, you can have 10 mA (100 times more) flowing from collector to emitter. This is called the gain of the transistor.įor a general-purpose transistor, such as the BC547 or 2N3904, this could be around 100. There is a connection between the sizes of the two currents. When a current flows from the base to the emitter, the transistor turns on so that a larger current can flow from the collector to the emitter. To choose the component values, there’s one more thing you need to know about how transistors work: If you also add a pushbutton, you can control the transistor, and thereby the LED, ON and OFF with a button: Choosing Component Values This is the same principle you use to limit the current through an LED to make sure it doesn’t blow up. So you’ll automatically get around 0.7V by adding a resistor. If you add a resistor in series, the rest of the voltage drops across the resistor. A diode has a forward voltage that it “grabs” from the available voltage. Since most of us don’t have a 0.7V battery, how do we turn on the transistor?Įasy! The base-to-emitter part of a transistor works like a diode. If you had a 0.7V battery, you could have connected it between the base and emitter, and the transistor would have turned ON. The only quirk with Kicad that ever bugs me is making sure of BCE, CBE, ECB pin orders for transistors, and I always end up double checking footprint assignments, datasheet, and symbol pins because I got tired of somehow getting it wrong :-).To turn the transistor ON, you need a voltage of about 0.7V between the base and the emitter. Can't think of any exceptions, so I'm sure it must be right, and makes an obvious kind of sense :-). I didn't know that the thermal tab always has to be connected to pin 2, thanks for the info. maybe that is possible, but it seems the convention is to make the center pin and the thermal tab the "same pin" in the footprint. I haven't actually checked to see if it's possible to assign a pin in the symbol to two pads on a footprint. There are some RF power transistors and other odd parts that I have to do footprints for, and they often have duplicate pin assignments. The normal case I have seen (or made) footprints with two pads with the same pin number are SOT223s, etc. You don't have to change the footprint - footprints define pin numbers for the package, and the pin/symbol associations are defined in the symbol.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |