I'm trying to create a touch sensor using an LM358. The schematic is as follows:
The Arduino itself is connected to power over USB. The "TOUCH" boxes are floating wires. The idea is that these will be connected to a piece of metal that can be used as a digital touch sensor. I got the design from https://www.instructables.com/Digital-Touch-Sensor-Using-LM358-1/.
I've tried this first connecting the output to a led. This works fine. If I set the POT just right, the led goes on and off depending on whether I touch the wire. However, if I connect it to an analog input of the Arduino Nano Every, it responds for a while, and then stops responding after a few attempts. Then after some time (a minute? a little bit less maybe), it starts responding again. It almost gives the impression the Arduino gets overloaded and protects itself, but I couldn't really find anything Google-ing for this.
I'm pretty new to electronics so I may just be missing some components. But I really don't know which ones. I'd be grateful for some help.
