MerlinKnight
Computer
- May 1, 2003
- 23
Hello,
I am trying to put a transistor on the output of a PIC chip. It can sink 150ma. It's power by 5VDC. I am using a 2n2906. Hfe=180. Led is a 3v 20ma super brite.
I want to calculate the Base resistor and the led current limiting resistor.
My calculation have come up with 90ohms for the led and 34.6kohm for the base resistor.
My question is why does my base resistor so high, but when i look at other circuits they are 5.6k or 10k. Even when i calculate the resistance for those circuits i get a higher answer. Is there some formula i am missing. A percent of offset that i am not doind.I have hunted the internet and can't find the answer for PNP's.
I would like to be able to calculate these resistors and get them correct.
Any help would greatly be appreciated.
Merlin Knight
I am trying to put a transistor on the output of a PIC chip. It can sink 150ma. It's power by 5VDC. I am using a 2n2906. Hfe=180. Led is a 3v 20ma super brite.
I want to calculate the Base resistor and the led current limiting resistor.
My calculation have come up with 90ohms for the led and 34.6kohm for the base resistor.
My question is why does my base resistor so high, but when i look at other circuits they are 5.6k or 10k. Even when i calculate the resistance for those circuits i get a higher answer. Is there some formula i am missing. A percent of offset that i am not doind.I have hunted the internet and can't find the answer for PNP's.
I would like to be able to calculate these resistors and get them correct.
Any help would greatly be appreciated.
Merlin Knight