Saturday, 15 December 2018

Why do you need 2 resistors when hooking up a transistor as a switch


What is the point of R2 in the following diagram: enter image description here


I get that R1 controls the current to the Base, but what does R2 do?



Answer



The R2 resistor is used to bring the voltage on the base into a known state. Basically when you turn the whatever source of current you have at the other side of R1 off, the whole line would go into an unknown state. It may pick up some stray interference and that may influence the operation of the transistor or the device on the other side or it may take some time for the voltage to drop just with just the transistor base. Also note that the source of the current going through R1 may leak and that may affect the way transistor operates.


With the R2, which is in configuration called pull-down resistor, we are certain that whatever excess voltage there may be in the branch containing R1 will be safely conducted into ground.


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...