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.
Edit1:
Looking at the suggestions, I made the following changes.
- added diode to fan
- replaced R21 and with R22 and LED1
No comments:
Post a Comment