I think you basically have a floating input and you're seeing random voltages. Longer wires would just increase that problem -- like a longer antenna. Add a high value resistor (~1 megaohm) between A0 and GND.
1 Like