Project showcase
Basic Water Sensor

Basic Water Sensor

Very basic and quick usage of a water sensor.

  • 22,042 views
  • 1 comment
  • 6 respects

Components and supplies

About this project

Hi there.

This project is very basic. Anyone can do it.

void setup(){
Serial.begin(9600);     // Communication started with 9600 baud
}
void loop(){
int sensor=analogRead(A1); // Incoming analog signal read and appointed sensor
Serial.println(sensor);   //Wrote serial port
}

Let's prepare the circuit.

The water sensor has 3 output pins. These:

  • S this output goes to any analog signal on Arduino
  • + this output goes to 5v
  • - this output goes to GND

Visit omer.beden.net for other projects (Turkish language).

Code

Code snippet #1Arduino
void setup(){
Serial.begin(9600);     // Communication started with 9600 baud
}
void loop(){
int sensor=analogRead(A1); // Incoming analog signal read and appointed sensor
Serial.println(sensor);   //Wrote serial port
}

Comments

Similar projects you might like

How To Use DS18B20 Water Proof Temperature Sensor

Project showcase by Team IoTBoys

  • 35,462 views
  • 11 comments
  • 15 respects

All About Water Systems: Ultrasonic/WaterFlow/Rain Sensor

Project showcase by willy

  • 2,674 views
  • 1 comment
  • 8 respects

Easy IOT Water Leakage Indicator

Project tutorial by Patel Darshil

  • 9,182 views
  • 2 comments
  • 13 respects

Motion Sensor Water Gun

Project tutorial by Team Engineering Is Easy

  • 11,894 views
  • 3 comments
  • 24 respects

Arduino-Based Automatic Water Tap Using IR Sensor

Project tutorial by Team Creatjet3D R&D Team

  • 5,744 views
  • 6 comments
  • 19 respects

Arduino - Have Fun with Color Sensor

Project tutorial by khanhhs

  • 6,315 views
  • 2 comments
  • 37 respects
Add projectSign up / Login