- This topic has 3 replies, 2 voices, and was last updated 11 years, 7 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
|
Microcontroller › AVR › LCD
The code given in the tutorial for printing a string on LCD using Atmega16 is not working properly. the LCD is not displaying anything. what could be the possible reasons for this??
Have you made all the hardware connections properly. Check whether you grounded the R/W pin.
Yes the hardware connections are already checked by me several times. The LCD is getting inialised but it is not displaying anything. Cursor is also not visible. Can u suggest some other codes for LCD initialisation and other operations on it like printing strings etc.
Dear Akanksha,
One more thing related to hardware. Have you used a variable resistor or a simple resistor between pin3 of lcd and ground ? Connect a preset of value 10k or more instead of a resistor, and try varying the resistance of the preset.
I’m asking so because you’ve shared that the lcd is getting initialized. If the code can initialize an lcd, then there is little chance for an error afterwards.