Gravity: Analog Liquid Level Sensor (FS-IR02)

Index: DFR-06612 EAN: 6959420910212

Photoelectric liquid's level sensor. It has high sensitivity without the need to use the mechanical parts. The probe withstands high temperature and high pressure.

Gravity: Analog Liquid Level Sensor (FS-IR02)
€6.91 tax excl.
Shipping in 24 hours
PayPal payment
Manufacturer: DFRobot
Compatibility: Arduino


Photoelectric liquid's level sensor. It has high sensitivity without the need to use the mechanical parts. The probe withstands high temperature and high pressure. It works withthe Arduino modules. The kit includes a cable adapted to Gravity DFRobot IO Expansion Shield.

DFRobot Gravity - czujnik poziomu cieczy FS-IR02 - fotoelektryczny, cyfrowy

The product is compatible with Arduino

Sample code and detailed information can be found inthe user guide.


The module works with any microcontroller with digital inputs, includingArduino. To read data, simply connect the power supply and output pin to any input of the microcontroller, and read its status.


Example of connecting the sensor withArduino.


Do not install the probe near the bright lights, or directly in sunlight, as it will lead to interference.


  • Model: FS-IR02
  • Type: photoelectric liquid level sensor
  • Supply voltage: 5 V
  • Output current: 12 mA
  • Operating temperature: -25°C to 105°C
  • Output of the low status: less than 0.1 V
  • Output of the high status: 4.6 V
  • The accuracy of liquid's level measurement: +/- 0.5 mm
  • Material: polycarbonate
  • Range of measuring: no restrictions
  • Cable length: 450 mm
  • Communications: digital signal 0/1
  • Cable for connection with Gravity DFRobot IO Expansion Shield
  • The dimensions of the board: 28 x 28 mm

Set includes:

  • The main module
  • Probe
  • Connecting cable


Package width 11 cm
Package height 2.6 cm
Package depth 9 cm
Package weight 0.03 kg



Question: The sensor detects the liquid level only 0.1 or does it "see" what the distance to the liquid is?
Answer: The sensor only shows a 0/1 condition after contact with liquid.

Product reviews

Gravity: Analog Liquid Level Sensor (FS-IR02)


Average grade


Customers opinion
The following opinions are collected
and verified by
an external partner Trustmate
and come from the post-purchase process.
Marek 05.06.2024 Confirmed purchase Translated review
The sensor is functional. The cable could be at least 1.5m but it is ok. I recommend it.
Karel 08.09.2023 Confirmed purchase Translated review
it works, great
Sławomir 26.06.2023 Confirmed purchase Translated review
It works reliably. Very easy to assemble. However, it is not a sensor for eternity. The manufacturer declares the lifetime of the sensor at 50,000 hours. It lasted about 5 years for me. I bought another.
Krzysztof 07.03.2023 Confirmed purchase Translated review
quickly efficiently
Bogdan C. 29.04.2022 Confirmed purchase Translated review
very good
Andrzej Z. 25.10.2021 Confirmed purchase Translated review
Good product
Jürgen 19.03.2023 Confirmed purchase

Customers who bought this product also bought:

Products from the same category: