My Arduino and 20x2 LCD is going crazy after a while. What is going wrong?
I made a nice iButton-garage-door-opener (see https://www.instructables.com/id/The-iButton-garage-door-opener-Arduino/
). The thing works great, but after a while the iButton doesn't react anymore and as soon as I push one of the buttons, the LCD goes crazy. Normally it stops going crazy after a few seconds and shows a weird text. As soon as I push a button again, it goes crazy again.
The strange thing is that sometimes it works correctly for hours and sometimes it doesn't. Does anybody has any ideas how to fix this?
You can see the code in the instructable.