Driver code for 14 segment LED display


Closed Thread
Results 1 to 5 of 5
  1. #1
    Durward Searcy's Avatar
    Durward Searcy Guest

    Default Driver code for 14 segment LED display

    Anyone know where I can obtain a routine to convert ASCII code into code to drive 14 segment LED display. Thank you.

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    we need a few more info. In fact you can find almost everything everywhere but..

    what type of hardware you want to use.
    • 1. one PIC with all the i/o you need
      2. one 8 pins PIC with external stuff like shift register
      3. ???

    is the ASCII come by serial, parrallel, by phone, by mental thought or else ?

    what kind of display you want : bargraph, 7 segments (multiplex or not)

    tell us we can certainely help you
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Durward Searcy's Avatar
    Durward Searcy Guest


    Did you find this post helpful? Yes | No

    Default

    Re: Driver code for 14 segment display

    Steve:

    Thanks for your prompt reply.

    I need to program a 18F6720 to directly drive a Fairchild MDA6410
    14 Segment LED display using PICbasic. I can get units that accept 2 bytes in hex in serial form but this will be a large volume application and external part count in of extreme impotance.

    I would appreaciate any suggestions.

    Thanks
    Durward

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    All hardware you need
    • 1. 17 i/o pin (2 will be connected to transistor/mosfet to drive Common anode of each display)
      2. few resistors (depending on how you want to do it, some like to use 1 by common anode or 1 by digit segment)

    for the software
    • 1. you must create a table to convert each number/character you want to display as output pin pattern on your PIC...store them into internal EEPROM or in a array... you'll need about 16 character x 2 (8bits + 6bits (we forget about decimal point)) so 32 EEPROM location or array of 32 elements.

    Since you'll do kinda multiplex display, I suggest to use internal timer to toggle from the first to the second display. Should be fast enough to avoid display blinking.

    how does it sound to you?
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    Durward Searcy's Avatar
    Durward Searcy Guest


    Did you find this post helpful? Yes | No

    Default

    Thanks again Steve for the futher info.

    Durward

Similar Threads

  1. Darrel's interrupts in a 7 segment display
    By ardhuru in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 17th August 2014, 02:06
  2. Hdsp 21xx display
    By Original in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 7th June 2012, 20:07
  3. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  4. Need help Temp and 7segment led display
    By mastero in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 12th August 2006, 14:04
  5. Multiplex two 7 segment display
    By Fernando Santos in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 20th July 2003, 13:26

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts