@rudi15 said in Earth sensor:


I am a newbie to M5stack and want to use the Earth sensor to display moisture values. I followed the instructions as outlined in this video by exactly rebuilding the respective code: https://www.youtube.com/watch?v=rYi8XLe3X_c

The device now does show data, but it is constantly above 1000 even when just laying on my desk without any contact to water (up to the maximum of 1024 which, as far as I understand, indicates that the sensor detects water (fully wet)). When I put the senor into water, the readings do not change they stay above 1000.

Any idea what I did wrong?

20240522_153156.jpg 20240522_153502.jpg

It wont work as the RED Port is PortA I2C, you need to connect it to a Black Port B or use a PBhub to convert to I2C