Page 1 of 1

analogRead reading 0 when using esp32 as power source.

Posted: Sat Aug 18, 2018 3:26 pm
by physyx
Hi.

I have an ESP32 DEV from DOIT and i'm trying to read soil moisture with this sensor.

When i power the sensor with 3.3 volts from ESP32 board it constantly reads 0.

I tried to supply power from an external power to the sensor from an arduino UNO board but the readings are very unstable. It get worse when powering the arduino board with external power instead of USB cable.

Can you help me to understand why i'm reading only 0 when powering from ESP32 board?

In my code i'm just running analogRead(36) because the sensor is plugged in VP pin.