Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Michael Karas
04/20/12 05:34
Read: 432 times
Beaverton Or
USA


 
Msg Score: +1
 +1 Good Answer/Helpful
#187231 - Intent Applied; But Verified??
Responding to: ???'s previous message
Maunik Choksi said:
Michael Karas said:
Maunik Choksi said:
I found same problem as you described here in the past.I initialsed the LCD thrice and I get success.


Needing to initialize the LCD controller three times to get it to work is an incredible kludge.

The most highly likely reason that it does not work correctly on the first initialization attempt is that that you are not meeting either the interface pulse time requirements or you are not meeting the minimum delay requirements between the initialization commands.

Michael Karas


Yes Mechael it would be one of the reasons.I gave proper time to initialise the LCD controller first & then gave commands according to described in the datasheet.I used different kinds of LCDs too.but couldn't succed.Then I adopt this method.This is the method,not described in the books but didn't disappoint me in a single LCD among I used too many.

The OP has write the code properly for initialisation but he find some problem.
What the OP should do here to get success in driving the LCD?
Your suggession would be helpful me too.

Maunik


You say that you allowed for proper pulse timing and delays to the LCD controller. Did you verify the result of your work on an oscilloscope?

It is possible to get an LCD controller to function after a single initialization - if you do it correctly. Your concept of doing it three times is still a kludge and in fact probably just sheer dumb luck that it happens to hide the thing that you are doing wrong.

I think you owe it to yourself to dig into this issue and figure out why you are unable to initialize the LCD in one go at it. You do that and the satisfaction and expertise that grows out of it will strengthen you for the rest of your life.

Michael Karas



List of 9 messages in thread
TopicAuthorDate
[project]Calculator 4x4 keypad + 2x16LCD - Result      Lukasz Stanowski      04/07/12 09:57      
   wrong approach      Erik Malund      04/07/12 14:45      
      LCD      Lukasz Stanowski      04/18/12 16:27      
         Initialise it more than one time      Maunik Choksi      04/19/12 01:38      
            Needing To Do Three Times Is A Kludge      Michael Karas      04/19/12 20:48      
               Thanks      Maunik Choksi      04/19/12 23:18      
                  Intent Applied; But Verified??        Michael Karas      04/20/12 05:34      
                     previous experiences      Erik Malund      04/20/12 06:12      
                     ' Will see it again      Maunik Choksi      04/20/12 22:22      

Back to Subject List