How to use SDI-12 in MKR WIFI 1010

Welcome to the forum.

Please have a look at:

Here are a few things that might be useful to know in order to help you:

  • link to sensor data sheet
  • schematic of your circuit, from Wikipedia it sounds like the SDI-12 specifies voltage levels that may need some level shifting
  • do you have an oscilloscope to look at the signals?
  • please show us your example code (use code tags, click </> before inserting your code)
  • what are your electronics skills in general e.g., are you just new to Arduino or electronics overall

Just out of curiosity, why did you choose that sensor? There are others that support SPI and I2C which are supported by hardware and libraries.