Jump to content

7Seg Display and 74HC595


bill

Recommended Posts

Hello,

Is there a documented, or standardised way to connect one 7Seg Display (common cathode) to one 74HC595.

(No multiplexing)

My question is about Pin reference, so the code i'm going to do could be reused.

(Using MIOS_DOUT_SRSet)

If no one knows, i will connect that way :

Q0 -> A
Q1 -> B
Q2 -> C
Q3 -> D
Q4 -> E
Q5 -> F
Q6 -> G
Q7 -> Dot

7seg.gif

PLease tell me what you think :)

Link to comment
Share on other sites

Bill,

Keep in mind the actual part pinning varies from brand to brand. I've learned the hard way on the duals. I've got at least two different pinnings of common anode dual digit here.

I'd like to see what you're doing with them regardless. I like those things. :D

George

Link to comment
Share on other sites

Thanks,

for those who wonder,  here is the pin order i found in mm_leddigits.c

  //    a
  //   ---
  //  !   !
  // f! g !b
  //   ---
  //  !   !
  // e!   !c
  //   ---
  //    d   h
//  pin order : habcdefg  (from pin0 to pin 7)

Finaly, i decided not to use this non multiplexed mode, because over 2 chars, it's a waste of hardware, and for the comfort, i think 3 digits is a minimum to display a 7bit value in decimal, and it could be very nice to display two of those values for ex : c032 127 (i send a CC032 value 127)

So, i plan to work on the Midimon Mtc display, (so hardware plans allready exists!), and i have informations in the leddigits.inc file :)

http://www.midibox.org/forum/index.php?topic=7156.msg46782#msg46782

Link to comment
Share on other sites

  • 8 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...