Smooth LED fading via PWM


Closed Thread
Results 1 to 40 of 55

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Re: Smooth LED fading via PWM

    Quote Originally Posted by sayzer View Post
    Only if using PWM on a PIC pin , you can directly drive a transistor base without a resistor.
    That will save you one component (resistor) and also space on PCB.

    If you use Mosfet with PWM, you can also directly drive the gate without resistor. But this time, you need to have a resistor between the gate and GND. This resistor is not needed if not using PWM.
    Hi sayzer - I've been working on driving up to 10 LEDs with a BS170 MOSFET and have connected the PIC pin directly to the gate of the 'FET. I had seen a circuit diagram with a resistor connecting the PIC -> gate to end, but then heard that this wasn't needed. What size resistor should I use?

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,170


    Did you find this post helpful? Yes | No

    Default Re: Smooth LED fading via PWM

    Not necessary to add resistor to Fet gates.

    Only if you had bipolar transistors.

    Ioannis

  3. #3


    Did you find this post helpful? Yes | No

    Default Re: Smooth LED fading via PWM

    Thanks heaps, Ioannis.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts