LCD shows wrong or strange letters

  • 16x2 LCD

Why it happens

  • A data wire is loose or swapped.
  • A motor or relay nearby makes electrical noise.
  • A shorter text doesn't cover the longer one before it.

How to fix it

  1. Push every wire in firmly and use short ones.
  2. Print spaces after the text, or lcd.clear() before it, but not on every loop: that makes it flicker.
  3. Rows are 0 and 1, columns 0 to 15: check setCursor(column, row).
  4. Power motors and relays from another supply, with the grounds joined.

It worked if: The same text stays steady for a minute.

From how the part works. Explained from how the part works; not tried on a real circuit for this page.

Didn't help? Search another error or ask us.