Currently working on a project to replace a control panel for a machine. The machine has 5 sensors and a button to run the selected mode, the LCD screen shows currently selected mode and has buttons I use to switch between modes. The 2 moving parts are controlled by switching relays. The arduino is a model Mega 2560 powered by external power of 9V 1000 mA. The memory during the check didn’t drop below 7000. The program seems to work fine but after a while it starts doing random stuff and resetting.
Edit: the relays are missing from the schematic since i am using a board with 2 relays (model SRD-05VDC-SL-C)
pultas.ino (4.6 KB)