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
-
4Please show you circuit and your codechrisl– chrisl2019年09月29日 15:23:52 +00:00Commented Sep 29, 2019 at 15:23
-
1start with a simple sketch that displays 0123456789abcdefghij on every line ... then wiggle wiresjsotola– jsotola2019年09月29日 17:02:19 +00:00Commented Sep 29, 2019 at 17:02
-
1Do 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– Dougie2019年09月29日 17:07:11 +00:00Commented Sep 29, 2019 at 17:07
-
1Please read How to ask a good question for Arduino Stack Exchangesa_leinad– sa_leinad2019年09月30日 12:48:31 +00:00Commented Sep 30, 2019 at 12:48
-
@Ashraf Nassar There could be a number of reasons for this, from connection issues to bad librariesCoder9390– Coder93902021年05月14日 11:33:30 +00:00Commented May 14, 2021 at 11:33
2 Answers 2
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?