Moderator: igrr
@ErikLem
If you are planning to measure soil moisture contents, then consider capacitive sensor like you found. The simple resistive sensor you have, will be measuring water conductivity rather than the soil moisture contents.
Good luck with your project!
Krzysztof
martinayotte wrote:Yes, simple voltage divider should do the trick.
Mr. Martinayotte may I ask for help as to how to read analog inputs using arduino IDE and esp-1 as the board. I would like to use gpio 2 as the analog input pin. is it possilble? thank you.