13-Pins But 30 Required.

Discussion in 'The Projects Forum' started by Yako, Nov 26, 2011.

  1. Yako

    Thread Starter New Member

    Nov 24, 2011
    245
    2
    I am going to be using an μC with only 13 IO pins to drive peripherals requiring around 30 or so. Namely starburst / alpha numeric LED displays. It has already been suggested that some 74HC595 serial shift registers could be used to do this, but are there other ways, cheaper ways, more professional ways.

    This is the LED display that I will be using:
    [​IMG] multiplexed x 8

    As you can see, there are many segments that need to be driven. I require letters as well as numbers. I also have to interface some tactile switches, a buzzer and an IR receiver, which will all be at the realm of a very cheap one-dollar μC. True that I could go with a slightly larger μC, but it works out being more expensive with the 40-pin types hovering around three-dollars. So I am hoping that I can do it all with the one-dollar MCU for two-dollars if you know what I mean. These discrete logic ICs such as the 74HC595 are bubble gum cheap at probably well under 20-cents if I buy 100 pcs or so.

    What are your thoughts?
     
    Last edited: Nov 26, 2011
  2. thatoneguy

    AAC Fanatic!

    Feb 19, 2009
    6,357
    718
    Take a look at the MAX5691ANI 2 wire driven 20 port I/O expander with digitally controlled LED current sink on outputs, no need for resistors. Through Hole package too.

    --ETA: Sample 2 from Maxim if you work for a tech company/own a tech business/etc.

    --ETA2: Suggest 16F690, 20 pin IC, enhanced Mid Range Instruction set (Linear memory), C optimized instruction set, internal 8Mhz OSC freeing up 2 more pins for a total of 17 I/O + 1 Input only.
     
    Last edited: Nov 26, 2011
  3. Yako

    Thread Starter New Member

    Nov 24, 2011
    245
    2
    Runs off the fast IC2 bus. No current buffers or resistors required. Sounds like a top-notch IC. Sounds expensive too.

    If space was a problem and or I was going into mass production of a board, then the IC that you mention would of course be my choice.

    I am only looking to do a very small run of about 50 pcs.

    I offer the product as a kit or pre-built.
     
    Last edited: Nov 26, 2011
  4. Yako

    Thread Starter New Member

    Nov 24, 2011
    245
    2
    You've got me thinking now that I am not going to be able to find cheap enough current buffer transistors for the 74HC595's outputs (or similar schema) to drive the displays and keep it under my target of two-dollars.
     
  5. Wendy

    Moderator

    Mar 24, 2008
    20,764
    2,534
    What does the bottom of the part look like?
     
  6. Yako

    Thread Starter New Member

    Nov 24, 2011
    245
    2
    I have never used this display before, so it is new to me. I THINK it has all pins to the left and the right like a wide 'ish dil IC.

    This display is not very common. I am struggling to get a good price on this one.
     
    Last edited: Nov 26, 2011
  7. Yako

    Thread Starter New Member

    Nov 24, 2011
    245
    2
    How much is this IC in low volume?
     
  8. Yako

    Thread Starter New Member

    Nov 24, 2011
    245
    2
    If I go with a larger MCU such as the PIC16F877a (I know this one well too) -- then I have 33 IO pins. The star burst displays have 17 segments, and I will be multiplexing 8 of them. Plus I have other parts to interface too. This MCU is around 3-dollars. I can direct drive the rows and columns without the need for current buffers as well.

    The cost of the current buffer transistors will be the killer of my two-dollar goal.
     
  9. thatoneguy

    AAC Fanatic!

    Feb 19, 2009
    6,357
    718
    They also offer a 28 port expander. Don't see them at Digikey or mouseryet, I was sent two as samples with datasheets and they seem extremely useful. Designed for exactly what you are doing (Driving starburst displays), and having some extra I/O for uCs.

    Probably $2-$3 each, but considering board space, transistors and resistors saved, it'd be an overall cheaper solution, especially if selling in bulk.
     
  10. Yako

    Thread Starter New Member

    Nov 24, 2011
    245
    2
    Hmmm...

    Was sort of hoping to create a commodity for some of this obsolete technology, and some people like building big projects. I mean, any twit can solder a few parts on a board, but there is skill and reward after spending many sessions building something large and complex.

    Not too sure which road to take.
     
  11. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
  12. MMcLaren

    Well-Known Member

    Feb 14, 2010
    759
    116
    How much do the displays cost? Wouldn't eight of them cost more than your $2.00 goal?
     
    Last edited: Nov 27, 2011
  13. AlexR

    Well-Known Member

    Jan 16, 2008
    735
    54
    Probably the MAX6955 is better suited to your application as its specifically designed to drive 7, 14 and 16 segment LED displays.
     
  14. Yako

    Thread Starter New Member

    Nov 24, 2011
    245
    2
    errr I mean the interface to drive them for under $2.

    The starburst displays are not cheap at $2.25 ea.
     
  15. Yako

    Thread Starter New Member

    Nov 24, 2011
    245
    2
    I just go with the larger 40-pin MCU.

    PIC16F877a, which I already know.

    So it costs less because I don't have to learn something new.

    I can buy 16F877a @100pcs very cheap I think.
     
  16. Yako

    Thread Starter New Member

    Nov 24, 2011
    245
    2
    I am a bit embarrassing when I barter people down I have been told.

    I get good prices or I walk, and they know this.

    I know retail and the mark ups.

    They buy for 3-cents and sell for 3-dollars.
     
  17. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    Why use the 16F877A?
    Use the 16F887 instead. Much less money, and a more modern part. You can use the internal clock, or you can use a ceramic resonator or xtal if you really want to.
     
Loading...