Sensores Arduino

Produtos visualizados

Rain Water Level Sensor Ver maior

Rain Water Level Sensor


Novo produto

Liquid level sensors are used for all types of applications. They are extensively used within automobiles, which rely on a substantial amount of different fluids in order to operate to check for how much gas in the car, windshield washer fluid, oil levles.

Mais detalhes

4,92 € com IVA

Adicionar à Lista de desejos

Mais informação

Water Sensor water level sensor is an easy-to-use, cost-effective high level/drop recognition sensor, which is obtained by having a series of parallel wires exposed traces measured droplets/water volume in order to determine the water level.

Easy to complete water to analog signal conversion and output analog values can be directly read Arduino development board to achieve the level alarm effect.

  • Operating voltage: DC3.3-5.5V
  • Operating current: less than 20mA




As you can see from the above image, the sensor has a series of parallel wires across the board. These wires are what sense the liquid level that the board is exposed to.

If the board has water or another fluid covering all the wire, then it will output a maximum analog value reading. Since analog values read by an arduino range from 0 (lowest reading) to 1023 (highest reading), a board completely submerged with a liquid will have a reading of 1023 by an arduino.


/*Code for Liquid Level Sensor Circuit Built with an Arduino*/

const int sensorPin= 0; //sensor pin connected to analog pin A0
int liquid_level;

void setup() {

Serial.begin(9600); //sets the baud rate for data transfer in bits/second
pinMode(sensorPin, INPUT);//the liquid level sensor will be an input to the arduino


void loop() {

liquid_level= analogRead(sensorPin); //arduino reads the value from the liquid level sensor
Serial.println(liquid_level);//prints out liquid level sensor reading

delay(100);//delays 100ms


If the board is halfway covered, a reading of about 512 will be read by the arduino. If the board is 1/4 covered by a liquid, then the arduino will read about 256. And if no liquid is on it at all, then a near 0 reading should be obtained.

With our liquid level sensor and an arduino, there are a number of options of what we can do. We can use the sensor, simply, to read and output the analog value obtained.

Or we can create a type of alarm indicator status system. For example, we can have a green LED light up when the sensor is completely full (submerged to the top with fluid), indicating that it's full. We can have a red LED light up when the sensor's liquid level falls below 1/4 level, like how car dashboard LED indicators tell us when our gas tank goes below E (empty).


Clientes que compraram este produto também compraram: