Selected:

Analog TDS Sensor Module (Code58312)

685.00EGP

Analog TDS Sensor Module (Code58312)

685.00EGP

متوفر في المخزون

Add to Wishlist
Add to Wishlist
التصنيفات: ,

الوصف

TDS Meter V1.0 Board module Water Meter Filter Measuring Water Quality for R3
Product introduction
This equipment can be used for the measurement of general household water quality.
Generally, the tap water TDS is within 100 (about 90 in Shenzhen) and the purified water is within 10.
The Ar-compatible TDS sensor is used to measure the TDS value of water. The TDS value can reflect the cleanliness of water and can be applied to water quality testing in the fields of domestic water and hydroponics.
TDS (Total Dissolved Solids): Indicates how many milligrams of dissolved solids are dissolved in 1 liter of water. In general, the higher the TDS value, the more lysate is contained in the water and the more unclean the water. Therefore, the size of the TDS can be used as one of the basis for reflecting the cleanliness of the water.
The commonly used TDS testing equipment is a TDS pen. Although it is inexpensive and easy to use, it cannot transmit data to the control system, do long-term online monitoring, and analyze the water quality. Using a special instrument, although the data can be transmitted, the accuracy is high, but the price is very expensive. To this end, we have specially introduced this Ar-compatible TDS sensor, which can be used to measure the TDS value of water after connecting to the Ar controller.
Designed for Ar, this product is plug and play and easy to use. The wide voltage supply of 3.3~5.5V and the analog signal output of 0~2.3V make this product compatible with 5V, 3.3V control system, which can be easily used in the ready-made control system. The excitation source used for measurement uses an AC signal, which can effectively prevent probe polarization, extend probe life, and increase the stability of the output signal. The TDS probe is a waterproof probe that can be immersed in water for long periods of time.
The product can be applied to water quality testing in the fields of domestic water, hydroponics and the like. With this sensor, you can easily DIY a TDS detector, and easily check the cleanliness of the water to make your water quality better.
Notice:
TDS probes cannot be used in water above 55 °C.
The TDS probe should not be placed too close to the edge of the container, as it will affect the display.
The head and lead of the TDS probe are waterproof and can be immersed in water, but the connection interface and the signal adapter board are not waterproof. Please pay attention to use.
Features
1. Wide voltage operation: 3.3~5.5V
2. 0~2.3V analog signal output, compatible with 5V, 3.3V two control systems
3. The excitation source is an AC signal, effectively preventing probe polarization
4. Waterproof probe for long-term immersion in water
5. Ar compatible, easy to connect, plug and play, no soldering required
Technical specifications
Signal adapter board:
Input voltage: 3.3~5.5V
Output signal: 0~2.3V
Working current: 3~6mA
TDS measurement range: 0~1000ppm
TDS measurement accuracy: ±10% F.S. (25°C)
Size: 42*32mm
Module interface: XH2.54-3P
Electrode interface: XH2.54-2P
TDS probe:
Number of probes: 2
Overall length: 83cm
Connection interface: XH2.54-2P
Color: White
Other: Waterproof probe
Package included:
1 * TDS signal adapter board
1 * Waterproof TDS probe
1 * Analog sensor line
—————————
Ar Source Code
#define TdsSensorPin A1
#define kValue 1.8 //kValue = Calibrator TDS value/measurement to get TDS
#define VREF 5.0 // analog reference voltage(Volt) of the ADC
#define SCOUNT 30 // sum of sample point
int analogBuffer[SCOUNT]; // store the analog value in the array, read from ADC
int analogBufferTemp[SCOUNT];
int analogBufferIndex = 0,copyIndex = 0;
float averageVoltage = 0,tdsValue = 0,temperature = 25;
void setup()
{
Serial.begin(115200);
pinMode(TdsSensorPin,INPUT);
}
void loop()
{
static unsigned long analogSampleTimepoint = millis();
if(millis()-analogSampleTimepoint|40U) //every 40 milliseconds,read the analog value from the ADC
{
analogSampleTimepoint = millis();
analogBuffer[analogBufferIndex] = analogRead(TdsSensorPin); //read the analog value and store into the buffer
analogBufferIndex++;
if(analogBufferIndex == SCOUNT)
analogBufferIndex = 0;
}
static unsigned long printTimepoint = millis();
if(millis()-printTimepoint|800U)
{
printTimepoint = millis();
for(copyIndex=0;copyIndex<SCOUNT;copyIndex++)
analogBufferTemp[copyIndex]= analogBuffer[copyIndex];
averageVoltage = getMedianNum(analogBufferTemp,SCOUNT) * (float)VREF / 1024.0; // read the analog value more stable by the median filtering algorithm, and convert to voltage value
float compensationCoefficient=1.0+0.02*(temperature-25.0); //temperature compensation formula: fFinalResult(25^C) = fFinalResult(current)/(1.0+0.02*(fTP-25.0));
float compensationVolatge=averageVoltage/compensationCoefficient; //temperature compensation
tdsValue=(133.42*compensationVolatge*compensationVolatge*compensationVolatge – 255.86*compensationVolatge*compensationVolatge + 857.39*compensationVolatge)*0.5*kValue; //convert voltage value to tds value
//Serial.print(“voltage:”);
//Serial.print(averageVoltage,2);
//Serial.print(“V “);
Serial.print(“TDS Value:”);
Serial.print(tdsValue,0);
Serial.println(“ppm”);
}
}
int getMedianNum(int bArray[], int iFilterLen)
{
int bTab[iFilterLen];
for (byte i = 0; i<iFilterLen; i++)
bTab[i] = bArray[i];
int i, j, bTemp;
for (j = 0; j < iFilterLen – 1; j++)
{
for (i = 0; i bTab[i + 1])
{
bTemp = bTab[i];
bTab[i] = bTab[i + 1];
bTab[i + 1] = bTemp;
}
}
}
if ((iFilterLen & 1)|0)
bTemp = bTab[(iFilterLen – 1) / 2];
else
bTemp = (bTab[iFilterLen / 2] + bTab[iFilterLen / 2 – 1]) / 2;
return bTemp;

المراجعات

لا توجد مراجعات بعد.

يسمح فقط للزبائن مسجلي الدخول الذين قاموا بشراء هذا المنتج ترك مراجعة.

Close Menu
×

Cart