I have a Arduino Mega 2560, with a dht11, photocell, DFROBOT moisture sensor, 1307 real time clock, 2 four relay module boards, and a 20X4 LCD Display with back light.
The problem that I am having is the Display goes blank or the text gets all garbled, during start up or when I plug in or unplug the usb while on external power or not and when any of the relays come on one or more
but it does not happen every time at first I thought it was the 120v that I was switching on the relay boards but I put in some 12v interposing relays it did not change I then put a capacitor across the power to filter it did not stop this from happening I also soldered all the power to a little board thinking I had bad connections on my bread board did not fix the problem so now I think it might be a voltage drop the power supply that I am using has an output of 12 volts/2A and Im not sure if I am pulling to much power I don't have a amp meter capable of reading that low or that high of current.
Or do I have it wired right not sure I followed the adafruit tutorial and it works but am I missing any resistors not sure should I be using all sixteen pins not sure!
thank you any help you can provide!