I have a micro board attached to two separate buttons on a heat press. One wire on each of the buttons connect to A0 and A5, the other connects to a separate ground pin for each button. The buttons give off a constant 5v until pressed, they then drop to 0v. Heat press example:http://hotronix.com/heat-press/air-fusion-heat-press
My sketch is checking for voltage on the buttons, when there is no voltage, it sends a serial signal to the connected PC.
Everything works exactly as expected when the computer that the Arduino is connected to is turned on. But, If you unplug the Arduino from the computer, or you turn off the computer. The wires that connect to the Arduino to the heat press ground out to each other and cause the heat press to activate. Any ideas on how to keep the Arduino from grounding out these wires when not powered?