November 09, 2024, 03:23:22 AM

Olimex sheild-LCD 16x2 Freezes

Started by n2ballroy, August 08, 2017, 12:55:54 AM

Previous topic - Next topic

n2ballroy

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

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?