Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 28th October 2009, 03:50 AM   #1
Default Nokia 6100 Library

Hey guys great news!!! Im making a Nokia 6100 Color LCD library. WIll use SPI BitBang , 12bit color per pixel. Here is a image of some progress:



So far i have:

CIRCLE, RECTANGLE, CHAR, STRING, BASIC COLORS
Attached Thumbnails
Nokia 6100 Library-6100.jpg  
AtomSoft is offline  
Old 28th October 2009, 04:05 AM   #2
Default

Very nice. I ended up destroying the connector on my 6100. Watch if you try to unplug it from the board. It's definitely a pretty little LCD and not too hard to develop for. Main problem I've seen is the complaints about the different versions.

If anyone finds a really cheap source, I might get another one or two, but right now I haven't found a need to replace my old broken one.
__________________
Mark Higgins
DirtyLude is online now  
Old 28th October 2009, 05:05 AM   #3
Default

Good job, where'd you get the LCD from though!
__________________
Mike
My website: www.ElectroBird.net
birdman0_o is offline  
Old 28th October 2009, 12:22 PM   #4
Default

Sorry lol forgot... I got it from eBay.. Came on a noce board for $15 .. You can also get from sparkfun cheaper but no board ..

I'm tired like crazy..I'll post links in a little bit
AtomSoft is offline  
Old 28th October 2009, 03:12 PM   #6
Default

Never mind...

Last edited by AtomSoft; 28th October 2009 at 03:20 PM.
AtomSoft is offline  
Old 29th October 2009, 12:55 PM   #7
Default

hey guys i ran into a snag. I need a BMP converter the only thing is i have this code written using 12bit color code and dont want to use 8 bit.

This is a 8-Bit converter:
How to: Nokia 6100 LCD (english) | Zipfelmaus - Blog

Anyone know where i can get a 12-bit version or similar application..

Im sure i can make one in VB but heh dont have much time on my hands anymore.
AtomSoft is offline  
Old 29th October 2009, 04:07 PM   #8
Default

Hey guys check this out so far:



Youtube: (maybe still loading)

YouTube - Nokia 6100 LCD Test

Non Youtube:
http://atomsofttech.info/code/GEDC0020.MOV.MP4
Attached Thumbnails
Nokia 6100 Library-tempcolor.jpg  

Last edited by AtomSoft; 29th October 2009 at 04:22 PM.
AtomSoft is offline  
Old 30th October 2009, 09:38 PM   #9
Default

Ok im working in VB6 and so far i can open a image and get the RGB of each pixel. Im not sure if im converting it correctly since i havnt tried it yet. But since the RGB is 4-4-4 for this LCD to be 12bit .... Im diving the 255,255,255 by 17 each this way the max of 255 is turned into 15(F)(1111) which is 4 bits.

I hope this works heh.. Now i have to code the creation on data bytes. I need to connect every 2 parts together to make one byte and if then append a 0 to the end if need be (odd amount of pixel data)

Wish me luck. Remember all the code and stuff will be shared and posted when complete or if i quite (most likely complete )
AtomSoft is offline  
Old 31st October 2009, 12:48 AM   #10
Default

How do you use VB to decompose an image into pixels :O
__________________
Mike
My website: www.ElectroBird.net
birdman0_o is offline  
Old 31st October 2009, 12:51 AM   #11
Default

its a nice api called:

GetPixel
AtomSoft is offline  
Old 31st October 2009, 12:52 AM   #12
Default

I am about to test out some hex it generated ill post a comment on it in a bit

24x9 bmp of 4 main colors RGB and Black
Quote:
240,15,0,240,15,0,240,15,0,240,15,0,240,15,0,240,1 5,0,240,15,
0,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,240,15,0,240,15,0,240,15,0,240,15,0,24 0,15,
0,240,15,0,240,15,0,255,0,240,15,0,240,15,0,240,15 ,0,240,15,
0,240,15,0,240,15,0,240,15,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,15,0,240,15,0,240,15,
0,240,15,0,240,15,0,240,15,0,240,15,0,240,15,240,1 5,0,240,15,
0,240,15,0,240,15,0,240,15,0,240,15,0,240,15,0,240 ,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,240,15,0,240,15,0,240,15,0,240,15,0,240,15,0,240 ,15,0,240,
15,0,255,0,240,15,0,240,15,0,240,15,0,240,15,0,240 ,15,0,240,
15,0,240,15,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,15,0,240,15,0,240,15,0,240,15,0,24 0,
15,0,240,15,0,240,15,0,240,15,240,15,0,240,15,0,24 0,15,0,240,
15,0,240,15,0,240,15,0,240,15,0,240,0,0,0,0,0,0,0, 0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,240,15,0,240,
15,0,240,15,0,240,15,0,240,15,0,240,15,0,240,15,0, 255,0,240,
15,0,240,15,0,240,15,0,240,15,0,240,15,0,240,15,0, 240,15,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,15,0,240,15,0,240,15,0,240,15,0,240,15,0,240 ,15,0,
240,15,0,240,15,240,15,0,240,15,0,240,15,0,240,15, 0,240,15,0,
240,15,0,240,15,0,240,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,240,15,0,240,15,0,240,15,0,
240,15,0,240,15,0,240,15,0,240,15,0,255,0,240,15,0 ,240,15,0,
240,15,0,240,15,0,240,15,0,240,15,0,240,15,0,0,0,0 ,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,0,
240,15,0,240,15,0,240,15,0,240,15,0,240,15,0,240,1 5,0,240,15,
240,15,0,240,15,0,240,15,0,240,15,0,240,15,0,240,1 5,0,240,15,
0,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,240,15,0,240,15,0,240,15,0,240,15,0,24 0,15,
0,240,15,0,240,15,0,255,0,240,15,0,240,15,0,240,15 ,0,240,15,
0,240,15,0,240,15,0,240,15,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,15,0,240,15,0,240,15,
0,240,15,0,240,15,0,240,15,0,240,15,0,240,15,240,1 5,0,240,15,
0,240,15,0,240,15,0,240,15,0,240,15,0,240,15,0,240 ,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,240,15,0,240,15,0,240,15,0,240,15,0,240,15,0,240 ,15,0,240,
15,0,255,0,240,15,0,240,15,0,240,15,0,240,15,0,240 ,15,0,240,
15,0,240,15,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,15,0,240,15,0,240,15,0,240,15,0,24 0,
15,0,240,15,0,240,15,0,240,15,240,15,0,240,15,0,24 0,15,0,240,
15,0,240,15,0,240,15,0,240,15,0,240,0,0,0,0,0,0,0, 0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,240,15,0,240,
15,0,240,15,0,240,15,0,240,15,0,240,15,0,240,15,0, 255,0,240,
15,0,240,15,0,240,15,0,240,15,0,240,15,0,240,15,0, 240,15,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,15,0,240,15,0,240,15,0,240,15,0,240,15,0,240 ,15,0,
240,15,0,240,15,240,15,0,240,15,0,240,15,0,240,15, 0,240,15,0,
240,15,0,240,15,0,240,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,240,15,0,240,15,0,240,15,0,
240,15,0,240,15,0,240,15,0,240,15,0,255,0,240,15,0 ,240,15,0,
240,15,0,240,15,0,240,15,0,240,15,0,240,15,0,0,0,0 ,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,0,
240,15,0,240,15,0,240,15,0,240,15,0,240,15,0,240,1 5,0,240,15,
240,15,0,240,15,0,240,15,0,240,15,0,240,15,0,240,1 5,0,240,15,
0,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,240,15,0,240,15,0,240,15,0,240,15,0,24 0,15,
0,240,15,0,240,15,0,255,0,240,15,0,240,15,0,240,15 ,0,240,15,
0,240,15,0,240,15,0,240,15,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,15,0,240,15,0,240,15,
0,240,15,0,240,15,0,240,15,0,240,15,0,240,15,240,1 5,0,240,15,
0,240,15,0,240,15,0,240,15,0,240,15,0,240,15,0,240 ,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,240,15,0,240,15,0,240,15,0,240,15,0,240,15,0,240 ,15,0,240,
15,0,255,0,240,15,0,240,15,0,240,15,0,240,15,0,240 ,15,0,240,
15,0,240,15,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,15,0,240,15,0,240,15,0,240,15,0,24 0,
15,0,240,15,0,240,15,0,240,15,240,15,0,240,15,0,24 0,15,0,240,
15,0,240,15,0,240,15,0,240,15,0,240,0,0,0,0,0,0,0, 0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,240,15,0,240,
15,0,240,15,0,240,15,0,240,15,0,240,15,0,240,15,0, 255,0,240,
15,0,240,15,0,240,15,0,240,15,0,240,15,0,240,15,0, 240,15,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,15,0,240,15,0,240,15,0,240,15,0,240,15,0,240 ,15,0,
240,15,0,240,15,240,15,0,240,15,0,240,15,0,240,15, 0,240,15,0,
240,15,0,240,15,0,240,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,240,15,0,240,15,0,240,15,0,
240,15,0,240,15,0,240,15,0,240,15,0,255,0,240,15,0 ,240,15,0,
240,15,0,240,15,0,240,15,0,240,15,0,240,15,0,0,0,0 ,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,0,
240,15,0,240,15,0,240,15,0,240,15,0,240,15,0,240,1 5,0,240,15,
240,15,0,240,15,0,240,15,0,240,15,0,240,15,0,240,1 5,0,240,15,
0,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,240,15,0,240,15,0,240,15,0,240,15,0,24 0,15,
0,240,15,0,240,15,0,240,0,0,0,0,0,0,0,0,0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0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

Last edited by AtomSoft; 31st October 2009 at 01:47 AM.
AtomSoft is offline  
Old 31st October 2009, 01:11 AM   #13
Default

RGB and black? What the heck colour pallet are you using?
RGB at all FFs is white, RGB at all 00s is black, if you have a fourth colour it's either an alpha channel a mask or you badly mistyped something.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."

Last edited by Sceadwian; 31st October 2009 at 01:12 AM.
Sceadwian is offline  
Old 31st October 2009, 01:46 AM   #14
Default

heh i mean im trying RED, GREEN, BLUE, WHITE and BLACK color image...


I ran into a issue::
MAX = unsigned long
the width and height = unsigned char
Code:
    max = width * height;
My problem is if width = 50 and height = 50 max should = 2500 but it = 196

any thoughts????
AtomSoft is offline  
Old 31st October 2009, 01:51 AM   #15
Default

dude for this display it uses 4 bit color for each RGB so
RED = 4 bit
GREEN = 4 bit
BLUE = 4 bit

Now if pixel 1 is solid red you get F0,0
and if pixel 2 is solid blue you get 0F,0

but as decimals so thats.... 240,0,240 the way the lcd works is it will read the 2 bytes like

RRRRGGGG,BBBBRRRR,GGGGBBBB = 11110000,0000,11110000

you see?
AtomSoft is offline  
Reply

Tags
6100, library, nokia

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
Multisim Library rahulshah Datasheet/Parts Requests 0 15th March 2009 02:12 PM
Rfid Library ollakalla Micro Controllers 0 18th December 2008 07:02 PM
eagle library fedail General Electronics Chat 19 14th October 2008 07:36 PM
Eagle Library bababui Electronic Projects Design/Ideas/Reviews 13 9th May 2007 01:56 PM
Protothread library Dan East Micro Controllers 0 7th October 2005 04:31 AM



All times are GMT. The time now is 02:46 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker