0
Offline
Edison Member
Karma: 12
Posts: 1550
|
 |
« Reply #15 on: July 12, 2009, 12:59:51 pm » |
One easy question:
How can I calculate the space require to store a bitmap in a dot graphic display?
For example, if I have a display of 128x64 dots
Kind Regards,
Igor R.
|
|
|
|
|
Logged
|
|
|
|
|
London
Offline
Faraday Member
Karma: 6
Posts: 6226
Have fun!
|
 |
« Reply #16 on: July 12, 2009, 01:19:20 pm » |
total bytes equals width times height times bits per pixel divided by 8
128 x 64 with 8 bits (1 byte) per pixel is 8k bytes
|
|
|
|
« Last Edit: July 12, 2009, 04:33:25 pm by mem »
|
Logged
|
|
|
|
|
|
|
0
Offline
Edison Member
Karma: 6
Posts: 1399
Arduino rocks
|
 |
« Reply #18 on: July 12, 2009, 04:06:09 pm » |
Why 8 bits per pixel if this is a monochrome display?
|
|
|
|
|
Logged
|
|
|
|
|
London
Offline
Faraday Member
Karma: 6
Posts: 6226
Have fun!
|
 |
« Reply #19 on: July 12, 2009, 04:50:20 pm » |
In the first post the OP said he would ideally like a color display if possible
|
|
|
|
|
Logged
|
|
|
|
|
|
|
0
Offline
Edison Member
Karma: 12
Posts: 1550
|
 |
« Reply #21 on: July 13, 2009, 02:56:06 am » |
EmilyJane,I want only the display, not the entire solution... I suppose the display is $60 or something similar...
In a monochrome display, the calculation is different?
Thank you for your feedbacks!!
Igor R.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Offline
Brattain Member
Karma: 137
Posts: 19001
I don't think you connected the grounds, Dave.
|
 |
« Reply #22 on: July 13, 2009, 03:05:27 am » |
In a monochrome display, the calculation is different? Depends - monochrome could be one bit per pixel, so 128x64 would requires 8192 bits = 1024bytes. OTOH, you could have maybe a monchrome greyscale of, say four bits per pixel, so in that case, you'd need four times as much memory, or 4kbytes.
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
0
Offline
Edison Member
Karma: 12
Posts: 1550
|
 |
« Reply #23 on: July 13, 2009, 03:13:48 am » |
With the KS0108 or T6963 controllers, do you know the bits per pixel?
It´s only to think about the amount of space required...
Thank-u!
Regards
Igor R.
|
|
|
|
« Last Edit: July 13, 2009, 03:15:28 am by igorreal »
|
Logged
|
|
|
|
|
London
Offline
Faraday Member
Karma: 6
Posts: 6226
Have fun!
|
 |
« Reply #24 on: July 13, 2009, 03:50:07 am » |
ks0108 and similer are 1 bit per pixel, so 128x64 memory is 1k bytes
|
|
|
|
« Last Edit: July 13, 2009, 03:50:29 am by mem »
|
Logged
|
|
|
|
|
Dallas, Texas
Offline
God Member
Karma: 0
Posts: 861
|
 |
« Reply #25 on: July 13, 2009, 10:44:17 am » |
Oops, sorry, I thought that sounded a little high. :-[ I think something like this: http://www.crystalfontz.com/product/CFAG12864B-TFH-Vis what you are looking for. It's around $34 and it is a transflective display, which is the most sunlight readable of the LCD displays, in my experience. It also has an LED edgelight, which will allow reading in darker conditions.
|
|
|
|
« Last Edit: July 13, 2009, 10:47:20 am by EmilyJane »
|
Logged
|
|
|
|
|
0
Offline
Edison Member
Karma: 12
Posts: 1550
|
 |
« Reply #26 on: July 13, 2009, 11:06:11 am » |
Thank you!! I suppose they´re using this http://www.crystalfontz.com/product/CFAG240128L-TMI-TZTS. Because of it´s 240x128 and touchscreen ($87). In the web say that the best for sunlight are Reflective or Transflective. (Yellow/Green LED Backlight or White Edge LED Backlight ). The blue one is Transmissive... Uff... a lot of differents technologies... I´m quite confused...je,je,je
|
|
|
|
|
Logged
|
|
|
|
|
Dallas, Texas
Offline
God Member
Karma: 0
Posts: 861
|
 |
« Reply #27 on: July 13, 2009, 11:29:30 am » |
You need to make up your mind about how many pixels you want and then buy a transflective display. I don't see the problem. : 
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Edison Member
Karma: 12
Posts: 1550
|
 |
« Reply #28 on: July 13, 2009, 12:37:46 pm » |
ja,ja,ja I would like KS0107/KS0108 or Toshiba T6963 because it´s easy to implement and there are many info and libraries in internet. Something like this: http://www.crystalfontz.com/product/CFAG240128L-YYH-TZSize: 240x128 or 160x128 But in stead of Yellow/Green led backlight, I would like blue or red backlight. Both would be fantastic!! Letters-Graph in black and background in blue is a perfect combination!! Example:   Is it possible change the leds?
|
|
|
|
|
Logged
|
|
|
|
|
Dallas, Texas
Offline
God Member
Karma: 0
Posts: 861
|
 |
« Reply #29 on: July 13, 2009, 12:55:48 pm » |
If you can make do with 128 x 64, they have one with an RGB backlight: http://www.crystalfontz.com/product/CFAG12864A-CFH-TAWith the proper psychic sensor software in your Arduino, it would be like a two-wheel mood ring!
|
|
|
|
|
Logged
|
|
|
|
|
|