SST Liquid Level Sensor

Description

sst-liquid-level
The SST Liquid Level Sensor provides single point liquid detection via a TTL compatible push/pull output. This optical liquid level sensor features a miniature design that allows for installation in areas where space is limited. Thanks to its minimal solid state design, this sensor has been built without moving or mechanical parts that can be jammed and stop working.
An infra-red LED and phototransistor accurately positioned at the base of the sensing tip ensure good optical coupling between the two when the sensor is in air. When the sensing tip is immersed in liquid, the infra-red light escapes from the cone, causing a change in the amount of light present at the phototransistor, which makes the output change state.

Features

  1. Supply Voltage: +4.5 Vdc to +15.4Vdc
  2. Output Current: 100mA
  3. Temperature Range: -25 to +80⁰C
  4. Polysulphone Housing Tip
  5. M12 threaded connector (mounted from outside)

Document:
Datasheet

Tags:
SST, Liquid, Level, Sensor

SST Liquid Level Sensor with Arduino

arduino-liquid-sensing
By using SST liquid level sensor we can detect the level of liquid via TTL compatible push-pull output. This sensor part is covered with robust material, it allows us to install in limited area of sensing.
An optical liquid level sensor uses an infra-red LED and phototransistor accurately positioned at the base of the sensor’s tip. When the tip is air, infra-red light reflects internally round the tip to the phototransistor providing good optical coupling between the two. When the sensor’s tip is immersed in liquid, the infra-red light escapes from the tip causing a change in the amount of light at the photo-transistor which makes the output change state. (Source:SST Application note )

Position of Senso

liquid-sensor-position-300x186
sst-liquid-sensor-position-300x199

Arduino SST Liquid sensor Interface

arduino-sst-liquid-sensor
Connect sensors Vcc and Gnd pins to the power pins of arduino and connect output pin of sensor to arduino digital pin 7. Make sure the position of sensor to sense the level of liquid.

Pin out of SST Liquid sensor

RED Vs
GREEN OUTPUT
BLUE 0V

pdf-icon-250x250
SST Liquid sensor Data sheet
(http://www.mgsuperlabs.co.in/)

Arduino Code

// Liquid level detection using an SST sensor
//
// When a liquid touches the tip of the sensor,
// an LED at pin 13 turns on.
// 
// Hardware:
//     Sensor    | Arduino
//  -------------|---------
//    Vs (RED)   |    5V
//   Out (GREEN) |   pin 7
//   GND (BLUE)  |    GND

// Pins
const int LIQUID_SENSOR_PIN = 7;
const int LED_PIN = 13;

void setup() { 
  pinMode(LIQUID_SENSOR_PIN, INPUT);
  pinMode(LED_PIN, OUTPUT);
  digitalWrite(LED_PIN, LOW);
}

void loop() {

  // Read sensor. If liquid touches the tip, the sensor will 
  // read 0V. Turn on LED if liquid is present.
  int isDry = digitalRead(LIQUID_SENSOR_PIN);
  if ( isDry ) {
    digitalWrite(LED_PIN, LOW);
  } else {
    digitalWrite(LED_PIN, HIGH);
  }

  delay(200);
}

Arduino Code for sst liquid sensor