Transistor Issue

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Re: Transistor Issue

Postby kculm » Sun Feb 24, 2013 10:58 am

Sorry to be a pain, but can you help me with one more thing.


What math do I use to figure out the resister size for the base pin on the transistor?

Thanks
kculm
 
Posts: 35
Joined: Sun Dec 23, 2012 6:34 pm

Re: Transistor Issue

Postby adafruit_support_mike » Sun Feb 24, 2013 12:33 pm

kculm wrote:What math do I use to figure out the resister size for the base pin on the transistor?


The short version is, "use a 1k, then adjust upwards".

For the longer version, it's easier to think of it in terms of current.. for every 100mA of current that goes through the collector, about 1mA of current needs to flow through the base. For simple 'turn it on/turn it off' applications, it's okay to provide more base current just to be sure.

The voltage between the base and emitter will always be in the 0.6v to 0.75v range, and we can safely round that up to 1v. IIRC, you were using a 5v supply, so the voltage across the resistor will be about 4v. To get 4v from 1mA of current, you'd need a 4000 ohm resistor.

Like I said though, when you use a transistor as a switch, it's okay to give the base more current than it actually needs. A 1k resistor will provide enough base current to drive about 400mA through the collector, but your load probably won't use that much. The excess will be 'waste current' that doesn't do anything useful, but doesn't hurt anything but your circuit efficiency calculations.

Like I said at the beginning, 1k is a good first guess. It will make the circuit work, and any waste current will be small enough to ignore. If you end up caring about efficiency, you can swap in larger resistors until the transistor doesn't give you enough current to drive the load. The "1mA of base current per 100mA of collector current" will give you a rule of thumb for how much you actually need.
When you void a product warrany, you give up your right to sue the manufacturer if something goes wrong and accept full responsibility for whatever happens next. And then you truly own the product.
User avatar
adafruit_support_mike
 
Posts: 1322
Joined: Thu Feb 11, 2010 1:51 pm

Re: Transistor Issue

Postby kculm » Sun Feb 24, 2013 1:03 pm

Wow mstone, Thanks for the detailed reply, very help full.
kculm
 
Posts: 35
Joined: Sun Dec 23, 2012 6:34 pm

Re: Transistor Issue

Postby adafruit_support_mike » Mon Feb 25, 2013 12:07 am

kculm wrote:Wow mstone, Thanks for the detailed reply, very help full.

* chuckle * Stick around and you'll learn I'm a compulsive explainer with a thing for BJTs. ;-)

Glad to hear the description helped though. May you have much good blinky.
When you void a product warrany, you give up your right to sue the manufacturer if something goes wrong and accept full responsibility for whatever happens next. And then you truly own the product.
User avatar
adafruit_support_mike
 
Posts: 1322
Joined: Thu Feb 11, 2010 1:51 pm

Previous

Return to General Project help

Who is online

Users browsing this forum: No registered users and 10 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [105]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
Android[6]
 
BeagleBone[24]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[108]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[69]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]