Welcome, Guest

Author Topic: Olimex sheild-LCD 16x2 Freezes  (Read 758 times)

n2ballroy

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Olimex sheild-LCD 16x2 Freezes
« on: August 08, 2017, 12:55:54 AM »
I have an issue where the display stops updating after 30 minutes or so.  I have tried two different arduinos Megas and 2 different Olimex shields.  All combinations have the same problem.

I do not write to the 16th character.
I have tried adding lcd.clear(), and rewriting the entire screen, but that does not help.

I debugged my code with the serial interface and the code is still properly running.  Thoughts??

Is it possible that the servo library is interfering?

kyrk.5

  • Jr. Member
  • **
  • Posts: 62
  • Karma: +3/-0
Re: Olimex sheild-LCD 16x2 Freezes
« Reply #1 on: August 09, 2017, 06:08:49 PM »
Which interface do you use? I2C or Serial TTL232?

When the LCD stops working, do yo still see on that interface your data? Can you measure it with an oscilloscope or logical analysator?

Try to remove that other library and check if it becomes better.

By the way, if it is a servo library, than I guess you have a servo motor. Is it possible that the servo motor generates some noise on the power line and that get trough to the uC and generates some problems?