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 support@ccsinfo.com

16x2 Lcd displaying nothing with PIC 18F4550

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Abdellatif-009



Joined: 27 Jan 2015
Posts: 3
Location: France

View user's profile Send private message AIM Address

16x2 Lcd displaying nothing with PIC 18F4550
PostPosted: Tue Jan 27, 2015 5:15 pm     Reply with quote

Hello everyone
I'm working in a project that is similar to this

https://sites.google.com/site/coolembeddedlaboratory/home/pic18f4550/tutorial-list/lcd/ccs-pic-c-lcd

I re created the same schematic using ISIS and used the same code given but it's not working, the LCD is blank .. I dont know why
can anyone help me with this ?

Thank you
dyeatman



Joined: 06 Sep 2003
Posts: 1924
Location: Norman, OK

View user's profile Send private message

PostPosted: Tue Jan 27, 2015 5:23 pm     Reply with quote

Please read the sticky PIC101 at the beginning of the topic list.
Please dont ask Proteus/ISIS questions here. Go to the Proteus forum...
http://support.labcenter.co.uk/forums/
_________________
Google and Forum Search are some of your best tools!!!!
temtronic



Joined: 01 Jul 2010
Posts: 9176
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Tue Jan 27, 2015 6:38 pm     Reply with quote

Well if your schematic is the same as the one shown in your post of course it won't work!
Basic simple 'Electronics101' hardware errors. I gave up at 10 critical errors.
Even if the code is correct, it will NEVER work with that hardware.

Jay
Abdellatif-009



Joined: 27 Jan 2015
Posts: 3
Location: France

View user's profile Send private message AIM Address

PostPosted: Wed Jan 28, 2015 12:00 pm     Reply with quote

Can you please help me correct these errors ..
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Jan 28, 2015 12:03 pm     Reply with quote

Temtronics is talking about real hardware. Your schematic is missing
the crystal circuit for the PIC. It's missing the power and ground
connections for the PIC. Isis doesn't care about these things. It will
run OK without them. But real hardware does care.

Your schematic is also missing power, ground, and the contrast
connections to the LCD. Isis may not care about these.
temtronic



Joined: 01 Jul 2010
Posts: 9176
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Wed Jan 28, 2015 12:56 pm     Reply with quote

also LCD module is 'wired' for 8 bit mode but program has 4 bit mode driver.
not too sure what happens to LCD when connected/run in that 'mode'.

also vusb not connected properly, so USB comm will not work...

jay
Abdellatif-009



Joined: 27 Jan 2015
Posts: 3
Location: France

View user's profile Send private message AIM Address

PostPosted: Wed Jan 28, 2015 2:36 pm     Reply with quote

Hello
I changed my schematic and my code and now it's working on ISIS, and that's all what I needed.

Thank you guys for your help.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
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