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

Search found 13 matches
CCS Forum Index
Author Message
  Topic: Interfacing LCD 2X16 JHD162A with PIC18F46K22
senur

Replies: 32
Views: 46979

PostForum: General CCS C Discussion   Posted: Thu Jan 09, 2014 9:43 am   Subject: Interfacing LCD 2X16 JHD162A with PIC18F46K22
I have fixed the problem. It is weird but it worked for me. I don't know why I'm getting this problem. It was specified clearly in the datasheet that the speed for writing is 40us.
But in my case it ...
  Topic: Interfacing LCD 2X16 JHD162A with PIC18F46K22
senur

Replies: 32
Views: 46979

PostForum: General CCS C Discussion   Posted: Tue Jan 07, 2014 1:10 pm   Subject: Interfacing LCD 2X16 JHD162A with PIC18F46K22
I've tried everything so far. I even changed the PIC itself but with no luck still getting weird results. Anyhow, I'll keep on trying and when I solve the problem I'll post it here.
Thank you all so ...
  Topic: Interfacing LCD 2X16 JHD162A with PIC18F46K22
senur

Replies: 32
Views: 46979

PostForum: General CCS C Discussion   Posted: Thu Jan 02, 2014 11:43 am   Subject: Interfacing LCD 2X16 JHD162A with PIC18F46K22
I have two LCDs and I've tried them both. Same results in both of them. So, I think the soldering is fine. I'll try to double check the ohmmeter.

Thank you
  Topic: Interfacing LCD 2X16 JHD162A with PIC18F46K22
senur

Replies: 32
Views: 46979

PostForum: General CCS C Discussion   Posted: Thu Jan 02, 2014 11:27 am   Subject: Interfacing LCD 2X16 JHD162A with PIC18F46K22
Try this. Increase the initial delay in main() to 1000 ms (from 250 ms)
as shown in bold below:


I think you're right but now the output I see is WloeRI
I've tried several delays like
delay_ms ...
  Topic: Interfacing LCD 2X16 JHD162A with PIC18F46K22
senur

Replies: 32
Views: 46979

PostForum: General CCS C Discussion   Posted: Thu Jan 02, 2014 5:21 am   Subject: Interfacing LCD 2X16 JHD162A with PIC18F46K22
Thank you for your help.
I've connected everything as you said and changed the clock to 20MHz.
it's shown in the crystal 20MHz. And also connected the JP8.
However, now I can see some output but w ...
  Topic: Interfacing LCD 2X16 JHD162A with PIC18F46K22
senur

Replies: 32
Views: 46979

PostForum: General CCS C Discussion   Posted: Mon Dec 30, 2013 1:28 pm   Subject: Interfacing LCD 2X16 JHD162A with PIC18F46K22
Thank you for your replies,
I redid the soldering with rosin flux core. It's not perfect but I think it's better than before however, I'm still getting the same result shown in the previous picture. ...
  Topic: Interfacing LCD 2X16 JHD162A with PIC18F46K22
senur

Replies: 32
Views: 46979

PostForum: General CCS C Discussion   Posted: Mon Dec 30, 2013 9:47 am   Subject: Interfacing LCD 2X16 JHD162A with PIC18F46K22
comment: I still don't like the pin soldering.

hth
jay

I went to the store today to buy the flux core but they were out. So, I'll check other stores tomorrow. and I'll redo all of them. thank ...
  Topic: Interfacing LCD 2X16 JHD162A with PIC18F46K22
senur

Replies: 32
Views: 46979

PostForum: General CCS C Discussion   Posted: Mon Dec 30, 2013 7:22 am   Subject: Interfacing LCD 2X16 JHD162A with PIC18F46K22
Thank you, Now I've set the VEE with 0.4 volt. But this is the output I get:

http://i.imgur.com/ezhhvBb.jpg

http://i.imgur.com/ezhhvBb.jpg
  Topic: Interfacing LCD 2X16 JHD162A with PIC18F46K22
senur

Replies: 32
Views: 46979

PostForum: General CCS C Discussion   Posted: Mon Dec 30, 2013 6:53 am   Subject: Interfacing LCD 2X16 JHD162A with PIC18F46K22
I tried to check if there's a 0.4 volt on the VEE. So I placed the red wire of the voltmeter on the VEE pin and the black wire on the R7 itself. I didn't get any reading. Am I doing right or my way is ...
  Topic: Interfacing LCD 2X16 JHD162A with PIC18F46K22
senur

Replies: 32
Views: 46979

PostForum: General CCS C Discussion   Posted: Sun Dec 29, 2013 8:49 am   Subject: Interfacing LCD 2X16 JHD162A with PIC18F46K22
1) What have you got feeding Vee on the LCD?.

It's just connected to the board as in the picture. Sorry but I'm really new to these stuff.

2) Add a short delay (250mSec) before calling LCD_init ...
  Topic: Interfacing LCD 2X16 JHD162A with PIC18F46K22
senur

Replies: 32
Views: 46979

PostForum: General CCS C Discussion   Posted: Sun Dec 29, 2013 8:27 am   Subject: Thank you now the backlight is working
Thank you, the back-light is working now. But I still can't get the output on the LCD. Here's my code, am I missing something? I already #define the connection in flex_lcd.c
#include <18F46K22.h&g ...
  Topic: Interfacing LCD 2X16 JHD162A with PIC18F46K22
senur

Replies: 32
Views: 46979

PostForum: General CCS C Discussion   Posted: Sun Dec 29, 2013 1:31 am   Subject: Interfacing LCD 2X16 JHD162A with PIC18F46K22
I'm really new to these stuff PIC and LCD. I'm trying to print "Hello" on the LCD but it doesn't work. I've been trying all day yesterday but still won't show the output nor the back-light. ...
  Topic: Error with 18F4620: Expecting a structure/union
senur

Replies: 2
Views: 6338

PostForum: General CCS C Discussion   Posted: Wed Dec 11, 2013 9:33 am   Subject: Error with 18F4620: Expecting a structure/union
I'm facing the same problem. May I know what you did?
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group