Well, you seemed to be just a bit confused about MOSFETs vs BJTs, and you used a BJT in your simulation (which will be easier to deal with due to the low logic level output voltage from your uC), so I tried to give you some fairly easy-to-understand formulas to show you how I arrived at the values that I used, how/why I chose them, and the order in which you need to perform the calculations to arrive at a viable solution.Wow. Lots of information.
I'm attaching it as "PWM LED transistor.asc".Can you send me you LTSpice file?
Absolutely.I can use it for learning that tool better.
It will help you a lot to look up the datasheets for any components that you are using. It'll help you even more once you start adding components to the libraries.I have not been able to create a nice model with LTSpice on account of my lack of understanding the LED components it provides.
Perhaps you are still uncertain about differences between enhanced MOSFETs and bjt's (bipolar junction transistors).I'm still not understanding the purpose of the resistor on the base. Why is that required?
by Jake Hertz
by Jake Hertz
by Jake Hertz
by Duane Benson