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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/02/09 17:07
Read: times


 
#165010 - I doubt that will work.
Responding to: ???'s previous message
Jan Waclawek said:
Richard,

Per's right. This is definitively a case for a microcontroller or two, sub-$1 each, and the two 74HCxx latches, $0nothing each.

The sub-$1 types aren't fast enough, and the ones fast enough cost too much. This LCD has a minimal 'E' strobe of 200 ns. What happens if his existing MCU can generate that? How do you sample it? How do you keep up with the bus handshake? Even an equally fast MCU can't sample the signals at the same rate.

Even if the master mcu won't check the busy flag of the module (which is never guaranteed if the master is a "black box"), the use of an other mcu or two allows not only to ensure absolutely correct timing for the slave display, but also allows to use anything other as the slave display: a graphic LCD, a LED dot matrix display (which may be a HUGE one if you want), a VFD (some of them are MUCH nicer than LCDs - OLED dot alphanum modules used to be even nicer, but unfortunately they are not made ever more) or even a PC with say an LCD projector...

There's no requirement to provide for displays other than the specific one he's using.

The monitoring of the busy flag is unnecessary at the remote end because he's using the LCD he's using. The logic-only approach ensures the correct signal timing. If the timing at the local system doesn't produce the correct result at the remote system, then something's broken and needs to be repaired/replaced. What you're suggesting implies a protocol be imposed on the comm system. After all, what does the remote MCU, if there is to be one, do if another character arrives before he gets a not-busy condition? I doubt the O/P had that in mind. If your LCD at the remote end is exactly like the one at the local end, the timing should be the same, i.e. meeting the spec's at the local MCU will meet the spec's at the remote LCD. If you consider WHY one needs to monitor the busy flag, it will become apparent why it's not necessary for the slave.

BTW, in well-managed companies, including or providing for features not specifically required in the current system will often get you fired. Though this sort of policy is probably traceable back to when people charged for code by the line, which some still do, it's certainly true that things not included because they're not absolutely necessary can't cause reliability issues.

Jan Waclawek

PS. 1602... in the last few months I went across quite a lot of 16x2 LCD modules and was writing and rewriting various related pieces of software, and as many manufacturers mark these modules as XXX1602YYY, I sort of get used to this notation... and use it in source file names, functions and variables names etc...


I had guessed that there was some explanation like that ... nevertheless, it's important to be specific rather than introducing unfamiliar and potentially ambiguous nomenclature.

RE


List of 24 messages in thread
TopicAuthorDate
How to read and redisplay from LCD databus?            01/01/70 00:00      
   Spy on the Data & Control lines            01/01/70 00:00      
      Can be hard to be fast enough            01/01/70 00:00      
   Shouldn't be a problem            01/01/70 00:00      
      some HW might be needed            01/01/70 00:00      
         Monitor the LCD databus then send via 485            01/01/70 00:00      
         I don't see a place for the 805x            01/01/70 00:00      
      Re: Shouldn't be a problem            01/01/70 00:00      
         some basic questions            01/01/70 00:00      
            Re:some basic questions            01/01/70 00:00      
               20 Meters            01/01/70 00:00      
                  Re: 20 Meters            01/01/70 00:00      
      Signal timing and command timing separate issues            01/01/70 00:00      
         Check the datasheet ...            01/01/70 00:00      
            Re: Check the datasheet ... and test on LCD of board B first            01/01/70 00:00      
               A CPLD at each end would do nicely            01/01/70 00:00      
                  Re: A CPLD at each end would do nicely            01/01/70 00:00      
                     it depends on requirements            01/01/70 00:00      
                        Watch out for assumptions about busy            01/01/70 00:00      
                           If that gets to be an issue ...            01/01/70 00:00      
                              slave timing            01/01/70 00:00      
                                 I doubt that will work.            01/01/70 00:00      
   I had done something like this in past            01/01/70 00:00      
      Re: I had done something like this in past            01/01/70 00:00      

Back to Subject List