16 bit value on 7 segment display

Status
Not open for further replies.

garg29

New Member
hi friends,
i'm having a 16-bit value (4-digit value) in two 8-bit registers, let it be R1 & R2. now i want to dislay the value on 4, 7-segment display, how can i do it. Please help me.
Thank you.
 
To start, you can use a BCD decoder. I think the IC # is one of the following: 74LS247, 74LS47, 74HCT47, 74HCT247

A BCD decoder can convert a 4 bit number to a format compatible with a 7 segment display.

If you don't care about wasting bits, you can divide the 16 bit output by 4, and that means you need 4 BCD decoders.

but other than that, it gets more complicated.
 
garg29 said:
hi friends,
i'm having a 16-bit value (4-digit value) in two 8-bit registers, let it be R1 & R2. now i want to dislay the value on 4, 7-segment display, how can i do it. Please help me.
Thank you.

As this is a microcontroller forum, and presumably you're doing this on a microcontroller, you simply write the software to do it.

As you've neglected to mention what device you might be using, we can't help very much!.

It's highly probable that you can simply download a suitable routine, if it was a PIC (which I don't think it is) there are suitable routines used in my tutorials.
 
Thanks for replying. I'm using 89c51. I need the basic algorithm, if code availability isn't possible.

Thanks
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…