Hello,
I have troubles solving the correct resistor values for my transistor controlled led arrays.
After searching the web and trial and error i have got evrything working except the lights are to dim.
My setup:
PIC16F877A on 5V to control the 21 lines of leds and some other stuff.
2N2222 transistor to pass the 12V to the leds.
1 row contains of 6 leds for testing (gonna be 21).
Im using the transistor to put the - (end of the led row) on the ground / mass.
The led rows contains some 600 ohm resistors to get 20mA.
Now when i connect a 5V source to the base with a 10k resistor the leds stay very dim.
Do i need to put a resistor on the emitter instead of the base or am i missing something else?
I have troubles solving the correct resistor values for my transistor controlled led arrays.
After searching the web and trial and error i have got evrything working except the lights are to dim.
My setup:
PIC16F877A on 5V to control the 21 lines of leds and some other stuff.
2N2222 transistor to pass the 12V to the leds.
1 row contains of 6 leds for testing (gonna be 21).
Im using the transistor to put the - (end of the led row) on the ground / mass.
The led rows contains some 600 ohm resistors to get 20mA.
Now when i connect a 5V source to the base with a 10k resistor the leds stay very dim.
Do i need to put a resistor on the emitter instead of the base or am i missing something else?