Shop OBEX P1 Docs P2 Docs Learn Events
12v seven segment display — Parallax Forums

12v seven segment display

LuciLuci Posts: 4
edited 2008-09-22 19:14 in BASIC Stamp
I would like to know if·someone could help me with this.

I have a 7-segment display (actually 5) and they work with 12volts, but I want to controlled them with the basic stamp which only takes 5volts. Can you sugest any idea to do this?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-09-22 18:36
    You need to post the datasheet for the displays you want to use as an attachment to your message. Go to the display manufacturer's website and search their website for the display model or part number. They will have some kind of datasheet with descriptions of the various pins, the signal voltages, the physical layout of the display, etc. There are all kinds of possible suggestions depending on the details of the display.
  • allanlane5allanlane5 Posts: 3,815
    edited 2008-09-22 18:47
    Isn't it possible to use a Darlington Array chip as a 5 volt to 12 volt interface?
  • LuciLuci Posts: 4
    edited 2008-09-22 18:50
    Thank you Mike,
    I attached the datasheet
  • LuciLuci Posts: 4
    edited 2008-09-22 18:52
    allanlane5, thanks for ur response. Do you know what chip is that one?
    Thanks
  • Mike GreenMike Green Posts: 23,101
    edited 2008-09-22 19:05
    You have a common anode display which is the easiest to handle. A ULN2803 is an 8 bit Darlington transistor array that is often used with a Stamp and can be used to control this display. There's a Nuts and Volts Column (#6) on using this and on using single transistors to switch larger currents and voltages than can be handled directly by a Stamp I/O pin.

    Go to the main Parallax webpage and click on the Resources tab. You'll see a list of resources including Nuts and Volts Columns. Choose that and look through the index.

    From the Resources tab, choose Downloads, then Stamps in Class Downloads. You'll see a list of tutorials. The one called Basic Analog and Digital has some chapters on expanding the I/O capability of a Stamp. You'll probably want to use a couple of 74HC595 shift registers to provide enough I/O to control 5 of these displays still using the ULN2803 to handle the voltage. Read the tutorial, you'll see.
  • Mike GreenMike Green Posts: 23,101
    edited 2008-09-22 19:12
    You'll need current limiting resistors in the segment leads. Their values will depend on the supply voltage for the LEDs and should limit the current to 20mA per segment.
  • LuciLuci Posts: 4
    edited 2008-09-22 19:14
    Thanks Mike, I REALLY appreciate your help!
Sign In or Register to comment.