Open IManux opened 5 years ago
Hi, Coul you try to call void getData(float retVal[]); with float[4] it rerurns all values per one call. Could you give reading of e25 in water? If you calibrated it in air and water it should be 80 in water and about 1 in air. So for calibration did tou called air calibration holding sensor in air and water calibration function by submerging in water?
We gave also updated darasheed regarding VWC reading. It should be calculared from e25 by new equition. Regards, Edgar
Hi @datatoi using the function getData or not, I get this values with the sensor inside water: e25=1.17 ec=0.00 temp=21.46 vwc=0.00
I have repeated the calibration and I get the same wrong values, not matter if I reset the board or read the sensor several times, I get the same value wrong.
Regards Manux
Hi, Please tell how exectly did you calibrated. You need to hold in air and in same time call calibrateAir(), then submerge in water an at same time call calubrateWater() function.
Regards, Edgar
We are following your indication and get the same values wrong. we are not using the resistors pull-up to communication I2C and the large cable is 45cms, Is that the problem?
Regards Manux
Hi, If you are getting response, then pullups and cable is not a problem. There are something wrong with the calibration... Looks like it for air is calibrated like for water, because it shows zero e25 and vwc. Like calculation would be negative, in this case it returns zero like your sensor...
Regards, Edgars
On Tue, Mar 19, 2019, 22:34 IManux notifications@github.com wrote:
We are following your indication and get the same values wrong. we are not using the resistors pull-up to communication I2C and the large cable is 45cms, Is that the problem?
Regards Manux
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tinovi/i2cArduino/issues/2#issuecomment-474572463, or mute the thread https://github.com/notifications/unsubscribe-auth/AOkR4A78f1Gph-ztDBfDQPByMd3p1uW6ks5vYUncgaJpZM4b4k4- .
Hi, There are some command to set the default values? When we receive the sensor we upload the sketch and start to receive values, but after we make the calibration then the problems began.
We will make the calibration today again:
Regards Manux
Hi, no, unfotunately there are no command to reset device,
regards, Edgar
Hi! we are using your I2C Soil Moisture and we are getting reading wrong. example: we have the sensor into water and get the value 25 by VWC [getVWC()] but temperature that we get looks correct [getTemp()].
Note1: We are not using resistors pull-up (by I2C) and cable is 45 cms now. Note2: We made the calibration air and water, following the documentation in: https://tinovi.com/soil-moisture-sensors/ Note3: When doing EC calibration we entered wrong EC, can that be the reason? Note4: We are using arduino mkr 1300 with 3.3V (all work with 3.3V, logic lvl too).
I hope your answer.
Regards