A float sensor, manufactured by R.M ENTERPRISE with part ID SENSOR, is a device designed to detect the level of liquid within a tank or container. It operates using a buoyant float that moves with the liquid level, triggering a switch or sending a signal when a predefined level is reached. This simple yet effective mechanism makes it a reliable choice for liquid level monitoring.
The following table outlines the key technical details of the float sensor:
Parameter | Specification |
---|---|
Manufacturer | R.M ENTERPRISE |
Part ID | SENSOR |
Operating Voltage | 5V to 24V DC |
Maximum Current Rating | 500mA |
Contact Type | Normally Open (NO) or Normally Closed (NC) |
Material | Polypropylene (PP) |
Operating Temperature | -10°C to 85°C |
Cable Length | 1 meter |
Float Diameter | 28mm |
Liquid Compatibility | Water, oil, and non-corrosive liquids |
The float sensor typically has two wires for connection. The table below describes the pinout:
Wire Color | Description |
---|---|
Red | Positive terminal (connect to VCC) |
Black | Negative terminal (connect to GND) |
Wiring the Sensor:
Circuit Example:
Arduino UNO Example Code: Below is an example of how to use the float sensor with an Arduino UNO to monitor water levels:
// Float Sensor Example Code
// Connect the float sensor output to Arduino digital pin 2
const int floatSensorPin = 2; // Pin connected to the float sensor
const int ledPin = 13; // Built-in LED for status indication
void setup() {
pinMode(floatSensorPin, INPUT); // Set the float sensor pin as input
pinMode(ledPin, OUTPUT); // Set the LED pin as output
Serial.begin(9600); // Initialize serial communication
}
void loop() {
int sensorState = digitalRead(floatSensorPin); // Read the sensor state
if (sensorState == HIGH) {
// Liquid level is below the threshold
digitalWrite(ledPin, HIGH); // Turn on the LED
Serial.println("Liquid level is low!");
} else {
// Liquid level is above the threshold
digitalWrite(ledPin, LOW); // Turn off the LED
Serial.println("Liquid level is sufficient.");
}
delay(1000); // Wait for 1 second before reading again
}
Sensor Not Responding:
False Triggering:
Sensor Fails in Liquid:
Microcontroller Not Detecting Sensor State:
Q1: Can the float sensor be used with AC voltage?
A1: No, the float sensor is designed for DC voltage only. Using it with AC voltage may damage the sensor.
Q2: How do I switch between Normally Open (NO) and Normally Closed (NC) modes?
A2: Some float sensors allow switching between NO and NC by inverting the float orientation. Refer to the specific sensor's datasheet for details.
Q3: Can the sensor detect multiple liquid levels?
A3: No, a single float sensor detects one liquid level. For multiple levels, use multiple sensors or a multi-level sensor.
Q4: Is the sensor waterproof?
A4: Yes, the sensor is designed to be waterproof and operate in liquid environments.
By following this documentation, users can effectively integrate the R.M ENTERPRISE float sensor (part ID SENSOR) into their projects for reliable liquid level monitoring.