Jump to content

Recommended Posts

Posted

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 :)

Posted

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

Posted

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

  • 8 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...