CONNECTION DIAGRAM |
Today I will explain you creating a Interface on any LCD with a microcontroller like 8051,ARM .
Many development boards have inbuilt hardware lines with the io's of mixrocontroller but for a novice i would suggest doing it manually.
1. Always connect the data lines of the LCD to the port which has all the IO Lines free
2. You can always mix the control lines of LCD with the data input lines.
3. Make sure you always read a switch on the interrupt,it allows the program to run smoothly.
4. Always study your LCD Datasheet's timing diagram before working on the Interfacing.
5. Always keep a time delay(in millisec) that works best with your LCD to refresh the data(refer to your LCD's Datasheet for exact delay).
6. Always keep a CRO/DSO handy while working with LCD, if the screen does not refresh itself after you reset the controller,then there is a problem with your EN signal.
7. If LCD is getting CLEARED,but the data is not displaying then there is a problem with the delay in LCD WRITE routine.Use the CRO probe on the data lines ,you should be able to see a clock on the data lines if the LCD is recieving the data otherwise check your cnnections
I hace uploaded a circuit for LCD Interfacing which has worked for me for interfacing with 89C51RD2 .
I will be working on creating PWM for controlling a Single Phase Induction Motor in coming days and will upload tips and tricks for the same.
Have a great time and mail me all your queries in the comments section.For more panels and instruments used in Engineering Labs refer to my youtube videos
Digital Communication Trainer - The youtube helps you to learn the concept of PAM ,PPM and PWM experiments done on a Vinytics Communcation Lab Instruments Kit
See the suggested video columns for training kits that are used in your own college Labs and master them.
No comments:
Post a Comment