+ Reply to Thread
Page 1 of 8
1 2 3 4 5 ... Last
Results 1 to 15 of 107

Thread: Binary input Hex dispaly (7 segment LED)?

  1. #1
    dalmation Newbie
    Join Date
    Aug 2007
    Posts
    80

    Default Binary input Hex dispaly (7 segment LED)?

    Hello,
    I have a project nearly completed, but I am stuck...

    I have 8 sets of four binary output pins (8 hex characters) which I want to be displayed on an 8 character Hex display (7 segment LEDs)

    I know how to convert 1 set of four binary into 1 hex character using a decoder chip- but how do I get all 8 to display?

    The ideal solution would be individual 7 segment Led's with an integrated decoder (4 binary inputs)- but I cant find any?

    I have limited space on the PCB so the fewer components the better.

    I would be greatful for any advice- its driving me mad.

    Thanks in advance for your time.

    -DAlmation.


  2. #2
    kchriste Excellent kchriste Excellent kchriste Excellent kchriste Excellent kchriste Excellent kchriste Excellent kchriste Excellent kchriste Excellent kchriste Excellent
    Join Date
    Jul 2006
    Location
    Victoria BC, Canada
    Posts
    3,681

    Default

    The old MC14495 display driver will do this. So will the Fairchild DM9368. But you'll need 8 of them.
    I don't think there are many displays with built in hexadecimal decoders/drivers available today, but they were available several decades ago. See if you can find these 5082-7340's by HP for sale somewhere:
    http://web.mit.edu/6.s28/www/datashe...ed_display.pdf
    A MAX6950 and a micro controller would also work. Or do it all with a microcontroller and multiplex the LED displays.
    Inside every little problem, is a big problem trying to get out.

  3. #3
    ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent
    Join Date
    Jan 2007
    Location
    Hampshire. England.
    Posts
    10,849
    Blog Entries
    13
    Last edited by ericgibbs; 20th August 2007 at 07:39 AM.

  4. #4
    dalmation Newbie
    Join Date
    Aug 2007
    Posts
    80

    Default

    Okay- the HP displays are a no-no. I got a quote, $76 EACH!!!

    So I need to go down the route of a serially interfaced Display driver.
    8 individual decoders take up FAR too much space. Circuit board is limited to max 2"x5" size.


    I can just about figure out the display driver- but how do I get the 8 binary inputs (8x4 pins = 32 data pins) converted into a signal the display driver can use?

    The binary pins are not pulsed- they are on/off (high/low) constantly (obviously depending on the binary value).

    Thanks for the help so far-- I'm nearly there!

    -Dalmation.

  5. #5
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,711
    Blog Entries
    5

    Default

    The TIL311 would work but also expensive.
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

  6. #6
    kchriste Excellent kchriste Excellent kchriste Excellent kchriste Excellent kchriste Excellent kchriste Excellent kchriste Excellent kchriste Excellent kchriste Excellent
    Join Date
    Jul 2006
    Location
    Victoria BC, Canada
    Posts
    3,681

    Default

    The binary pins are not pulsed- they are on/off (high/low) constantly (obviously depending on the binary value).
    Can you post a diagram of the entire circuit? There may be another way of getting at the data or a better design overall.
    Inside every little problem, is a big problem trying to get out.

  7. #7
    dalmation Newbie
    Join Date
    Aug 2007
    Posts
    80

    Default

    naa- wish there was a way- the binary outputs are from a different circuit and is 100% unchangable (has already been mass produced). Its the only outputs available.

    Just now I have it outputting to 32 LEDs (8 four segment led bar displays), and I calculate the binary manually into HEX. I've gotten used to it and mistakes are rare, but I really wanted an addon board that could decode it for me, but I'm limited to 1.5x4.5" circuit board size (including the led display).

    I might (at a push), be able to increase that to 2.5x4.5". Even at that- using 8 individual decoders is near impossible as I need to stick to through hole (I will be assembling myself and dont have the equipment to produce intricate surface mount boards)

    If anyone can think of something that would fit 2.5x4.5" I would jump to it.

    -DAlmation.

  8. #8
    Mike, K8LH Excellent Mike, K8LH Excellent Mike, K8LH Excellent Mike, K8LH Excellent Mike, K8LH Excellent Mike, K8LH Excellent Mike, K8LH Excellent
    Join Date
    Jan 2005
    Location
    Michigan, USA
    Posts
    2,522

    Default

    Would something like this fit (four 18-pin ICs, 8 transistors, displays and resistors)?
    Attached Images
    Last edited by Mike, K8LH; 27th August 2007 at 01:29 PM.

  9. #9
    dalmation Newbie
    Join Date
    Aug 2007
    Posts
    80

    Default

    That would certainly fit in the prescribed area and would still be quite cheap.

    I dont know much about PIC programming- but I'll read up on it now!

    Looks great! Thanks!!

    I'll probably be back shortly to pick the brains of someone who can write pic programs

    Thanks again.

    -Dalmation

  10. #10
    Mike, K8LH Excellent Mike, K8LH Excellent Mike, K8LH Excellent Mike, K8LH Excellent Mike, K8LH Excellent Mike, K8LH Excellent Mike, K8LH Excellent
    Join Date
    Jan 2005
    Location
    Michigan, USA
    Posts
    2,522

    Default

    I would be happy to help you with the PIC program. Learning to program PIC microcontrollers can be quite challenging.

    Would you please fill in the location info' in your profile? If you're here in the states one of us state-side enthusiasts could program the PICs for you so that you don't have to invest in a programmer.

    If you have a company name you might want to register it with Microchip and then order samples of the 18-pin 16F628A, 16F648A, and/or 16F88 devices.

    Good luck. Have fun. Mike

  11. #11
    Mike, K8LH Excellent Mike, K8LH Excellent Mike, K8LH Excellent Mike, K8LH Excellent Mike, K8LH Excellent Mike, K8LH Excellent Mike, K8LH Excellent
    Join Date
    Jan 2005
    Location
    Michigan, USA
    Posts
    2,522

    Default

    Forgot to ask what type of 7-segment LEDs you're using? Common Cathode or Common Anode? Single digit, dual digit, stick, etc.?

  12. #12
    dalmation Newbie
    Join Date
    Aug 2007
    Posts
    80

    Default

    Hello,
    I started reading up on the pics on this website:
    http://www.mstracey.btinternet.co.uk...al/picmain.htm

    It's very interesting and definitely something I need (and want) to get into.
    But it is a bit much to take in on a single reading

    Your offer with the programming is very kind and would certainly be well appreciated!!

    As for my location, I'm in the United Kingdom (Scotland). I do have a pic programmer buried somewhere- I'm sure I can find it.

    The led's? Probably four double digit 7 segments, but let me check whats available- would it be easier/harder/indifferent if it was a single 8 digit display?

    Let me quickly check the pricing of whats available and get back to you- gimme 10 min (if you happen to be reading this now )

    Thanks again.

    -Dalmation


  13. #13
    dalmation Newbie
    Join Date
    Aug 2007
    Posts
    80

    Default

    I will most likely go for four 2 digit 7seg common cathode displays. That will probably be easiest and cheapest.

    Thanks again.

    Michael.

  14. #14
    Mike, K8LH Excellent Mike, K8LH Excellent Mike, K8LH Excellent Mike, K8LH Excellent Mike, K8LH Excellent Mike, K8LH Excellent Mike, K8LH Excellent
    Join Date
    Jan 2005
    Location
    Michigan, USA
    Posts
    2,522

    Default

    The only qualifier for the displays is that they should be non-multiplexed, that is they should have seperate pins for each segment and CC or CA digit connection. This a limitation of the type of multiplexing that must be used for those 18-pin PICs, an N(N-1) multiplexing or Charlieplexing scheme, which allows us to drive the displays with just 8 pins.

    A good tutorial by a Ham Radio Operator/Engineer is located here; Elmer 160 Tutorial

    I'll throw together and test the code and post it here for you next weekend. Meanwhile you should probably locate your programmer and see which PIC devices it supports. If you run into problems I suspect there'll be more than a few UK enthusiasts who'll jump in to help.

    Kind regards, Mike McLaren, K8LH

  15. #15
    dalmation Newbie
    Join Date
    Aug 2007
    Posts
    80

    Default

    I was looking at these leds (common cathode):
    70696.pdf

    They are about the right size and pinout.

    Another thing I meant to ask about the pic... do I need to add an external clock? If so- what frequency range is recommended. There might be a clock pulse available near the binary outputs I can tap into.

    Thanks again.

    -DAlmation

+ Reply to Thread
Page 1 of 8
1 2 3 4 5 ... Last

Similar Threads

  1. driving multiplexed 7 segment display
    By mathur2000 in forum Micro Controllers
    Replies: 8
    Latest: 11th October 2009, 03:51 AM
  2. Using Oscilloscopes
    By mechie in forum Electronic Theory
    Replies: 9
    Latest: 29th November 2007, 09:49 PM
  3. 7 Segment Led Clock using PC signal
    By vito3693 in forum Electronic Projects Design/Ideas/Reviews
    Replies: 3
    Latest: 18th April 2007, 03:22 AM
  4. 4-bit binary to decimal into dual 7 segment displays
    By jupiter669 in forum Electronic Projects Design/Ideas/Reviews
    Replies: 8
    Latest: 15th February 2004, 02:06 AM
  5. Convert Leds to 7 Segment Display
    By Almazick in forum General Electronics Chat
    Replies: 21
    Latest: 19th August 2003, 07:53 PM

Tags for this Thread