Pages: [1]   Go Down
Author Topic: Large Display Numbers on 160x128 LCD  (Read 817 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am trying to code a 160x128 display for a golf cart that will show speed, trip distance, and battery charge level.

This is a very rough (done in paint) example of what i am trying to display to the golf cart driver.


I would like to know the feasibility of making a custom character library of digits as big as the ones shown in the '20.'  I am starting to doubt if i can do it because it seems like the library needed to make custom numbers this big would fill up the entire space needed for the sketch.  Please understand that i make this claim out of slight ignorance.  I have not coded an arduino, as of yet, but I have done a lot of research and looked at some libraries to code the T6963C controller included on the LCD.

This is for a course project at my university.  I have almost completed my BS in Electrical Engineering, so i have experience in coding C and assembly.

Any help would be much appreciated
Thanks

Display Link
http://www.sparkfun.com/products/8799

EDIT: Forgot to include that i will be using an Arduino 2650
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 602
Posts: 33371
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Use program memory for your array, then it will not fill all the memory.

Also in place of using one bit per pixel you could compress the data in some way like run time encoding.
This is simpler than it sounds, you have pairs of numbers one defines the number of blank pixels followed by the number of set pixels.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks mike, I'll try to see if i can i can do it.  Could you clarify on the run time encoding, or pass on a tutorial if possible.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 602
Posts: 33371
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Just lookup how gif files are encoded, it is the same thing.
Logged

Pages: [1]   Go Up
Jump to: