Close
0%
0%

7-segment digits on hd44780 16x2

HD44780 supports 8 programmable characters, using them we can show digits like on 7-segment LED display.

Similar projects worth following
I have not found such technique on the Internet. There are similar solutions but the digits take more space. I guess it can be useful in some cases.

plain - 8.94 kB - 04/09/2018 at 18:02

Download

Enjoy this project?

Share

Discussions

matseng wrote 04/09/2018 at 19:14 point

@Yann Guidon / YGDES , Here is a link to a version that dosen't look too bad.
 https://www.flickr.com/photos/funnypolynomial/6839733307/
But I think Witalls  version is better.  I have to try them out both and see which that actually looks better.  Maybe the background light and the contrast will make a difference....

Then there's a version that looks ultra-fat - that one I don't like at all.

  Are you sure? yes | no

Witali wrote 04/10/2018 at 01:21 point

Thanks for the link. It also interesting font.

  Are you sure? yes | no

Witali wrote 04/09/2018 at 17:51 point

Uploaded a file with source code. Added a couple photos. One of them shows colon and space between groups of digits so it can be clock. The second is a development board what I use.

  Are you sure? yes | no

matseng wrote 04/09/2018 at 19:15 point

Thanks! Bookmarked for future usage...

  Are you sure? yes | no

salec wrote 04/11/2018 at 12:56 point

I didn't use character LCDs much. I made one 7-segment digits set using 4 character places for one digit, and I didn't like how it looked. Yours is much better.

Seeing your addition of colon between the digits, I must ask you: can one create custom characters on the fly?

You need 6 custom characters for digits (up, down, up & down, left, right, left & right), and you would need additional three custom characters for colon between each possible combination of digits (left & dot, dot & right, left & dot & right).

That's total of nine. I thought there were only 8 spaces for custom characters map in HD44780?

So, how do you do it? And, once you reprogram one of the existing custom chars, do ones of same code, already printed on screen, remain as they previously were, until they are written over?

  Are you sure? yes | no

salec wrote 04/11/2018 at 16:59 point

Ah, I get it now :-) .

There is no trick: the dots are not inserted in usual gap between adjacent digits, digit on the right has its separate beginning in another column, so there is no sharing of same character for both lines and  a dot.

I was thinking inside my own box.

  Are you sure? yes | no

Yann Guidon / YGDES wrote 04/09/2018 at 04:56 point

I think I've seen a similar technique already. Not this one precisely though, but the idea is similar : use 2 characters to create one symbol. It was long ago so I'm sorry I can't give a reference :-/

  Are you sure? yes | no

Yann Guidon / YGDES wrote 04/09/2018 at 05:31 point

I see my error : THAT version is much smarter and better ! :-D

  Are you sure? yes | no

matseng wrote 04/08/2018 at 20:45 point

This is an interesting technique. Do you have any more info about it?

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates