I've set up my Arduino with a potentiometer connected to the A0 pin and then just two stripped wires connected to the potentiometer. The idea (which I'm seeing) is that the signal changes when this is dipped into water as it completes the circuit.
Does anyone know what property I'm actually measuring? I know this is a super stupid question but I'm having trouble finding a definitive answer online.
Voltage. The internal A/D (Analog to Digital converter) is converting voltage to a digital number. I am assuming the outside terminals are connected to Positive and Ground. If connected that way you should get a reading from 0 to 1023.
I don't think so
It looks like you have some kind of module with an opamp or comparator on it.
What is that module?
You are probably reading some offset voltage of that circuit.
It is not an arbitrary number but it is not volts either. Your reference probably 5V is broken into 1023 steps. so 1023/5 = 204 steps per volt. Internally You can check the MAP function, it only works with integers but will do the work of converting to voltage. There are many volt meter projects on line for the Arduino, they will have the code etc you need. This link should fill in many of the missing parts. https://www.electronics-tutorials.ws/combination/analogue-to-digital-converter.html
Then the property you are measuring is resistance. If you put it in water, then you are measuring the resistance of water.
The potentiometer has no effect on the analog output (AO) it only changes the trigger level of the digital output (DO)
Ohhh I see okay thank you! I'll take the potentiometer then since it's not doing anything. Does the units of this measurement follow the same rationale as what's been suggested above or is it directly measuring in ohms? Thank you so so much for your help!!