+ Post New Thread
Results 1 to 3 of 3
  1. #1
    Newbie level 3
    Points: 1,131, Level: 7

    Join Date
    Sep 2006
    Posts
    4
    Helped
    0 / 0
    Points
    1,131
    Level
    7

    Driving 20 LEDs from uC

    Hello,
    I am looking for a relatively simple solution for driving 20 standard (20 mA) leds from AVR Attiny.
    - I'd prefer to use some kind of IC (SIPO register?) or IC's instead of discrete transistors. It should be available in DIP package
    - I want to use as low number of pins of the uC as possible - preferably serial connection
    - It is may happen that all the leds will be lit at the same time so the components must withstand that.

    Any recommendations?

    •   AltAdvertisement

        
       

  2. #2
    Advanced Member level 5
    Points: 74,061, Level: 66

    Join Date
    Oct 2004
    Location
    West Coast
    Posts
    7,942
    Helped
    2329 / 2329
    Points
    74,061
    Level
    66

    Re: Driving 20 LEDs from uC

    There is a family of port expanders almost secially design for that purpose ..
    Here is one example:
    "2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
    28-Port LED Display Driver and I/O Expander"
    http://datasheets.maxim-ic.com/en/ds/MAX6956.pdf

    For more info on port expanders goto:
    http://www.maxim-ic.com/quick_view2.cfm/qv_pk/4388

    Regards,
    IanP


    1 members found this post helpful.

    •   AltAdvertisement

        
       

  3. #3
    Newbie level 3
    Points: 1,131, Level: 7

    Join Date
    Sep 2006
    Posts
    4
    Helped
    0 / 0
    Points
    1,131
    Level
    7

    Driving 20 LEDs from uC

    Thanks IanP, that is exactly what I was looking for! Big thanks!



--[[ ]]--