Continue to Site

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.

Driving lcd display using pic 16F877A

Status
Not open for further replies.

shenkolog

Newbie level 3
Joined
Dec 29, 2007
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,308
lcd display for 16f877a

Hi to all

i am dealing with pic 16F877A.I need to make a lcd run.

Basicly i should drive an lcd using pic 16F877A.But i need mikroc source code to make lcd run.Just simple source code.

Can anybody help me please?
 

lcd with 16f877a

is it possible to put schematic and c source code completly.Because only code is not enough to make lcd run.

Thanks
 

const char* [] + mikroc

There are schematics in the mikroC LCD library Help files... depending on 4-bit mode or 8-bit mode operations.

Certainly a simple search of the internet will show you a 1000 more schematics (seriously!)... and all look the same mostly.

Do a little more reading and research on your own...

If you need a ready to go LCD program in mikroC then use their examples found in the compiler.
 

source code for driving lcd

i need C programming in any format
 

mikroc lcd_out library

Thanks all those who post comments.i made lcd run finally.my code is that


const char *text = "sendogan&serdar";
const char *mesaj2="GPS test, S.S.S. Fenarbahce";
const char *mesaj3="Serdar & Semra";
const char *mesaj4="Sendogan & Gulay ";

char gpstemp[80];
char lcdtext[20];
void strcopy(char *hedef,const char *kaynak);

void main()
{
TRISB = 0; // PORTB is output
Lcd_Init(&PORTB); // Initialize LCD connected to PORTB
Lcd_Cmd(Lcd_CLEAR); // Clear display
Lcd_Cmd(Lcd_CURSOR_OFF); // Turn cursor off
//Lcd_Out(2, 2, lcdtext); // Print text to LCD, 2nd row, 1st column
//lcd_out(3,1,'sendogan');
strcopy(lcdtext,text);
lcd_out(1,2, lcdtext);
strcopy(lcdtext,mesaj2);
lcd_out(2,1,lcdtext);
strcopy(lcdtext,mesaj3);
lcd_out(3,1,lcdtext);
strcopy(lcdtext,mesaj4);
lcd_out(4,1,lcdtext);

}


void strcopy(char *hedef,const char *kaynak)
{
while(*kaynak)
*hedef++ = *kaynak++;

*hedef=0;
}


This is simple mikroc code to test if lcd work ,this is just an example.
But i need to improve it to make that i want to make nmea data which comes from gps serial port to show on lcd display.

Can anybody to help how to make it?
Thanks all
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top