The backlight for my LCD is working fine. However, I tried a series of programs found online to test the LCD, nothing owuld appear on the display. This leads me to believe the maybe its the contrast wiring thats the problem.
I do not have a potentiometer to set the contrast between Vdd, Vo and Vee. However, I have managed to place resistor accross these pins to make up the 10K ohms. and put pin3 to about 1.7V?
My pinout is like the following: Pin 1 --> 6.6K ohms --> Pin3 then Pin3--> 3.3k ohms -->Pin18.
Would this be adequate? If not, how can I avoid using the potentiometer and test that the LCD is wired properly with contrast before I start programming?
Does the difference between pin1 and pin8 have to be 10K? Because if I wire like this, Pin3 will be approx.-3V
Pin1 ---> 13.2Kohms--->Pin3 then Pin3--->3.3kohms--->Pin18
(sorry, I only have access to 5kohms and 3.3kohms for now,
I'll try to have Pin1-->8kohm-->Pin3 and Pin3-->2kohm--->Pin18 if you think this will do the trick)
How does the contrast change according to the voltage across these pins? If Vo is -5V, -3V, 0V, 2V will I see anything in the LCD? Would the screen appear darker even with no program?
Its my first time working with microcontrollers and LCDs so my programming isn't too great.
Since after programming the LCD it still appears blank, I need to figure out whether my wiring or programming is the problem.
Another question I have is what to do with pin14?
Thanks,
I do not have a potentiometer to set the contrast between Vdd, Vo and Vee. However, I have managed to place resistor accross these pins to make up the 10K ohms. and put pin3 to about 1.7V?
My pinout is like the following: Pin 1 --> 6.6K ohms --> Pin3 then Pin3--> 3.3k ohms -->Pin18.
Would this be adequate? If not, how can I avoid using the potentiometer and test that the LCD is wired properly with contrast before I start programming?
Does the difference between pin1 and pin8 have to be 10K? Because if I wire like this, Pin3 will be approx.-3V
Pin1 ---> 13.2Kohms--->Pin3 then Pin3--->3.3kohms--->Pin18
(sorry, I only have access to 5kohms and 3.3kohms for now,
I'll try to have Pin1-->8kohm-->Pin3 and Pin3-->2kohm--->Pin18 if you think this will do the trick)
How does the contrast change according to the voltage across these pins? If Vo is -5V, -3V, 0V, 2V will I see anything in the LCD? Would the screen appear darker even with no program?
Its my first time working with microcontrollers and LCDs so my programming isn't too great.
Since after programming the LCD it still appears blank, I need to figure out whether my wiring or programming is the problem.
Another question I have is what to do with pin14?
Thanks,
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.
Last edited: