Sunday, 14 April 2019

Controlling MOSFET and LED from same PWM output


I am controlling a MOSFET and LED from the same PWM output from a PIC. The MOSFET is driving a fan, while the LED is used as rough visual indicator of the speed. The circuit is below and it seems to work and I have not experienced any problems yet. But, I am unsure if this is recommended.


enter image description here


Edit1:


Looking at the suggestions, I made the following changes.




  • added diode to fan

  • replaced R21 and with R22 and LED1


enter image description here




No comments:

Post a Comment