Seven segment controller question - Is there a better way?


Results 1 to 6 of 6

Threaded View

  1. #2


    Did you find this post helpful? Yes | No

    Default Re: Seven segment controller question - Is there a better way?

    There are many designs on the net for this - many use a shift register, daisy chained to the next one,(74hC595s) rather than use your port expander, you would still use the uln to provide the current. many 7 segs have a decimal point so that makes a nice 8 to fit byte format.

    Your digits would be sent as a bytes shifted out in bits to the register so your digit "1" would be %00000011, digit 2 would be %01101101, A is the least sig bit in this example. So any segment with a 1 will be on 0 =off. 8th bit for decimal point if used , but does not need to be connected as you only have 7 output on uln, but you must shift out the 8 bits regardless.


    Have a look here http://www.picbasic.co.uk/forum/showthread.php?t=981 and post 3 - there is a pdf schematic.

    to set up your 5 digits use a look up (or is it down) table with just 0-9. so for a 1 you would have %00000011 = $03 for 2 %01101101 =$6d and so on.


    you have 5 digits , look up value for first and shift it out, same for the second and so on.
    Last edited by aerostar; - 21st August 2013 at 21:53. Reason: typo

Similar Threads

  1. Replies: 3
    Last Post: - 28th November 2011, 00:21
  2. Multiplexing 7-Segment
    By ross246 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 16th June 2011, 22:31
  3. Replies: 2
    Last Post: - 14th July 2008, 22:11
  4. Dedicated LCD Controller question
    By chuckles in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 27th February 2006, 14:44
  5. 7-Segment Driver
    By NavMicroSystems in forum Off Topic
    Replies: 0
    Last Post: - 13th April 2005, 14:50

Members who have read this thread : 0

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