I have the following circuit - Circuit design LED Brightness with Transistor | Tinkercad and I'm trying to work out why the LED is dimmer when using a transistor compared without.
My arduino code simply sets pin 13 to be constantly High which goes to the base of the transistor. When the current flows via the transistor, the current measures 5.75mA and the voltage across the Anode and Cathode measures 1.93V. However when I press the push button, the current flows straight from one terminal of the button to the other (bypassing the transistor) and the current measures 19.2mA and voltage across Anode and Cathode is 2.07V which I would like to have using the transistor as well.
I have tried to change the values of the base resistor with no luck. I'm still very new to electronics and I'm sure there is an easy fix here.