D
default
Guest
On Sun, 7 Jun 2020 07:30:42 -0700 (PDT), alberto.m.scattolo@gmail.com
wrote:
Have you tried looking for a happy medium resistance? You want to
turn on the PNP and drive it into saturation (ideally) and have it
turn off when the panel is making electricity.
It is never good practice to connect the base of a bipolar transistor
to forward bias it without some current limiting resistor. If your
transistor survived, it is only because the battery wasn\'t powerful
enough to fry it.
The ideal size resistor depends on the current gain of the transistor.
Gain is specified at a particular collector current in the datasheet
and there may be a graph too.
Small signal transistors usually have gains of ~100. So with 1
milliamp flowing in the base you should get 100 in the collector
circuit. (more or less... gains can be specified as some minimum and
the maximum, for a production run of parts, can be several times
higher)
wrote:
Ok guys, I tried!
If I directly connect the PNP base to battery negative the LED lights up as bright as possible but it never turns off, even if I put everything in the sun.
If I add a 5k resistor between PNP base and battery negative it works as expected, so it automatically turn on and off according to the amount of light on the solar panel, but the led brightness is not much even when I cover the panel or if I disconnect it.
Ideas?
Thanks a lot!
Have you tried looking for a happy medium resistance? You want to
turn on the PNP and drive it into saturation (ideally) and have it
turn off when the panel is making electricity.
It is never good practice to connect the base of a bipolar transistor
to forward bias it without some current limiting resistor. If your
transistor survived, it is only because the battery wasn\'t powerful
enough to fry it.
The ideal size resistor depends on the current gain of the transistor.
Gain is specified at a particular collector current in the datasheet
and there may be a graph too.
Small signal transistors usually have gains of ~100. So with 1
milliamp flowing in the base you should get 100 in the collector
circuit. (more or less... gains can be specified as some minimum and
the maximum, for a production run of parts, can be several times
higher)