I’m very new to arduino and to electronic in general. I started few months ago with help of this forum and internet, so please forgive me any obvious mistakes. Any help will be welcome.
I’m trying to switch 1 to 6 strips of 16 LEDs accordingly to a sensor.
So far, I managed to switch 1 to 6 LEDs (1 LED per strip) accordingly to a sensor.
I also managed to power 1 and 2 strips of 16 white LEDs each using an external 9V Power supply.
Then I learned about using a transistors as an electronic switch, that I successfully applied to control 1 LED.
The problem that I encounter is controlling the 16LEDs strip with my transistor. So far it lights up all the LEDs slightly and “vibrate” the light, creating a visual noise.
I tried to change the resistor (R10) going to the transistor Base as that’s the one I’m less sure about, but without success:
4.7K was working for one LED, not for 16
I tried a lower resistor to bring more current in 2.2K,
then I tried to do some obscure calculations that gave me 5.6K… All of the 3 tests gave me the same negative, dimmed and noisy light result.
Transistor is BC337-25 (NPN).
Leds are 5mm white, I don’t have datasheet for them.
(Once I’m able to controle one strip of 16 LEDs with my Srduino, I’m planning to plug each strip of 16 LEDs on separate Pins to controle then.)