Re: 300 mA from a microcontroller pin



In article <47503CD8.4FC75B30@xxxxxxxxx>, cbfalconer@xxxxxxxxx says...
Mark Borgerson wrote:
toe@xxxxxxxxxxx says...

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.

... snip ...

You don't really need a tri-state driver, then. If both LED pins
are at the same level (either high or low), the LED will be off.

If total power dissipation isn't a concern, your circuit could
simplify to:

+5 +5
| |
R1 R2
| |
|---- LED ----|
| |
P1.1---T1 P1.2---T2
| |
| |
gnd gnd

T1 and T2 are logic-level N-channel mosfets controlled by
your MPU pins.

Ignoring total dissipation, a single tri-state driver will do:

+5
|
R1
|
tri state here >---|X|-----+
LED |
R2
|
GND

with R1 approximately equal to R2. The ratio controls brightness.


Given a 2.0V forward drop across the LED, for 300mA, you need
R1 and R2 to be about 10 ohms.

So power dissipation in each resistor is going to be about
0.9Watts---better use fairly large resistors!!! ;-)

My circuit at least had the advantage that there is no power
dissipation when the LED is off.

Mark Borgerson

.



Relevant Pages

  • Re: 300 mA from a microcontroller pin
    ... If both LED pins ... If total power dissipation isn't a concern, your circuit could ... R the effective impedance is R/2 hooked to 2.5 V. ...
    (comp.arch.embedded)
  • Re: hp officejet 4110 all-in-one
    ... a common mistake is to strip it down without taking notice. ... you can trace the circuitry to get an idea of what the pins ... trace the circuit board following the guessed IC's external connections, ...
    (sci.electronics.misc)
  • Re: Problem with 555 Monostable Circuit
    ... In my sample circuit I have decreased the RC values just for testing. ... For testing I am using 22K for the resistor, and 33uf for the cap ... Pins 1,2,5 also go to the - on my cap ... after the falling edge the output ...
    (sci.electronics.basics)
  • Re: Another gameroom wiring Question
    ... common circuit with a mini fridge & a dehumidifier. ... than 2 DMD pins going at once & the fridge compressor or the ... 20A circuit at 80% rated can handle 6 pins easily with no other loads. ...
    (rec.games.pinball)
  • Re: Inputs left floating at the very start
    ... erratically if any of its inputs are floating. ... all of its IO pins are set as inputs initially. ... If you have a supervisory/reset circuit that is guaranteed ...
    (comp.arch.embedded)