Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

LM6733 w/SED1330 controller and PIC

Status
Not open for further replies.

drkidd22

Member
I have a LM6733 LCD with touch screen which has a SED1330 controller. I'm looking into using a PIC24 to send commands/text to the controller, but my issue is with the programing. I have done some programing with the HD44780U so I'm kinda familiar with the little guys.

Here are the links to the LM6733 Module specs and the SED1330 Technical Manual.

https://www.electro-tech-online.com/custompdfs/2010/03/lm6733.pdf

https://www.electro-tech-online.com/custompdfs/2010/03/sed1330.pdf

I haven't been able to find any initialization code, in C, to start with and I'm trying to avoid having to start everything from scratch, but if that is what I have to do then I will. Any info/help will be appreciated.
 
Last edited:
I have a LM6733 LCD with touch screen which has a SED1330 controller. I'm looking into using a PIC24 to send commands/text to the controller, but my issue is with the programing. I have done some programing with the HD44780U so I'm kinda familiar with the little guys.

Here are the links to the LM6733 Module specs and the SED1330 Technical Manual.

https://www.electro-tech-online.com/custompdfs/2010/03/lm6733-1.pdf

https://www.electro-tech-online.com/custompdfs/2010/03/sed1330-1.pdf

I haven't been able to find any initialization code, in C, to start with and I'm trying to avoid having to start everything from scratch, but if that is what I have to do then I will. Any info/help will be appreciated.

So I have the following code to try and display a few lines on LM6733 LCD module, but I have not been lucky at it. Any help will be appreciated.

Code:
void GLCD_Init(void)
{	
	Delay( Delay_50mS_Cnt );
  		lcdSndCmd(SYSTEM_SET);
  			lcdSndData(0x38);
  			lcdSndData(0x87); 		//Char width	           
  			lcdSndData(0x07);   			// Char height  	        	
 			lcdSndData(0x3F);     			// Chars per row     
  			lcdSndData(0x49);    			// Frame Frequency control 
 			lcdSndData(0x7F);          			// Lines per Graphic Screen
  			lcdSndData(0x80);      			// Virtual Screen Width low byte
  			lcdSndData(0x00);                   				// Virtual Screen Width high byte 
  
  		lcdSndCmd(SCROLL);
  			lcdSndData(0x00);   // P1
  			lcdSndData(0x00);   // P2
  			lcdSndData(0x40); 	// P3
  			lcdSndData(0x00);   // P4
  			lcdSndData(0x10);   // P5
  			lcdSndData(0x40);   // P6
			lcdSndData(0x00);   // P7
  			lcdSndData(0x04);   // P8
  			lcdSndData(0x00);   // P9 
			lcdSndData(0x30);	// P10

  		lcdSndCmd(HDOT_SCR);     
  			lcdSndData(0x5A);   // P1
  			lcdSndData(0x00);   // P2

  		lcdSndCmd(OVLAY);
  			lcdSndData(0x01); 	// P1

  		lcdSndCmd(DISP_DIS); 
			lcdSndData(0x56); 	// P1

		lcdSndCmd(CSRW); 
  			lcdSndData(0x00);   // P1       
  			lcdSndData(0x00);  	// P2

  		lcdSndCmd(CSR_FORM);
  			lcdSndData(0x04);   // P1
  			lcdSndData(0x86);   // P2      

 		lcdSndCmd(DISP_EN);     /* Display on*/
  			lcdSndData(0x14);          /* Do not switch on Cursor ( messes up Graphics ) */

  		lcdSndCmd(CSR_DIR_R);     /* shift cursor right */
  
  		lcdSndCmd(MWRITE);           
  			lcdSndData(0x20);
			lcdSndData(0x45);
			lcdSndData(0x50);
			lcdSndData(0x53);
}
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top