Re: 300 mA from a microcontroller pin
- From: Tomás Ó hÉilidhe <toe@xxxxxxxxxxx>
- Date: Fri, 30 Nov 2007 09:31:35 GMT
rickman:
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.
Thanks for your suggestion, but the second pin of the LED package
will go to a shift register. I'll try explain:
I have a grid of LED's, 7 x 6. In each column, the second leg of each
LED package will be common, and they will go to a pin on a shift
register. In each row, the first leg of each LED package will be common,
and it will come from the microcontroller. I shift a 1 across the shift
register to determine which column will light. The shift register pins
provide either 5 V or 0 V, but I have a transistor setup whereby they
provide either 5 V or high impedance.
I'll post a picture of the relevant part of the circuit now in a few
minutes.
--
Tomás Ó hÉilidhe
.
- Follow-Ups:
- Re: 300 mA from a microcontroller pin
- From: Tomás Ó hÉilidhe
- Re: 300 mA from a microcontroller pin
- References:
- 300 mA from a microcontroller pin
- From: Tomás Ó hÉilidhe
- Re: 300 mA from a microcontroller pin
- From: Arlet Ottens
- Re: 300 mA from a microcontroller pin
- From: Tomás Ó hÉilidhe
- Re: 300 mA from a microcontroller pin
- From: rickman
- 300 mA from a microcontroller pin
- Prev by Date: Cooperative multitasking OS-??
- Next by Date: Re: 300 mA from a microcontroller pin
- Previous by thread: Re: 300 mA from a microcontroller pin
- Next by thread: Re: 300 mA from a microcontroller pin
- Index(es):
Relevant Pages
|