Re: Driving a led without a series resistor (PWM technique)



On Apr 30, 2:52 am, zig...@xxxxxxxxx wrote:
Hi,

I'm designing a board where the microcontroller is supposed to drive
10 red leds and 4 optocouplers.

I would like to drive the leds and the opto's without a series
resistor using the PWM technique. I made some experiments and all
seems to work fine in the lab.

1. The supply voltage is 3.3 Volt
2. The microcontroller is an ARM7 by NXP (LPC2387)
3. In DC, the microcontroller's GPIO ports are able to source or sink
20 mA ( I measured that)
4. The leds are driven with a duty cycle of 1/5. The average current
that the leds sink is 5 mA.
5. The light emitted by the leds in these condition (1/5 PWM) is more
than acceptable.

Based on your experience and knowledge, what do you think about this
solution?

Should I sink (the N-MOS will work) or source (I P-MOS will work) the
current?

Thanks in advance for any suggestion,
Enrico

You are forcing your ARM output pins to act as current limiting
devices, and they're not designed for that. They're spec'ed at 4mA
and you're drawing 20! Just because the chip runs cold doesn't mean
you aren't stressing the output drivers. IMO you are guaranteeing
yourself hardware failures down the road. Add the resistors.
.



Relevant Pages

  • Re: LED bicycle light
    ... > I'm designing a bicycle light as the darkness is becoming longer and ... I plan to use 3 of these LEDs in a single housing with the ... options of current adjustment and on/off switch. ...
    (sci.electronics.design)
  • Driving a led without a series resistor (PWM technique)
    ... I'm designing a board where the microcontroller is supposed to drive ... I would like to drive the leds and the opto's without a series ... resistor using the PWM technique. ... the microcontroller's GPIO ports are able to source or sink ...
    (comp.arch.embedded)
  • Re: Driving a led without a series resistor (PWM technique)
    ... I'm designing a board where the microcontroller is supposed to drive ... I would like to drive the leds and the opto's without a series ... the microcontroller's GPIO ports are able to source or sink ... the standard output pins is between 4 and 50mA. ...
    (comp.arch.embedded)
  • Re: Driving a led without a series resistor (PWM technique)
    ... I'm designing a board where the microcontroller is supposed to drive ... I would like to drive the leds and the opto's without a series ... the microcontroller's GPIO ports are able to source or sink ...
    (comp.arch.embedded)
  • Re: Driving a led without a series resistor (PWM technique)
    ... I'm designing a board where the microcontroller is supposed to drive ... I would like to drive the leds and the opto's without a series ... that the leds sink is 5 mA. ...
    (comp.arch.embedded)