Re: 300 mA from a microcontroller pin



rickman wrote:
On Nov 29, 1:07 pm, Tomás Ó hÉilidhe <t...@xxxxxxxxxxx> wrote:
Arlet Ottens:

What are you driving that you need 3-state 300 mA outputs ? Depending on
the application, there may be alternative solutions.
A bi-colour LED that has only two pins (they're in parallel facing in
different directions). If the microcontroller pin is high, then it'll be
red. If low, it'll be green. If high impedance, it'll be off.

The maximum current rating for the LED package is 30 mA... except I'm
flashing a display and will only have them lit one sixteenth of the time,
so I'm gonna put a burst of 300 mA through them. (I've seen experiments
where people flashed an LED putting an entire amp through it, so I don't
think 300 mA will be a problem for a duty cycle of one sixteenth).

--
Tomás Ó hÉilidhe

There you go. Arlet said there might be alternate solutions and there
is one. You don't need the tri-state control. You can drive the LED
forward with one pin high and the other low, backward by switching the
two and off by bringing them both high or both low. Can't be much
easier than that! You will still need two pins from your controller,
but you don't need a complex driver circuit. Just a pair of FETs, 1 P
channel and 1 N channel on each leg of the LED. If you are driving
from a high enough voltage that the N channel FET will be fully off
(or using a low threshold part), you don't have to worry too much
about shoot through. To eliminate it, you can put your current
limiting resistors in between the drains of the two FETs and connect
the load between the drains of the N channel FETs. That's pretty
simple, four FETs and two resistors... about $0.40 per LED. You can
even get a pair of FETs in an SC-70 package, only 2 mm square. I'm
not sure SC-70 FETs are rated for 300 ma though. You may have to go
to the SOT-23 package at 3 mm square...

I assumed the OP wanted to put the 16 LEDs in a 4x4 grid, and control them with 8 pins on the PIC (4 row and 4 column), which would require tri-state control.

However, using discrete components is probably the easiest solution (assuming there's space on the board).
.



Relevant Pages

  • Re: LM3914 --help :/
    ... The output current for the LEDs is a 10x current mirror of the output ... of the REF OUT pin. ... voltage of 1.25, ...
    (sci.electronics.design)
  • Re: LED & Resistor befuddlement
    ... Spehro Pefhany wrote: ... >>With this circuit the IO pin will be high if the MCU is not pulling it ... > This will work with good margin for some LEDs and some input buffers, ... output low for a few cycles then switch it back to an input. ...
    (comp.arch.embedded)
  • TECH: Stern or Sega Whitestar board info
    ... There are 2 leds on the CPU/Sound board. ... trying to run CPU version 1.03 with .90 sound roms. ... it comes from pin 19 on U6 of the driver board ... you can verify the signals on the DS1232 chip. ...
    (rec.games.pinball)
  • Re: Calculating resistors required
    ... > PIC output pin circuitry. ... LEDs as: ... is that a switch would then give logic 0. ... You stick your load (motor, lights, electric-chair or whatever ...
    (sci.electronics.basics)
  • Re: LED Signal Speed
    ... with the pot's center pin connected to pin 7 of ... Where the diagram shows one LED and a 220 resistor ... connected between pin 3 and ground, you will put 6 Leds in series ... and to the banded end of a 1.5KE15A-T transorb. ...
    (sci.electronics.design)