0-4 meters
0-4 meters
0.1 cm
1% FS
Analog (0-5V)
5V DC
<5mA
-20C to 80C
-40C to 100C
1 meter
Stainless Steel
PVC
Applications
The High Sensitivity Water Level Sensor is suitable for a wide range of applications, including |
Monitoring water levels in industrial processes and systems.
Monitoring water levels in rivers, lakes, and reservoirs.
Monitoring water levels in irrigation systems and livestock watering systems.
Monitoring water levels in tanks and reservoirs in residential applications.
Integrating with Arduino boards for water level monitoring and automation projects.
Certifications and Compliance
Complies with EU health, safety, and environmental protection standards.
Complies with Restriction of Hazardous Substances in electrical and electronic equipment.
ISO 9001 | 2015: Complies with quality management system standards. |
High Sensitivity Water Level Sensor Compatible with Arduino
Overview
The High Sensitivity Water Level Sensor is a reliable and precise sensor designed to measure the water level in tanks, reservoirs, and other containers. It is compatible with Arduino boards and provides an analog output signal that corresponds to the water level. This sensor is ideal for various applications, including industrial automation, agricultural monitoring, and home automation.
Technical Specifications
Operating Voltage: 5V
Operating Current: 20mA
Sensing Range: 0-100% water level
Output Signal: Analog (0-5V)
Accuracy: 1% of full scale
Response Time: < 1 second
Connector Type: 3-pin (VCC, GND, OUT)
Pinout
VCC: 5V power supply
GND: Ground connection
OUT: Analog output signal
Arduino Library and Example Code
The High Sensitivity Water Level Sensor is compatible with the Arduino platform, and a dedicated library is available to simplify the integration process.
Example 1: Basic Water Level Measurement
This example demonstrates how to read the water level measurement using the High Sensitivity Water Level Sensor with an Arduino Uno board.
```c++
#include <WaterLevelSensor.h>
// Initialize the water level sensor
WaterLevelSensor waterLevelSensor(A0);
void setup() {
Serial.begin(9600);
}
void loop() {
// Read the water level measurement
int waterLevel = waterLevelSensor.readWaterLevel();
// Print the water level measurement to the serial monitor
Serial.print("Water Level: ");
Serial.print(waterLevel);
Serial.println(" %");
delay(1000);
}
```
Example 2: Automated Water Pump Control
This example demonstrates how to use the High Sensitivity Water Level Sensor with an Arduino Uno board to control a water pump automatically.
```c++
#include <WaterLevelSensor.h>
// Initialize the water level sensor
WaterLevelSensor waterLevelSensor(A0);
// Initialize the relay module for the water pump
const int relayPin = 2;
void setup() {
Serial.begin(9600);
pinMode(relayPin, OUTPUT);
}
void loop() {
// Read the water level measurement
int waterLevel = waterLevelSensor.readWaterLevel();
// Check if the water level is below the minimum threshold
if (waterLevel < 20) {
// Turn on the water pump
digitalWrite(relayPin, HIGH);
Serial.println("Water Pump: ON");
} else {
// Turn off the water pump
digitalWrite(relayPin, LOW);
Serial.println("Water Pump: OFF");
}
delay(1000);
}
```
Example 3: IoT-based Water Level Monitoring
This example demonstrates how to use the High Sensitivity Water Level Sensor with an Arduino Uno board and an ESP8266 Wi-Fi module to send water level data to a remote server using HTTP requests.
```c++
#include <WaterLevelSensor.h>
#include <WiFi.h>
#include <HTTPClient.h>
// Initialize the water level sensor
WaterLevelSensor waterLevelSensor(A0);
// Initialize the Wi-Fi module
const char ssid = "your_wifi_ssid";
const char password = "your_wifi_password";
// Initialize the HTTP client
HTTPClient http;
void setup() {
Serial.begin(9600);
// Connect to Wi-Fi
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(1000);
Serial.println("Connecting to Wi-Fi...");
}
Serial.println("Connected to Wi-Fi");
Serial.println("Initializing HTTP client...");
}
void loop() {
// Read the water level measurement
int waterLevel = waterLevelSensor.readWaterLevel();
// Create a JSON object to store the water level data
String jsonData = "{""water_level"":""" + String(waterLevel) + """}";
// Send the water level data to the remote server using HTTP requests
http.begin("http://your_remote_server.com/upload_data");
http.addHeader("Content-Type", "application/json");
int responseCode = http.POST(jsonData);
http.end();
Serial.print("Water Level: ");
Serial.print(waterLevel);
Serial.println(" %");
Serial.println("Data sent to remote server...");
delay(10000);
}
```
Note: In the above examples, replace the placeholder values (`your_wifi_ssid`, `your_wifi_password`, and `http://your_remote_server.com/upload_data`) with your actual Wi-Fi credentials and remote server URL.