Here we have interfaced LCD with AT89c51. LCD has 16 pins, in that 8 pins for data, and 3 pins for controlling lcd.
But in 8051, we have totally 32 pins for interfacing. so if we use 11 pins for LCD interfacing, then only few pins will be available for others.
So we interface LCD in 4 bit mode. So We need 4 pins for Data and 2 pins(RS,EN) for controlling.
So that we reduce 5 pins.
For lcd in 4bit mode see the following code.
For code in LCD 4 bit mode click here
For Simulation and circuit click here
Leave your comments to improve my site.
Give your feedback and other related ques mail me at manirandd@gmail.com
No comments:
Post a Comment