I have a NPN transistor MMBT2222ALT1G which I want to use to control a red LED (Uf=2V, If=22mA). VCC = 5V and my microcontroller is operating on 3.3V.
I calculated the R24 resistor for the LED - it should be about 136.36 ohm, so I picked 150 ohm.
I'm not sure if I calculated R23 correctly... Are these values for my transistor correct?
- Vbe = 1.2
- Vce = 0.3
- hFE = 210
