Analog Electrical Conductivity Sensor K=1 FAQ【DFR0300】
Q1:How long do probes need to be calibrated?
A1: The calibration interval is determined by the frequency of use. Normally, you can calibrate it once a month. If used frequently, it can be calibrated once a week. When calibrating, fresh standard buffer solution is recommended.
Q2:How to achieve automatic temperature compensation?
A2:The temperature compensation algorithm has been integrated in the DFRobot_EC library.You only need to transfer the voltage and temperature to float readEC (float voltage, float temperature) at the same time, to obtain the electrical conductivity with temperature compensation.
Q3:During the calibration, is it necessary to complete two points calibration? Can I complete only one point calibration?
A3:The two points calibration must be completed because the two points respectively correspond to standard buffer solution 1413us/cm and 12.88ms/cm. The two points calibration ensure the accuracy of the entire measurement range. Therefore, two points calibration must be completed.
Q4:During the first calibration, the calibration always failed. /The sensor always reads NAN the first time it is used, What could be the reason?
A4:When calibrating, the relevant parameters are stored in the specified position in EEPROM. If other data previously saved in the same position in EEPROM, there may be a conflict, resulting in an inability to calibrate properly. Use the following code to erase the contents in the specified position in EEPROM. Run it once, then upload the sample code again to restart the calibration. Different From DFR0300-H’s program.
————————————————————————————————————————————————————————————————
/*
This code will reset the corresponding EEPROM used by DFRobot Gravity EC Meter K=1. SKU:DFR0300
When uploaded this code, please open the serial monitor of the Ardino IDE. The correct value of the EEPROM block should be 255.
*/
#include <EEPROM.h>
#define ECADDR 0x0A
void setup()
{
Serial.begin(115200);
for(int i = 0;i < 8; i++ )
{
EEPROM.write(ECADDR+i, 0xFF);// write defaullt value to the EEPROM
delay(10);
}
}
void loop()
{
static int a = 0, value = 0;
value = EEPROM.read(ECADDR+a);
Serial.print(ECADDR+a,HEX);
Serial.print(":");
Serial.print(value);// print the new value of EEPROM block used by EC meter. The correct is 255.
Serial.println();
delay(10);
a = a + 1;
if (a == 8)
while(1);
}
————————————————————————————————————————————————————————————————
Q5:Can this sensor measure for a long time?
A5:The electrode matched with this sensor is a laboratory-grade electrode, please do not put it in the liquid for a long time to measure, otherwise the service life of the electrode will be shortened.
Q6:The sensor does not read or the reading is inaccurate.
A6:
1. Please check your sensor version and select the correct Wiki (the library file code of K=1 and K=10 version sensors are different);
2. Please clear the epprom of the board and re-upload the Wiki sample code and calibrate;
3. Please use a hot hair dryer to heat the adapter board and re-measure to exclude the influence of moisture on the sensor.
4. If the above method still cannot be used normally, please contact our email address:[email protected]
If you have other questions, just feel free to post them in our forum for consultation. We will reply them as soon as possible and improve the product FAQ gradually.