I made my own wearable flexible sensor (flexible resistor) but I connected a 10k (1M)resistor and 5v and wanted to take a reading of the resistance of this resistor but the arduino analog inputs are like floating pins but the connection is correct
Hint: The A/D works best with an input impedance of 10K or less. If you must use a higher resistance, you should add a capacitor to the input pin of the A/D for better performance.
Do you have 2 homemade resistors?
The values in your printout move together. Which makes me think your vcc is not stable.
How do you power your setup?
What else is connected?
I dont know if you have seen the results of my tests with a 500M resistor that show the "10k" is only relevant if you are measuring signals that change VERY fast.
and the results of my test with a step wave. The x axis is 1 unit = 20 usec.
The Y axis is raw ADC value (the step wave from the D6 output is attenuated so the max ADC reading is a bit less than 1024)
To be honest, I do not understand this whole issue about resistors if 10k or 500M. The resistor should be around the same value as the 'sensor' resistor...
hi my own res can change from several k to several m ohms,so i just try which range res can work better. i try the method u provide, it s still not work.
@fanfanfan99 Is there a language issue here? By "own flexible res", are you really saying "my own variable res", referring to the resistance of your body?