EnviroDIY / ModularSensors

An Arduino library to give environmental sensors a common interface of functions for use with Arduino-framework dataloggers, such as the EnviroDIY Mayfly.
https://envirodiy.github.io/ModularSensors/
Other
81 stars 48 forks source link

Develop wrapper for Meter Teros 11 Soil Moisture Sensors #276

Closed aufdenkampe closed 1 year ago

aufdenkampe commented 5 years ago

The Meter Group purchased Decagon about a year ago, and just recently stopped selling the 5TM soil moisture sensor, replacing it with the Teros 11 Soil Moisture + Temperature sensor, which uses a more robust construction design that Decagon had been piloting.

Unfortunately @Volk3rJ discovered that the SDI-12 commands are no longer the same. These differences include:

  1. A change in the sensor response, where the Teros 11 gives raw counts rather than EA values as 1st of 2 returned variables. See https://github.com/LimnoTech/EnviroDIY_deployments/commit/23a6f688ae6edadf3a5e91030296bd79364fc9c4
  2. A change in the SDI-12 timing, which gives lots of errors when more than one Teros 11 sensor is attached to the same Mayfly.

@Volk3rJ partially solved #2 by placing the sensor-variables as far apart as possible in the variables array. He also noticed some hints of these differences in the TEROS 11/12 INTEGRATOR GUIDE and the TEROS 11/12 USER MANUAL.

aufdenkampe commented 2 years ago

@SRGDamia1, thank you so much for issuing release v0.32.2! https://github.com/EnviroDIY/ModularSensors/releases/tag/v0.32.2

It looks like you addressed many if not all the issues I raised here! Thank you!

I understand that your time is limited. I will let you know when I am able to test it all out.

aufdenkampe commented 1 year ago

The Teros 11 sensors are working well as far as I know. I should have closed this a while ago!

aufdenkampe commented 1 year ago

It's possible that there is still a bug in this implementation. See: