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
Posted: Mon Oct 21, 2013 9:58 am
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
Posted: Mon Oct 21, 2013 1:59 pm
Quote:
I don't want to use the lcd drivers so that i could understand the hardware
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