Olimex Support Forum

DUINO => SHIELDS => Topic started by: n2ballroy on August 08, 2017, 12:55:54 AM

Title: Olimex sheild-LCD 16x2 Freezes
Post by: n2ballroy 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?
Title: Re: Olimex sheild-LCD 16x2 Freezes
Post by: kyrk.5 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?