I'm surely misunderstanding things or doing it totally wrong, after a night of forum hunting (many fora) i'm still a tad clueless (and i feel most comfortable asking things here)
I have a 4x1watt RGBW chip, for testing i'm only using the blue bead atm henche the picture says "blue led". (start small)
when i turn on the power supply, even when i connect base to ground (through that 1k resistor) the led faintly lights up.
I first hooked up a 10k potentiometer to the base (from the same 3.3v supply that supplies the led) and i can control the brightness of the led with it. it won't fully turn off, it will go up to 150mA (which is fine, i dont need full brightness, less heat is good). When i hook up a 3.3v microcomputer (wemos d1 for testing, i have many so they are expandable) and put pwm on it (going from 0% duty cycle to 100% and back in a loop) it sometimes brightens up and dims as expected (though not going fully off) but it all seems intermittently working/not working/flickering.
To figure out where my logic is going wrong, things i think i understand about the bc337 bjt:
it needs 0.7 volts higher on the base then emitter. the emitter is connected to ground, 0v, so anything above 0.7 volt on the base of the bc337 should turn it on.
The amount of current going into the base controls the amount of current able to flow from collector to emitter. it has a minimal factor of 100, so 3mA should allow 300mA to flow.
Due to the 1 ohm resistor in front of the led, the current at 3.3volts is limited to 300ish mA, so just the bc337 turning fully on and off should be good enough to have the led working.
Many questions, many "not getting it", wish i've had electronics classes at school ages ago
Is there anyone who can explain me what i'm missing/not getting, how to do it properly or that i'm just being stupid and should go about it a different way all together ?