Driving a led without a series resistor (PWM technique)



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

.



Relevant Pages

  • Re: Im Looking for a PIC project.
    ... microcontroller. ... You might consider knight rider LED project where you have say 10 leds ... IAR complier provides very compact code but it is not cheap (my company ... pay for this) and technical support is not free after 1 years. ...
    (sci.electronics.design)
  • 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: LED strobe light
    ... microcontroller control. ... Note that if you change R1, ensure that your LEDs can support the ... Feel free to replace the 555 with a microcontroller... ... Science without religion is lame, ...
    (sci.electronics.design)
  • Re: led circuit
    ... about making a led circuit with the basic stamp microcontroller. ... 1)6 leds connected to the microcontroller.The leds must light in a way ... Unfortunately i don't know how to program the microcontroller to do all ...
    (sci.electronics.design)