Close

LCD troubles

A project log for Intervalo-Thingy

ATMEGA 328 based intervalometer. Stupidly complicated for what it does. This is now its official name.

the-feature-creepThe Feature Creep 08/08/2014 at 11:020 Comments

Something I didn't expect was how easy the LCD was to interface. Once it was hooked up correctly it was super easy to code for. The liquid crystal library worked great for this. Going forward I now know it would be wise to get serial connection LCDs instead of the parallel one I am using. The library supports them and it takes a lot fewer pins. Best yet would be I2C. One problem I did have was ghost letters left over after transitioning from three digit numbers to two digit ones. Apparently the chip on the LCD didn't automatically do this (stupid this didn't occur to me before). So I set up a loop cycle counter that would increment up every time it passed through the loop. I told it to clear the LCD every fifth pass and this fixed the problem. There was a little jitter visible, so I tuned the number until it disappeared. The LCD now worked perfectly.

Discussions