I am using arduino mega with LCD 4X20 character to measure weight by 40 kg load cell and pt 100 to measure the temp. I have 4 output to 4 relay module. all are powered from 12vdc /3 amp Power supply.. the problem is.. the display started normally showing every thing perfectly.. but when the output comes out and the loads runs.. random characters appear is the power supply is not enough? or another problem.. Please advice. enter image description hereenter image description here

  • 4
    Please show you circuit and your code – chrisl Sep 29 '19 at 15:23
  • 1
    start with a simple sketch that displays 0123456789abcdefghij on every line ... then wiggle wires – jsotola Sep 29 '19 at 17:02
  • 1
    Do you know what character generator ROM is built into that HD44780 4X20 display? What signals have you wired from your Arduino? Have you tied the R/W line to GND? – Dougie Sep 29 '19 at 17:07
  • 1
  • @Ashraf Nassar There could be a number of reasons for this, from connection issues to bad libraries – Coder9390 May 14 at 11:33

Random Characters can Happen in several ways.

  • Check the Wires for: Loosen Ends; Broken Wires and Wrong Pin Connections.
  • Check your Code.

I'd suspect that it is a software error. Did you check your circuit if it induces desync between the Arduino and the LCD, or did you just use the wrong drivers?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.