กลับไปหน้ารวมไฟล์
water-sensor-basic-13d33f-en.md

After done Connecting And Coding Open The Serial Monitor and just place a litlle water at the water sensor.

Project Introduction

The "Water Sensor Basic" is an entry-level environmental monitoring project that introduces the concept of Resistive Sensing. This device can detect the presence of water, its level, or even its relative purity. It’s an essential building block for leak detectors, automated irrigation systems, and flood alert devices.

Hardware Infrastructure

  • Arduino UNO: The main controller that reads the analog sensor data.
  • Water Sensor Module: This sensor consists of a series of conductive traces. When water touches these traces, it creates an electrical bridge between them, which the Arduino can measure.
  • USB Cable: Connects the Arduino to a computer to view the live sensor readings through the Serial Monitor.

Working Principle: Resistive Sensing

This project relies on the conductivity of water:

  1. Resistive Bridge: The sensor acts as a variable resistor. When it is dry, the electrical resistance between the traces is extremely high (infinity).
  2. Conductive Pathway: When water is applied to the sensor, it creates a conductive path between the positive and ground traces.
  3. Analog Reading: The Arduino uses analogRead() to measure the voltage across this bridge. The more water that covers the sensor, the lower the resistance and the higher the analog value (closer to 1023) the Arduino will read.
  4. Calibration: You can calibrate your code to set specific thresholds (e.g., "Dry," "Damp," "Flooded") based on the numerical values observed in the Serial Monitor.

Practical Learning and Next Steps

Building this project teaches you about Dividing Voltage and Analog-to-Digital Conversion (ADC). Once you have the basic detection working, you can easily expand it by adding a Piezo Buzzer to create an audible flood alarm or even a Relay Module to automatically shut off a water valve if a leak is detected.

ข้อมูล Frontmatter ดั้งเดิม

title: "Water Sensor Basic"
description: "Check your water temperature with this project."
author: "daryllqayyim"
category: ""
tags:
  - "monitoring"
views: 35895
likes: 4
price: 299
difficulty: "Easy"
components:
  - "1x Water Sensor"
  - "1x Male/Female Jumper Wires"
  - "1x Arduino UNO"
tools: []
apps:
  - "1x Arduino IDE"
downloadableFiles: []
documentationLinks: []
passwordHash: "2a455054813be369858082e5e2e9a4f10b1e422f33102d1f540e98bbbd331ffc"
encryptedPayload: "U2FsdGVkX1/aQyEXVurxtvUgGf0WSrS+TprSk49nybOKL0IQvVGeQdxtV3b6p+5+IFFv7xpQwcf/P0vH7PPBihwuL5MepqVskxcelMIUvaU="
seoDescription: "Learn how to measure water temperature with this basic Water Sensor project for Arduino."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/water-sensor-basic-13d33f_cover.jpg"
lang: "en"