Noob testing the analog pin
Posted: Sat Dec 31, 2016 5:24 pm
I am playing around with a NodeMCU and the Arduino soil moisture sensor. Hope this is the place to ventilate my questions...
When I hook everything up, but no connection to the A0 pin on the board and measure the output voltage of the sensor it goes from (almost) zero to 3,3V but when I then connect the output to the A0 pin and measure the voltage it only goes to 1,2V.
I have done some testing with a 1k potentiometer and the A0 seems to work between 0-3,3V (0-1023), even though the readings were a bit unstable...
I have confirmed the range with analogRead(A0) too
Anyone with a bigger brain that can direct me to the answer here?
The documentation and the information I have found regarding the analog pin seems all over the place...
When I hook everything up, but no connection to the A0 pin on the board and measure the output voltage of the sensor it goes from (almost) zero to 3,3V but when I then connect the output to the A0 pin and measure the voltage it only goes to 1,2V.
I have done some testing with a 1k potentiometer and the A0 seems to work between 0-3,3V (0-1023), even though the readings were a bit unstable...
I have confirmed the range with analogRead(A0) too
Anyone with a bigger brain that can direct me to the answer here?
The documentation and the information I have found regarding the analog pin seems all over the place...