Central MN, USA
Offline
Faraday Member
Karma: 35
Posts: 5941
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
|
 |
« on: April 20, 2011, 12:17:13 am » |
After some revision, here is my version 2 shown on a 20X4 character LCD, works on other sizes too but 20X4 is big and makes lots of nice shows. A couple of sample pictures:   Video: The code and the example from the videos, with instructions are all posted on my blog: http://liudr.wordpress.com/libraries/phi_big_font/
|
|
|
|
|
Logged
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #1 on: April 20, 2011, 06:21:40 am » |
That inversed one is really hard to read :p
|
|
|
|
|
Logged
|
|
|
|
|
Central MN, USA
Offline
Faraday Member
Karma: 35
Posts: 5941
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
|
 |
« Reply #2 on: April 20, 2011, 07:51:31 am » |
That inversed one is really hard to read :p
Just a perk, which I wish HD44780 had for regular characters, you can see inverted characters after reading inverted for a while but they're poor to begin with. The best inverted characters are displayed using rows 1 and 2, while rows 0 and 3 are filled black boxes, like the hello. The point of the big fonts is to be able to see the normal characters from far away.
|
|
|
|
|
Logged
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #3 on: April 20, 2011, 08:13:17 am » |
The point of the big fonts is to be able to see the normal characters from far away. Still not convinced by the inverted ones. I need to write myself some for numbers only - Hopefully I can think up a nice font for it.
|
|
|
|
|
Logged
|
|
|
|
|
Central MN, USA
Offline
Faraday Member
Karma: 35
Posts: 5941
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
|
 |
« Reply #4 on: April 20, 2011, 09:11:07 am » |
The inverted fonts are NOT good!  If you have a 20X4 display you could probably use all 4 rows to display 4 numbers in good resolution, with 5*7 dot matrix font. With two rows and three columns it's the best I could come up with, which is 3*5 dot matrix font.
|
|
|
|
|
Logged
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #5 on: April 20, 2011, 09:48:10 am » |
Nahh it's just a 16x2 and you will be reading it from 500mm away or so but for it still needs big numbers  Seen any good curvy large number fonts? - numbers only...
|
|
|
|
|
Logged
|
|
|
|
|
Central MN, USA
Offline
Faraday Member
Karma: 35
Posts: 5941
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
|
 |
« Reply #6 on: April 20, 2011, 10:05:58 am » |
If all you need is numbers, you can start from this one from sparkfun.com contest: http://www.instructables.com/id/Music-Playing-Alarm-Clock/You only have 8 choices of building blocks plus blank and black. I went and created a 3*5 font so I can do all characters not just numbers, which makes the numbers look less good.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Central MN, USA
Offline
Faraday Member
Karma: 35
Posts: 5941
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
|
 |
« Reply #8 on: April 20, 2011, 11:46:22 am » |
You're welcome to take it and replace my dot matrix shapes and character definitions from mine and replace with yours.
|
|
|
|
|
Logged
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #9 on: April 21, 2011, 04:21:23 am » |
I had a play with yours and couldn't get it to work on my 16x2 - is it a bit funny about long cables? (normal LCD stuff only just works) or might I have been doing something wrong. I'll try on my 16x4 later (which isn't on a long cable  )
|
|
|
|
|
Logged
|
|
|
|
|
Central MN, USA
Offline
Faraday Member
Karma: 35
Posts: 5941
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
|
 |
« Reply #10 on: April 21, 2011, 10:27:27 am » |
mowcius,
The sample code is for 20*4 only, it will mess up on your 16*2 or 16*4. I'll update my code to do 20X4 and 16X2 once I get some time.
Cable could be a problem but how long is yours? I used some 9" cable I cut out of a floppy cable and it works fine.
|
|
|
|
|
Logged
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #11 on: April 21, 2011, 02:35:52 pm » |
Well I did modify your code and it still didn't want to work - I think I might have done something wrong somewhere though. My cable is *ahem* about 4 foot 
|
|
|
|
|
Logged
|
|
|
|
|
Central MN, USA
Offline
Faraday Member
Karma: 35
Posts: 5941
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
|
 |
« Reply #12 on: April 24, 2011, 05:56:26 pm » |
mowcuis, I've updated my library to have a define to enable 16X2 display demo and 20X4 display demo: http://liudr.wordpress.com/libraries/phi_big_font/The library is the same, just the sample code showcase V3 includes basic features for 16X2 display as well flashy features for 20X4 display. Give it a try. BTW, my record is 18 inches of 40-wire IDE hard drive wire. The display is flawless. I don't have anything 4 foot long LOL
|
|
|
|
|
Logged
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #13 on: April 24, 2011, 06:24:44 pm » |
Haha I'll give it a try - thanks.
|
|
|
|
|
Logged
|
|
|
|
|
|