Hi
I am working on a design that will be using LED from Cree. CLQ6B_TKW-2887154.pdf (mouser.co.uk)
Previously this was my design, as i was using a 12V.

I will now changing the power supply from 12V to 5V, therefore my resistors are also reduce to about 30 ohms.
Previously i was using PWM a mosfet, i am now thinking about using a standard 2N3904 transistors , as i am using this else where in my design. And as the max current for the LED is set to 100mA.
Is this the correct approach to use PWM on a LED, instead of using a driver IC?
The PWM will be outputed from the microcontroller.
Thanks
I am working on a design that will be using LED from Cree. CLQ6B_TKW-2887154.pdf (mouser.co.uk)
Previously this was my design, as i was using a 12V.

I will now changing the power supply from 12V to 5V, therefore my resistors are also reduce to about 30 ohms.
Previously i was using PWM a mosfet, i am now thinking about using a standard 2N3904 transistors , as i am using this else where in my design. And as the max current for the LED is set to 100mA.
Is this the correct approach to use PWM on a LED, instead of using a driver IC?
The PWM will be outputed from the microcontroller.
Thanks
