The Probe EC Sensor is a device designed to measure the electrical conductivity (EC) of a solution. Electrical conductivity is a key parameter in assessing the quality of water and is widely used in applications such as hydroponics, aquaponics, and general water quality testing. By measuring the EC, users can determine the concentration of dissolved salts and other conductive substances in the solution, which is crucial for maintaining optimal conditions in various environments.
Parameter | Value |
---|---|
Operating Voltage | 3.3V - 5V |
Operating Current | < 10mA |
Measurement Range | 0 - 20 mS/cm |
Accuracy | ± 2% |
Temperature Range | 0°C - 60°C |
Output Type | Analog |
Pin Number | Pin Name | Description |
---|---|---|
1 | VCC | Power supply (3.3V - 5V) |
2 | GND | Ground |
3 | AOUT | Analog output signal proportional to EC value |
4 | TEMP | Temperature sensor output (optional) |
VCC (Sensor) ----> 5V (Arduino)
GND (Sensor) ----> GND (Arduino)
AOUT (Sensor) ----> A0 (Arduino)
TEMP (Sensor) ----> A1 (Arduino) (if applicable)
// Sample code to read EC values from the Probe EC Sensor
const int ecPin = A0; // Analog pin connected to AOUT
const int tempPin = A1; // Analog pin connected to TEMP (if applicable)
void setup() {
Serial.begin(9600); // Initialize serial communication
}
void loop() {
int ecValue = analogRead(ecPin); // Read the analog value from the EC sensor
float voltage = ecValue * (5.0 / 1023.0); // Convert the analog value to voltage
float ec = voltage * 1000; // Convert voltage to EC value (example conversion)
Serial.print("EC Value: ");
Serial.print(ec);
Serial.println(" mS/cm");
// If temperature compensation is needed
int tempValue = analogRead(tempPin); // Read the analog value from the TEMP sensor
float temperature = tempValue * (5.0 / 1023.0) * 100; // Convert to temperature
Serial.print("Temperature: ");
Serial.print(temperature);
Serial.println(" °C");
delay(1000); // Wait for 1 second before the next reading
}
Inaccurate Readings:
No Output Signal:
Fluctuating Readings:
Temperature Compensation Not Working:
Q: How often should I calibrate the EC sensor?
Q: Can I use the EC sensor in high-temperature solutions?
Q: How do I clean the EC sensor?
By following this documentation, users can effectively utilize the Probe EC Sensor in their projects, ensuring accurate and reliable measurements of electrical conductivity in various solutions.