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 26th May 2009, 06:54 PM   #31
Default

heh Thanks a bunch! i would be happy just to be in the running

I dont do PWM lol hate trying to do 3 at a time arg.. i get lost.. maybe because all my pics have 2 hardware only and the third would have to be in software

Im going to clean up the code for the menu. Its a mess

Last edited by AtomSoft; 26th May 2009 at 06:56 PM.
AtomSoft is offline  
Old 26th May 2009, 07:09 PM   #32
Default

Jason,

1) The photos might look a little clearer if you removed the protective film.

2) Have you confirmed the resolution?

--David
exdwh is offline  
Old 26th May 2009, 07:35 PM   #33
Default

I wouldn't touch that protective film until it's in a unit to be used. Mike2545 sent me a butterlfy a ways back, the protective cover is still on it.
__________________
"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."
Sceadwian is online now  
Old 26th May 2009, 08:09 PM   #34
Arrow

I would never remove the protective film. I might be smart but im a messy guy lol
it would be unreadable if i had removed it lol

Yes I can fit :
12 (x 8 bits = 96 pixels) letters on screen from left to right and
8 (x 8 bits = 64 pixels ) down from top so thats 96x64.

The only wierd thing is the pixels on the left start at 18 aka 0x12. But its still 96 pixels from there on.

Here is my code for the menu. Its not the best coding but works like a charm. Even include a last menu to turn off leds and hide arrow on screen. Ill take a picture of the 4 stages.

Code:
void UpdateMenu(void){
	unsigned char leftL, leftH, topV,x;
/*
	char left = 104;		//88 + 18 = 104 //I add 18 becuase the LCD starts on pixel 18 not 1

	leftH = left >> 4;	 	//Calculate The Left Pixel
	leftH |= 0x10;   		//Get upper byte in LeftH OR with 0x10 to prodcuce a valid command
	leftL = left & 0x0F; 	//Get lower byte in LeftL
//  Older Code remove with next 2 lines
*/
	leftH = 22;					//Since this is a constant value i did the math 
	leftL = 8;					//to save some time and placed it here
	
	topV = 0xB0 + Top_POS;		//Get the Top position and add 0xB0 to set the row (TOP)

	if(Menu_POS > 3) {			//If in Item 4 aka 0 erase arrow on 3
		LCD_Send((topV-1),0);	//Send Top Position - 1 this way we get the arrow on 3
		LCD_Send(leftH,0);		//Send Upper Left Position
		LCD_Send(leftL,0);		//Send Lower Left Position

		for(x=0;x<8;x++)		//Clear the arrow by setting to all 0's
			LCD_Send(0x00,1);

		Menu_POS = 0;			//Clear the Menu Position
		Top_POS = Top_STA;		//Reset the Top Start
	}
	
	if(Menu_POS > 0){				//If item is greater than 0 do below
		if(Menu_POS > 1){			//If in Item 2 erase arrow on 1 or 3 erase arrow on 2
			LCD_Send((topV-1),0);	//Send Top Position
			LCD_Send(leftH,0);		//Send Upper Left Position
			LCD_Send(leftL,0);		//Send Lower Left Position

			for(x=0;x<8;x++)		//clear the old arrow
				LCD_Send(0x00,1);
		}

		LCD_Send(topV,0);		//Send New Top Position
		LCD_Send(leftH,0);		//Send Upper Left Position
		LCD_Send(leftL,0);		//Send Lower Left Position

		for(x=0;x<8;x++)		//Send out our arrow which is added to the FontA and FontB
			LCD_Send(FontB[96][x],1);
	}

	switch(Menu_POS){			//This is the actual command to set the LEDs
		case 0:
			LATB = 0b00000111;	//Common Anode so to turn on i need Logic Low to turn on led.
			break;
		case 1:
			LATB = 0b00000110;
			break;
		case 2:
			LATB = 0b00000101;
			break;
		case 3:
			LATB = 0b00000011;
			break;
	}
}
Im calling it like:
Code:
	while(1){
		if(button == 0){
			Menu_POS++;
			Top_POS++;
			UpdateMenu();
			Delay10KTCYx(100);
		} 
	}

Last edited by AtomSoft; 26th May 2009 at 08:10 PM.
AtomSoft is offline  
Old 26th May 2009, 08:19 PM   #35
Default

Jason,

I thought maybe there were actually 65 pixels.

The pixels are offset to simplify the controller/LCD connection. I've seen that before.

--David
exdwh is offline  
Old 26th May 2009, 08:22 PM   #36
Default

Just noticed pictures wont show my LED Color. So i took off the flash lol and here ya go from left to right is Menu items 0-3:
Attached Thumbnails
Graphic LCD 96x64 w/ SED1565 Controller-1.jpg   Graphic LCD 96x64 w/ SED1565 Controller-2.jpg   Graphic LCD 96x64 w/ SED1565 Controller-3.jpg   Graphic LCD 96x64 w/ SED1565 Controller-4.jpg  
AtomSoft is offline  
Old 26th May 2009, 09:24 PM   #37
Default

New top banner! lol bored:
Attached Thumbnails
Graphic LCD 96x64 w/ SED1565 Controller-.jpg   Graphic LCD 96x64 w/ SED1565 Controller-b.jpg   Graphic LCD 96x64 w/ SED1565 Controller-c.jpg   Graphic LCD 96x64 w/ SED1565 Controller-d.jpg  
AtomSoft is offline  
Old 27th May 2009, 01:26 AM   #38
Default Graphic LCD 96x64 w/ SED1565 Controller connector

Hi everybody,
Does anyone know where to find the connector for these LCD's.
Thank you.

Geraldes
geraldes is offline  
Old 27th May 2009, 01:31 AM   #39
Default

heh would you believe there isnt one ? i dont but i doubt there is one. I think it was pushed against the PCB and held there.

Im designing a board and holder right now in 3d studio max (3D CAD software) to hopefully get it produced as a board so i can stock em and sell em.

Im make a rough draft drawing now.
AtomSoft is offline  
Old 27th May 2009, 02:01 AM   #40
Default

Looking at the pictures, it's an FPC connector of some kind. It doesn't look standard though, since the FPC seems to extend to the left and right even when the contacts stop.

I ordered a few of the E-Bay $1 ones. I really don't have a specific use right now, but I'm thinking maybe add it to an RF remote with an MSP430 and a CC1100 low power RF transceiver. It'll give much better visual feedback on controlled devices and use very little power for a battery operated device.
__________________
Mark Higgins
DirtyLude is offline  
Old 27th May 2009, 03:11 AM   #41
Default

This is a extremely rough draft. Im waiting for

Autodesk Inventor Trial to come in. i know it will be way better to play with that.
Attached Thumbnails
Graphic LCD 96x64 w/ SED1565 Controller-1.jpg   Graphic LCD 96x64 w/ SED1565 Controller-2.jpg   Graphic LCD 96x64 w/ SED1565 Controller-3.jpg   Graphic LCD 96x64 w/ SED1565 Controller-4.jpg  
AtomSoft is offline  
Old 27th May 2009, 03:24 AM   #42
Default

What is the connector pin pitch ?
__________________
Please post questions to the forums. PM's are for personal communication.

BCHS/3v0's Tutorials
Junebug USB PIC programmer kit., USB Bit Whacker,
The 15 Minute Printed Circuit Board! (+drill time)
3v0 is offline  
Old 27th May 2009, 03:31 AM   #43
Default

not sure i need a ruler lol. its smaller than soic bit
AtomSoft is offline  
Old 27th May 2009, 04:43 AM   #44
Default

Quote:
Originally Posted by AtomSoft View Post
... (re 5x7 font needs space) ...
Yeah i know i was trying to create my own but as you can see im not that good at font creation

you know of a good 5x7 Font already made?

The issue is i scan fonts from top to bottom and left to right like ad would be:
11111100
10000010
10000001
10000001
10000010
10000100
11111000
...
Well scanning top/bottom is fine and pretty normal for GLCD. You only need 5 bytes to store a 5x7 char. In your font draw code just MOVE an extra X pixel after drawing each char, you dont need to store the space, just implement it on display.

Yeah I found a good "standard lcd" 5x7 font a couple weeks back on google, I think I posted the link on this forum, I dont seem to have a record of it on my PC sorry.
Mr RB is offline  
Old 27th May 2009, 04:47 AM   #45
Default

The space between pins is 1mm.

The space bewteen rows is 3mm.

The 2 rows are staggered on centers.

The contacts protrude less than 1mm.

Since the sides of the connector are open, I'm thinking there might be fingers on the phone which clamp like those old DIP test headers.

Somebody needs to take apart an old phone and see how it's done.

--David
exdwh is offline  
Reply

Tags
96x64, controller, graphic, lcd, nokia7110, sed1565, w or

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
Graphic LCD baberjaved Micro Controllers 2 13th November 2007 05:01 PM
Graphic LCD flemmard Micro Controllers 1 13th September 2007 03:32 AM
interfacing of PIC16F877A with graphic LCD controller T6963c rosamma Micro Controllers 1 24th March 2007 12:29 PM
graphic LCD PIC MCU tom_electronic Micro Controllers 4 28th February 2006 12:29 PM
graphic lcd help jijita General Electronics Chat 1 18th August 2004 07:32 AM



All times are GMT. The time now is 12:58 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker