Hi All,
I have seen the diagrams showing a pic pin to a transistor with a LED above the transistor getting power from its own rail. When the PIC pin goes high on the base of the transistor the LED turns on.
There is always a resistor for the LED which I understand. But coming from the PIC pin to the transistor base is always a resistor. Now I have seen many different values for this Resistor. Can someone tell me how I work out what value to use? Is it related to the transistor itself?
Thanks
Peter Dove
I have seen the diagrams showing a pic pin to a transistor with a LED above the transistor getting power from its own rail. When the PIC pin goes high on the base of the transistor the LED turns on.
There is always a resistor for the LED which I understand. But coming from the PIC pin to the transistor base is always a resistor. Now I have seen many different values for this Resistor. Can someone tell me how I work out what value to use? Is it related to the transistor itself?
Thanks
Peter Dove