CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

LCD 16x2 with pic16f877a
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
muzakyo



Joined: 31 Mar 2011
Posts: 8
Location: malaysia

View user's profile Send private message

PostPosted: Wed Apr 06, 2011 7:14 am     Reply with quote

this is the detail of my hardware

processor : 16F877A
cytron starter kits : SK40C


LCD Microcontroller
RD4 RD4
RD5 RD5
RD6 RD6
RD7 RD7
E RB5
RS RB4
RW ground

#define LCD_DB4 PIN_D4
#define LCD_DB5 PIN_D5
#define LCD_DB6 PIN_D6
#define LCD_DB7 PIN_D7

#define LCD_E PIN_B5
#define LCD_RS PIN_B4
#define LCD_RW PIN_ ???
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Apr 06, 2011 12:31 pm     Reply with quote

What about this question:
Quote:

3. Measure the voltage on pin 3 of the LCD. What is it ? It should be
approximately 0.5 volts.
roger01



Joined: 31 Mar 2011
Posts: 4

View user's profile Send private message

PostPosted: Fri Apr 08, 2011 1:51 am     Reply with quote

Quote:
Why when I try the lcd there are nothing display on it? It is look like below picture nothing on it....


Hi Muzakyo!

I used to have this problem as well. In my case I just replaced the oscillator connected to the PIC16F877a. And it worked.

Make sure that your oscillator is really 20MHz (the one you used in your program).

Regards,

Roger
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group