+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 22

Most suitable driver chip

  1. Most suitable driver chip

    I have a matrix of LED's, six rows and seven columns:

    X X X X X X X

    X X X X X X X

    X X X X X X X

    X X X X X X X

    X X X X X X X

    X X X X X X X

    Across the rows, the LED's anodes are common, and each row has a
    single microcontroller pin.

    Down the columns, the LED's cathodes are common, and each column has a
    single microcontroller pin.

    The row pins have to source 25 mA, which isn't a problem for the µC.
    The column pins, however, need to sink 150 mA (150 mA = the current
    that will flow if every LED in a column is lit).

    Because the column pins can only sink a maximum of 25 mA, I was going
    to use a transistor to provide the extra current. Since I have 7
    column pins though, I'm going to need 7 transistors, which is why I'm
    thinking of going with a "transistor array".

    I'm just wondering is there any "bread and butter" chip that people
    use for this? I've had a quick look at the ULN200X family and they
    look kind of suitable. If I was picking my own transistors, I'd use
    FET's as switches (instead of bi-polars), but I suppose if I the
    driver chip has a base resistor inside it, and if there's negligible
    current flow when it's turned off, then maybe a BJT array will be OK.

    (Of course I'd be wise to switch the rows and columns so that I only
    need 6 transistors, but I'll get on to that later)

    So what would you use as a "driver chip"? My microcontroller pins work
    at 5 V for high and 0 V for low.

  2. Re: Most suitable driver chip

    Tomás Ó hÉilidhe wrote:
    > I have a matrix of LED's, six rows and seven columns:
    >
    > X X X X X X X
    >
    > X X X X X X X
    >
    > X X X X X X X
    >
    > X X X X X X X
    >
    > X X X X X X X
    >
    > X X X X X X X


    http://www.suckow.de/ralf/ledmatrix4x20/
    http://www.suckow.de/ralf/ledmatrix4...MATRIX4x20.pdf

    shows a good example of the 2003 used in LED configuration.
    I'll bet you will find heaps if you google uln2003 and leds

    Cheers Don...


    --
    Don McKenzie

    Site Map: http://www.dontronics.com/sitemap
    E-Mail Contact Page: http://www.dontronics.com/email

    Intelligent 2.83" AMOLED with touch screen for micros:
    http://www.dontronics-shop.com/produ...roductid=16699

  3. Re: Most suitable driver chip

    Tomás Ó hÉilidhe wrote:
    >
    > I have a matrix of LED's, six rows and seven columns:
    >
    > X X X X X X X
    > X X X X X X X
    > X X X X X X X
    > X X X X X X X
    > X X X X X X X
    > X X X X X X X
    >
    > Across the rows, the LED's anodes are common, and each row has a
    > single microcontroller pin.
    >
    > Down the columns, the LED's cathodes are common, and each column
    > has a single microcontroller pin.
    >
    > The row pins have to source 25 mA, which isn't a problem for the
    > µC. The column pins, however, need to sink 150 mA (150 mA = the
    > current that will flow if every LED in a column is lit).


    You haven't considered limiting the individual LED currents.

    --
    [mail]: Chuck F (cbfalconer at maineline dot net)
    [page]:
    Try the download section.


    ** Posted from http://www.teranews.com **

  4. Re: Most suitable driver chip

    Tomás Ó hÉilidhe wrote:
    > I'm just wondering is there any "bread and butter" chip that people
    > use for this? I've had a quick look at the ULN200X family and they
    > look kind of suitable.


    The ULN2003 is the NE555 of the Driver market. Widely sourced,
    and 'cheap as chips'. Great if you can tolerate the Darlington
    characteristics.
    -jg


  5. Re: Most suitable driver chip


    > You haven't considered limiting the individual LED currents.



    µC pin ---> 150 ohm resistor ---> LED ---> transistor ---
    > ground


  6. Re: Most suitable driver chip

    Tomás Ó hÉilidhe wrote:
    >
    >> You haven't considered limiting the individual LED currents.

    >
    > µC pin --> 150 ohm resistor --> LED --> transistor --> ground


    Yup. How much current flows through the resistor? How much of
    that flows through each LED. We have known about Ohms law for some
    time.

    You have trimmed too much, so other readers can't tell what this is
    about.

    --
    [mail]: Chuck F (cbfalconer at maineline dot net)
    [page]:
    Try the download section.


    ** Posted from http://www.teranews.com **

  7. Re: Most suitable driver chip

    On Mon, 26 May 2008 09:26:34 -0700 (PDT), linnix
    wrote:

    >On May 26, 10:23 am, donald wrote:
    >> Tomás Ó hÉilidhe wrote:
    >>
    >> > Does anyone else see a problem with taking 25 mA from a
    >> > microcontroller pin that's rated for 25 mA maximum?

    >>
    >> I would look at the data sheet directly and see what is says.
    >>
    >> Is this micro-controller a secret ?
    >>
    >> Lets all take a look at the data sheet involved and see if this
    >> micro-controller would have a problem with this.
    >>
    >> donald

    >
    >I read 25mA max per pin and 90mA max per chip. Namely, no more than 3
    >leds on at any time.


    http://ww1.microchip.com/downloads/e...doc/41202C.pdf

    I see Abs. Max 25mA/port pin and 200mA max combined port A and C, and
    a prominent (not that it has to be) note:

    "This is a stress rating only and functional operation of the device
    at those or any other conditions above those indicated in the
    operation listings of this specification is not implied. Exposure to
    maximum rating conditions for extended periods may affect device
    reliability."

    Now, let's look at "operation listings"-- parameter D080 is the
    highest rating (8.5mA sink). That would be a good number not to
    exceed. And D090 (-3.0mA source). There's another.

    Of course if you don't care if device reliability is affected, then it
    doesn't much matter. In fact there's not much point in looking at the
    data sheet at all if you're going to only pay attention selectively.
    Best regards,
    Spehro Pefhany
    --
    "it's the network..." "The Journey is the reward"
    speff@interlog.com Info for manufacturers: http://www.trexon.com
    Embedded software/hardware/analog Info for designers: http://www.speff.com

  8. Re: Most suitable driver chip

    On Mon, 26 May 2008 10:46:14 -0700 (PDT), linnix
    wrote:

    >On May 24, 6:38*pm, Spehro Pefhany
    >wrote:
    >> On Mon, 26 May 2008 09:26:34 -0700 (PDT), linnix
    >>
    >>
    >>
    >>
    >>
    >> wrote:
    >> >On May 26, 10:23 am, donald wrote:
    >> >> Tomás Ó hÉilidhe wrote:

    >>
    >> >> > Does anyone else see a problem with taking 25 mA from a
    >> >> > microcontroller pin that's rated for 25 mA maximum?

    >>
    >> >> I would look at the data sheet directly and see what is says.

    >>
    >> >> Is this micro-controller a secret ?

    >>
    >> >> Lets all take a look at the data sheet involved and see if this
    >> >> micro-controller would have a problem with this.

    >>
    >> >> donald

    >>
    >> >I read 25mA max per pin and 90mA max per chip. *Namely, no more than 3
    >> >leds on at any time.

    >>
    >> http://ww1.microchip.com/downloads/e...doc/41202C.pdf
    >>
    >> I see Abs. Max 25mA/port pin and 200mA max combined port A and C,

    >
    >And a 95mA max Idd and Iss, so you can't do more than 95mA absolutely.


    Where are you getting that number from? On page 127 (PDF page 129)

    Abs. max Idd is 250mA
    Abs. max Iss is 300mA
    Abs. max current sunk by PORTA and C combined 200mA
    Abs. max current sourced by PORTA and C combined 200mA

    Best regards,
    Spehro Pefhany
    --
    "it's the network..." "The Journey is the reward"
    speff@interlog.com Info for manufacturers: http://www.trexon.com
    Embedded software/hardware/analog Info for designers: http://www.speff.com

  9. Re: Most suitable driver chip

    On Mon, 26 May 2008 11:48:30 -0700 (PDT), linnix
    wrote:

    >On May 26, 11:35 am, linnix wrote:
    >> On May 24, 6:58 pm, Spehro Pefhany
    >> wrote:
    >>
    >>
    >>
    >> > On Mon, 26 May 2008 10:46:14 -0700 (PDT), linnix

    >>
    >> > wrote:
    >> > >On May 24, 6:38 pm, Spehro Pefhany
    >> > >wrote:
    >> > >> On Mon, 26 May 2008 09:26:34 -0700 (PDT), linnix

    >>
    >> > >> wrote:
    >> > >> >On May 26, 10:23 am, donald wrote:
    >> > >> >> Tomás Ó hÉilidhe wrote:

    >>
    >> > >> >> > Does anyone else see a problem with taking 25 mA from a
    >> > >> >> > microcontroller pin that's rated for 25 mA maximum?

    >>
    >> > >> >> I would look at the data sheet directly and see what is says.

    >>
    >> > >> >> Is this micro-controller a secret ?

    >>
    >> > >> >> Lets all take a look at the data sheet involved and see if this
    >> > >> >> micro-controller would have a problem with this.

    >>
    >> > >> >> donald

    >>
    >> > >> >I read 25mA max per pin and 90mA max per chip. Namely, no more than 3
    >> > >> >leds on at any time.

    >>
    >> > >>http://ww1.microchip.com/downloads/e...doc/41202C.pdf

    >>
    >> > >> I see Abs. Max 25mA/port pin and 200mA max combined port A and C,

    >>
    >> > >And a 95mA max Idd and Iss, so you can't do more than 95mA absolutely.

    >>
    >> > Where are you getting that number from? On page 127 (PDF page 129)

    >>

    >
    >OK, your link is dated 2004:
    >http://ww1.microchip.com/downloads/e...doc/41202C.pdf
    >
    >> > Abs. max Idd is 250mA
    >> > Abs. max Iss is 300mA
    >> > Abs. max current sunk by PORTA and C combined 200mA
    >> > Abs. max current sourced by PORTA and C combined 200mA

    >>

    >
    >My link is dated 2007:
    >
    >> Page 131 ofhttp://ww1.microchip.com/downloads/cn/DeviceDoc/cn011811.pdf
    >>
    >> That's strange. Are we looking at the same chip, PIC16F684?

    >
    >So, I won. This is progress (LOL). Probably process shrink.


    Yup, you win, although my suggested conservative numbers of 8.5mA/-3mA
    (IIRC) would be rather safe in either case (unless you're trying to
    sink 8.5mA from all 11 port pins at once, in which case it's a bit
    over).

    Usually they add an "A" or "B" when they do a process shrink because
    some characteristics inevitably change a bit.

    I think they discovered it dies REALLY fast at 200mA, and just revised
    the data sheet rather than revising the part!
    Best regards,
    Spehro Pefhany
    --
    "it's the network..." "The Journey is the reward"
    speff@interlog.com Info for manufacturers: http://www.trexon.com
    Embedded software/hardware/analog Info for designers: http://www.speff.com

  10. Re: Most suitable driver chip

    On May 22, 11:12�pm, Tom�s � h�ilidhe wrote:
    > I have a matrix of LED's, six rows and seven columns:
    >
    > � � X � �X � �X � �X � �X � �X � �X
    >
    > � � X � �X � �X � �X � �X � �X � �X
    >
    > � � X � �X � �X � �X � �X � �X � �X
    >
    > � � X � �X � �X � �X � �X � �X � �X
    >
    > � � X � �X � �X � �X � �X � �X � �X
    >
    > � � X � �X � �X � �X � �X � �X � �X
    >
    > Across the rows, the LED's anodes are common, and each row has a
    > single microcontroller pin.
    >
    > Down the columns, the LED's cathodes are common, and each column has a
    > single microcontroller pin.
    >
    > The row pins have to source 25 mA, which isn't a problem for the �C.
    > The column pins, however, need to sink 150 mA (150 mA = the current
    > that will flow if every LED in a column is lit).
    >
    > Because the column pins can only sink a maximum of 25 mA, I was going
    > to use a transistor to provide the extra current. Since I have 7
    > column pins though, I'm going to need 7 transistors, which is why I'm
    > thinking of going with a "transistor array".
    >
    > I'm just wondering is there any "bread and butter" chip that people
    > use for this? I've had a quick look at the ULN200X family and they
    > look kind of suitable. If I was picking my own transistors, I'd use
    > FET's as switches (instead of bi-polars), but I suppose if I the
    > driver chip has a base resistor inside it, and if there's negligible
    > current flow when it's turned off, then maybe a BJT array will be OK.
    >
    > (Of course I'd be wise to switch the rows and columns so that I only
    > need 6 transistors, but I'll get on to that later)
    >
    > So what would you use as a "driver chip"? My microcontroller pins work
    > at 5 V for high and 0 V for low.


    First off 25mA is going to give you a dim display unless you are
    useing low current leds. ULN200x chips were designed to drive 7Seg led
    displays, so a perfect choice for you. PNP bjts are cheapest and
    simplest for the rows. You seem to have the rows/colomns mixed up.

+ Reply to Thread
Page 1 of 3 1 2 3 LastLast