Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to put a bmp on an lcd

Status
Not open for further replies.

Dark Angel

Junior Member level 3
Joined
Jan 18, 2002
Messages
29
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
176
fastlcd

I begin programming in C a graphic LCD 128x64.
I found some programs called bmp2lcd wich change a bmp file into an array, but there is no example of using it.
How do you put this on an graphic lcd.

Does anybody have examples?

Thanks

I'v googled, but only found the programs and NONE of them explained how to use it.
 

Dark Angel

Junior Member level 3
Joined
Jan 18, 2002
Messages
29
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
176
bitmap to lcd

Already found this site.
Thanks anyway.
I use a program bmp2lcd wich makes header file from the bitmap wich you include in the c file. The header file contains an array, but i really don't know what to do with it. (i'm not an expert in embedded c).

On mp3 players with graphic displays are for example the buttons defined, but i don't know how this is done.
 

DaMa

Newbie level 6
Joined
Nov 9, 2001
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
68
lcd bitmap converter

Which type of compiler and microcontroller that you program?
 

Dark Angel

Junior Member level 3
Joined
Jan 18, 2002
Messages
29
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
176
bmp lcd

At this moment i'm using an atmel 8515 with avr-gcc compiler.
After testing/learning i want to use it with a HC12.
But any example is welcome. Most examples in the net are for the character displays.
 

direnc

Member level 3
Joined
Jan 27, 2002
Messages
58
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
453
lcd bitmap

Hi,
**broken link removed** has some AVR GCC code for graphic LCDs based on HD61202 or KS0108. You can usa that as the base of your project.

As for what do do with the header you get.
Enable left controller
Set Page and column address 0 . Sent 64 bytes from the file.
Enable left controller
Set Page and column address 0 . Sent 64 bytes from the file.

Do all of the above 7 more times, increasing the page address every time. Now you have your image on the display.

I hope this helps.
 

DaMa

Newbie level 6
Joined
Nov 9, 2001
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
68
bmptolcd

Toshiba T6963C Dot Matrix LCD Controller example codes in PIC and Intel 8051.

**broken link removed**
 

DaMa

Newbie level 6
Joined
Nov 9, 2001
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
68
bitmap lcd

Program to control a T6963C-based 240x64 pixel LCD display
using the PC's Parallel Port (LPT1:) in bidirectional mode
written in Microsoft Quick C
 

amtalan

Junior Member level 3
Joined
Jul 24, 2001
Messages
31
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
176
graphic lcd bitmap

Go to

http://www.ucos-ii.com/

and have a look at uC/GUI, they are a lot of well structured C writen libraries, they can write on an LCD letters, numbers with different fonts and also bitmaps.

A.
 

Dark Angel

Junior Member level 3
Joined
Jan 18, 2002
Messages
29
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
176
lcd bmp

Thanks for the help.

The files from **broken link removed** really helped me out togeter with the instructions from Direnc.

For now the bmp is working on the total display.
Next thing to learn is how to put a small bitmap on a position on the lcd.

Thanks for the links and help from everybody.
 

ME

Advanced Member level 4
Joined
Mar 14, 2002
Messages
1,309
Helped
55
Reputation
112
Reaction score
40
Trophy points
1,328
Activity points
14,861
bitmap converter lcd

Dark Angel said:
At this moment i'm using an atmel 8515 with avr-gcc compiler.
After testing/learning i want to use it with a HC12.
But any example is welcome. Most examples in the net are for the character displays.

Here's an AVR Graphic LCD example written with ImageCraft ICC Compiler: **broken link removed**

Main page: www.microsyl.com
 

zb7401

Newbie level 5
Joined
Jul 8, 2002
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
36
bitmap to glcd

TURN HTE BMP TO DAT THAT the lcd can print on! it is 8bit data!see the lcd documentS and Settings!
 

lta2

Newbie level 3
Joined
Oct 5, 2007
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,297
fastlcd

HI ALL,CAN YOU HELP ME?I HAVE A GLCD 64X128 WITH LABEL SC12864J4 , BUT I DIDN'T SEARCH THE DATASHEET OF IT .WHO HAVE SEND ME PLEASE THANH
 

MrChips

Junior Member level 1
Joined
Dec 30, 2007
Messages
16
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,357
lcd bmp converter

Turn off your caps is shoooooooooouting ,

This post is 4.5yrs old :!::!::!:.

To place bmp on glcd either write your own code basic/c/asm etc etc or find bmp converter.

:|
 

crespo

Newbie level 1
Joined
Jun 19, 2008
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,284
bitmap graphic lcd

hi iam using lcd JHD24064 with controller T6963c
iam want to display a bmp on lcd
pls help
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top