กลับไปหน้ารวมไฟล์
water-level-sensor-diy-ff331f.md

When the water level is low, the LED changes to yellow and flash every second.

When the water level is high, the LED changes to green.

When the water level is very low, the LED change to red.


🛠️ เจาะลึกเบื้องหลังการทำงาน (Deep Dive / Technical Analysis)

The Water Level Sensor is a rugged and useful tool for any maker interested in home automation or ecology. It’s designed to detect everything from a few drops of rain to the depth of a water container.

How It Works

The sensor has a series of exposed copper traces. When water touches these traces, it acts as a conductor, completing a circuit and changing the resistance between the power and signal pins. The Arduino reads this change as an analog value (0-1023).

  • Dry: Low conductivity, high resistance.
  • Wet: High conductivity, low resistance (higher analog value).

Typical Uses

  • Rain Alarm: Placing the sensor outside to notify you when it starts raining.
  • Leak Detector: Placing it under a kitchen sink or washing machine to alert you to leaks.
  • Auto-Fill Systems: Measuring the level in a pet bowl or a plant reservoir.

Hardware Components

  • Arduino Uno/Nano: To read the analog signals.
  • Water Level Sensor Module: The primary hardware.
  • Piezo Buzzer: For audio alerts.
  • LEDs: For visual status monitoring.

It’s a simple but vital project that helps protect your home from water damage through the power of affordable electronics.

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

title: "Water level sensor DIY"
description: "Using wires and resistors to make water level sensor. Water level sensor can detect low water level, high water level, and normal level."
author: "happyheart32"
category: ""
tags:
  - "data collection"
  - "plants"
  - "monitoring"
views: 6331
likes: 1
price: 1499
difficulty: "Intermediate"
components:
  - "1x Resistor 4.75k ohm"
  - "1x Male/Female Jumper Wires"
  - "1x Soldering iron (generic)"
  - "1x Arduino Mega 2560"
tools: []
apps:
  - "1x MIT App Inventor"
downloadableFiles:
  - "https://projects.arduinocontent.cc/c5ddad2a-ac0a-4885-b641-aaa4d9a2ba03.ino"
documentationLinks: []
passwordHash: "660153f5425ca607bf9cfdca9f43c6c6542654c2c42b459e71d7f407ccd96cfb"
encryptedPayload: "U2FsdGVkX1+lkufb9YNEYuXhexMe12YQ34rZTcHosGGDpb6TK72SWXo+XKbvz6TCBJ81MOPe2cYaaotXDPAl97gaP0ESPh+nNj1QLXz4X5M="
seoDescription: "Build a Water level sensor DIY using wires and resistors to detect low, normal, and high water levels easily."
videoLinks:
  - "https://www.youtube.com/embed/shorts"
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/water-level-sensor-diy-ff331f_cover.jpg"
lang: "en"