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

help with 16x2 lcd

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



Joined: 02 Aug 2013
Posts: 13

View user's profile Send private message

help with 16x2 lcd
PostPosted: Mon Oct 21, 2013 9:45 am     Reply with quote

Guys i need to run a 16x2 lcd with pic 16f684. I am not aware of how to wire it using 8 bit interface. I just want to print the characters using the commands from uc. I don't want to use the lcd drivers so that i could understand the hardware. Please help me.
gpsmikey



Joined: 16 Nov 2010
Posts: 588
Location: Kirkland, WA

View user's profile Send private message

PostPosted: Mon Oct 21, 2013 9:58 am     Reply with quote

If you want to learn to "understand the hardware", then you are going to need to spend the time to look at the data sheet for the LCD (or the controller chip on it), study the timing and then figure out how to achieve that timing with the processor of your choice. Be sure to observe the reset timing - most of those LCD chips take a bit of time to "wake up" and many people overlook that when they try talking to it. The data sheets for the chips specify the configuration for both the 4 bit (nibble) mode as well as the 8 bit modes. Talking to the LCD controller is not that complicated, but you need to spend the time to study the data sheet and understand what the timing requirement is.

mikey
_________________
mikey
-- you can't have too many gadgets or too much disk space !
old engineering saying: 1+1 = 3 for sufficiently large values of 1 or small values of 3
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Oct 21, 2013 1:59 pm     Reply with quote

Quote:

I don't want to use the lcd drivers so that i could understand the hardware

LCD tutorials:
http://www.geocities.com/dinceraydin/lcd/
https://coefs.uncc.edu/sjkuyath/files/2012/04/LCD__Interfacing_with_Microcontrollers_tutorial1.pdf
http://www.studentcompanion.co.za/Courses/Programming/PIC/LCD.aspx

Find more with Google.
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