Author |
Message |
Topic: PIC16F877A and LCD 16x2 problem |
champ720
Replies: 24
Views: 59669
|
Forum: General CCS C Discussion Posted: Thu Jan 27, 2011 6:14 pm Subject: PIC16F877A and LCD 16x2 problem |
Hello PCM,
I'm doing GPS data logger which display lat/long at LCD and connected laptop's usb cable for navigation. I add LCD for displaying lat/long when GPS isn't connected to laptop.
... |
Topic: PIC16F877A and LCD 16x2 problem |
champ720
Replies: 24
Views: 59669
|
Forum: General CCS C Discussion Posted: Wed Jan 26, 2011 11:55 pm Subject: PIC16F877A and LCD 16x2 problem |
do
{
delay_ms(500);
while(bkbhit)
putc(bgetc());
} while (TRUE);
Delete the two lines in bold.
I delete these two lines, but it doesn't work. |
Topic: PIC16F877A and LCD 16x2 problem |
champ720
Replies: 24
Views: 59669
|
Forum: General CCS C Discussion Posted: Wed Jan 26, 2011 11:25 pm Subject: PIC16F877A and LCD 16x2 problem |
That circuit only affects the backlight. You don't need the backlight
to be working. The LCD will run without it.
Did you do you all the things I listed in my post below?
http://www.ccsinfo.com ... |
Topic: PIC16F877A and LCD 16x2 problem |
champ720
Replies: 24
Views: 59669
|
Forum: General CCS C Discussion Posted: Tue Jan 25, 2011 12:50 am Subject: PIC16F877A and LCD 16x2 problem |
Hello, PCM
I connect series LED resistor 15 ohm, 0.5W and do anything you suggest but it doesn't work. what is next your idea ?
Thank you very much. |
Topic: PIC16F877A and LCD 16x2 problem |
champ720
Replies: 24
Views: 59669
|
Forum: General CCS C Discussion Posted: Sun Jan 23, 2011 1:02 am Subject: PIC16F877A and LCD 16x2 problem |
Thank you PCM,
I adjust Vo to 0.5V and leave DB0-DB3 floating but they aren't pulled up to +5v. Their voltage are about 0.25V
I notice that there are two resistors on LCD module connecting from ... |
Topic: PIC16F877A and LCD 16x2 problem |
champ720
Replies: 24
Views: 59669
|
Forum: General CCS C Discussion Posted: Sat Jan 22, 2011 4:01 am Subject: PIC16F877A and LCD 16x2 problem |
1. the lcd does not initialise at all, otherwise the black line will disappear.
in the lcd driver, place some delays between i/o activity like:
output_b (nibble);
delay_us(1);
... |
Topic: PIC16F877A and LCD 16x2 problem |
champ720
Replies: 24
Views: 59669
|
Forum: General CCS C Discussion Posted: Sat Jan 22, 2011 12:39 am Subject: PIC16F877A and LCD 16x2 problem |
LCD appears black squares when adjusting POT to maximum value (Vo=0V). In LCD datasheet, Vo value that LCD works properly is 4.2V. When I adjust POT to this value, It has no black square on screen. W ... |
Topic: PIC16F877A and LCD 16x2 problem |
champ720
Replies: 24
Views: 59669
|
Forum: General CCS C Discussion Posted: Sat Jan 22, 2011 12:04 am Subject: PIC16F877A and LCD 16x2 problem |
That is basically the way I have my LCD (CrystalFontz in this case) connected although D0-D3 are not connected. Just out of curiosity, how did you count the pin numbers on the connector ? They alter ... |
Topic: PIC16F877A and LCD 16x2 problem |
champ720
Replies: 24
Views: 59669
|
Forum: General CCS C Discussion Posted: Fri Jan 21, 2011 10:41 pm Subject: PIC16F877A and LCD 16x2 problem |
In addition to the comment above on D2, make sure you have power and ground to the display correctly (favorite trick is to hook up data/control lines and forget power and ground ... very odd things ha ... |
Topic: PIC16F877A and LCD 16x2 problem |
champ720
Replies: 24
Views: 59669
|
Forum: General CCS C Discussion Posted: Fri Jan 21, 2011 10:08 pm Subject: PIC16F877A and LCD 16x2 problem |
C. Don't connect anything to pin A2 on the PIC.
I think you meant pin D2. right?
did you try the default <lcd.c> routine? is it working?
your code looks fine, try re-checking your connec ... |
Topic: PIC16F877A and LCD 16x2 problem |
champ720
Replies: 24
Views: 59669
|
Forum: General CCS C Discussion Posted: Fri Jan 21, 2011 6:16 am Subject: PIC16F877A and LCD 16x2 problem |
I compile with PCWHD 4.068 |
Topic: PIC16F877A and LCD 16x2 problem |
champ720
Replies: 24
Views: 59669
|
Forum: General CCS C Discussion Posted: Fri Jan 21, 2011 5:31 am Subject: PIC16F877A and LCD 16x2 problem |
Hello, I'm testing my LCD 16x2 (ABC016002A07-GHY) with PIC16F877A and flex_led.c driver but it's not work (appear black square in first line). I try these method below but it's not work.
1. Increas ... |
|