This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

lcd display repeats the same digit twice

hi i am using at89c51 controller along with jhd162a while printing the number like 1234
it prints as 1133,this error does not happens always, only few times it prints correctly as 1234 ,but most of the time it prints with error as like 1133,even i ve changed the circuit board still it prints with the same error
please guide me to solve the problem
thanks in advance

Parents
  • These types of displays are very dependent on signal TIMING, if you toggle or sequence signals at rates beyond those specified in their DOCUMENTATION, you will likely see corrupt or garbled displays. Get the documentation, review it, compare it to your code, and stick a scope on the physical hardware and confirm for yourself what the timing looks like, in reality.

    Simulators are NOTORIOUSLY poor at reflecting behaviour of arbitrary peripheral hardware, this comes down to the low cost, and inadequate modelling. It's certainly possible to create adequate models, but it's a bit beyond the price the average punter is prepared to pay, and you basically get what you pay for.

Reply
  • These types of displays are very dependent on signal TIMING, if you toggle or sequence signals at rates beyond those specified in their DOCUMENTATION, you will likely see corrupt or garbled displays. Get the documentation, review it, compare it to your code, and stick a scope on the physical hardware and confirm for yourself what the timing looks like, in reality.

    Simulators are NOTORIOUSLY poor at reflecting behaviour of arbitrary peripheral hardware, this comes down to the low cost, and inadequate modelling. It's certainly possible to create adequate models, but it's a bit beyond the price the average punter is prepared to pay, and you basically get what you pay for.

Children
No data