Hope I'm posting in the right area lol ....
Ok, I have a Mega 2560 and interfacing with the sensors is not a problem. That's all done working and displaying on a LCD accordingly.
In the same project box I have a 120VAC plug terminating onto a "distribution block" which than connects to a pair of Neutrik PowerCon receptacles but is being controlled by a pair of toggle switches which is rated for the amount of AMPs I'm putting through them, about 1.5A per switch.
Should the 120VAC affect the performance of the Mega? Or could it cause it to just "not work" randomly when the switches are flipped on or off?
My issue is when we toggle the power on or off fairly quickly (within about 5 seconds) sometimes the Mega will just display a blank LCD and seem to not work. Which requires either pressing the reset button or unplugging the wall wart and plugging it back in.
The 120VAC never touches the Mega directly nor does the Mega control the power, it's simply there to read the temp sensors and display on the LCD and happens to be in the same enclosure. To close to each other perhaps?
The only common point the two (mains and Mega) have is they are using the same power strip for power. Any suggestions or ideas would be MUCH appreciated as this is quite puzzling to me.