Go Down

Topic: Nokia 6100 LCD Display - Arduino Playground (Read 23 times) previous topic - next topic

Thomas Jespersen

#45
Jul 01, 2009, 09:59 am Last Edit: Jul 01, 2009, 10:03 am by tkj Reason: 1
Sounds good... Very nice project you've made :)
About the connection, don't you need any voltage converter for the different lines? Aren't the display running on 3.3V!
I have a display with voltage booster for the backlight too - http://www.sparkfun.com/commerce/product_info.php?products_id=8600

About the backlight color, you can use (change, as it's already in the code) this code line.
Code: [Select]
nokiaLcd.lcd_clear(BLACK,0,0,131,131);
The lcd_clear command just makes a square box with the color,x1,x2,y1,y2 parameters! I hope you understand that  :P

Also, I can see that you don't know what the "itoa" command is.
It's a integer to string command, which converts a integer to a string so it can be used as a char* parameter.
There is also the "atoi" command, which converts a string (char*) with numbers into a integer value.

Sprintf can do the same as both of them, but it use 1.5K of code, while theese only use a couple of bytes :)
Need any help with your electronics projects?
TKJ Electronics, a consultancy company located in Denmark (Europe), has the required ex

CaptainObvious

Actually I have both the BL and VCC connected to 5v. No problems so far, hope I don't damage anything  :-X

Well, when I use the lcd_clear command, it does just that, it clears. When I have any information on the screen, it just looks like it's flashing because it keeps looping, and if I put in a delay, it just flashes, but slower. :P

And yes I understand the parameters, I think, haha battle ship! :) But minus the letters. As for the itoa, doesn't make too much sense to my noobness at the moment, but slowly but surely everythings making more sense. :)

Thomas Jespersen

#47
Jul 01, 2009, 10:24 am Last Edit: Jul 01, 2009, 10:25 am by tkj Reason: 1
You can change the X1,X2,Y1,Y2 parameter to only clear an area... So if you want to flash the background of only a little area (making a flashing box) you could do this:
Code: [Select]
nokiaLcd.lcd_clear(BLUE,0,0,10,10);
delay(200);
nokiaLcd.lcd_clear(GREEN,0,0,10,10);
delay(200);


But wouldn't this works for flashing the background of the text?
Code: [Select]
nokiaLcd.lcd_draw_text(WHITE,BLACK, 100, 105, text);
delay(200);
nokiaLcd.lcd_draw_text(BLACK,WHITE, 100, 105, text);
delay(200);


Also please tell me, is it the same display you have, as I have?
Need any help with your electronics projects?
TKJ Electronics, a consultancy company located in Denmark (Europe), has the required ex

CaptainObvious

#48
Jul 01, 2009, 10:45 am Last Edit: Jul 01, 2009, 10:54 am by thoed Reason: 1
Actually, I have the 6610, I believe the one you're using is the 6600. I read your first post, I have the same controller as yours. Well here, check this website, it has everything I started with lol the newbie code, and there are some amazing PDFs
http://store.gravitech.us/13secogrlcd.html
There's a like 130 page tutorial on how to write code for the LCD driver, but it's just way above my head.

And @ the flashing, I don't want it to flash! haha, I'm just looking for a background color. (I just fixed it, turns out I had the lcd_clear in my loop.. so no wonder it was going to flash really fast)!

Using nokiaLcd.lcd_clear(BLACK, 0, 0, 131, 131);
The background does turn black, but it blinks very fast, not a background.

EDIT:
Oh, ... reading the main reason for this post, lol
When I was hooking up the screen for power, uh, I'm not sure if it would be parallel or series, but I ran 5v to the power rail on the bread board, and spread the power out there, including both the VBL and VCC. And of course, did the same with ground.  
When I tried using resistors and even the transistor, I had problems. But I couldn't get anything to show up at all with the tutorial on the Arduino website for the Epson controller.

Thomas Jespersen

Your display is a 3.3 to 5V display which is very nice.
You can just connect it directly to the Arduino - so you are pretty lucky as I can't! :D
It because it has an 74LCX245 onboard, which is a Voltage Converter...
Need any help with your electronics projects?
TKJ Electronics, a consultancy company located in Denmark (Europe), has the required ex

Go Up