I´ve been working in an automated fan, solenoid, waterpump system for cows. During the past 6 months I learned a lot about cattle, arduino, coding. Most of this, because that forum. So I decided to build an prototype to help my office partner with his cattle milk farm and maybe to start helping our neighbors that produces milk too.
I have built 2 prototypes. Both of them have the same parts.
The parts are: arduino nano, LCD display, encoder module, thermometer module, 4 channel relay module, RTC module, i2C module, 850mA cellphone power source.
1st ptototype running OK (Just hooked up all the modules together)
2nd prototype - weird things happen ( designed pcb)
I attached below all the data I find usefull
Ps: I found that I inverted RX and TX pins. So I had to upload the code to ATMEGA328P before soldering in PCB, otherwise, it would be impossible to get the sketch uploaded to the board.
I did some experiences.
I took CH340G chip away and the board remains with the same problem. So, it couldn´t be RX and TX inverted pins the problem.
I also changed the power source cable and its source to a higher current. It remained the same.
I did a multimeter check in chip pins trying to find any bridge in chips legs. I found nothing.
Someone has any tip to begin with?