Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Battery-Powered Rain Sensor with LED and Piezo Speaker Alert

View and Edit Project In Cirkit DesignerImage of Battery-Powered Rain Sensor with LED and Piezo Speaker Alert

Circuit Documentation

Summary

This circuit is designed to detect rain using a YL-83 Rain Sensor and provide visual and auditory alerts through an LED and a Piezo Speaker. The circuit is powered by a 9V battery and utilizes an NPN transistor to control the LED and Piezo Speaker based on the rain sensor's output.

Component List

  1. 9V Battery

    • Description: Provides power to the circuit.
    • Pins: +, -
  2. YL-83 Rain Sensor - Detection Board

    • Description: Detects the presence of rain.
    • Pins: POS, NEG
  3. LED: Two Pin (red)

    • Description: Provides a visual indication when rain is detected.
    • Pins: cathode, anode
  4. NPN Transistor (EBC)

    • Description: Acts as a switch to control the LED and Piezo Speaker based on the rain sensor's output.
    • Pins: emitter, base, collector
  5. Piezo Speaker

    • Description: Provides an auditory alert when rain is detected.
    • Pins: pin1, pin2

Wiring Details

9V Battery

YL-83 Rain Sensor - Detection Board

LED: Two Pin (red)

NPN Transistor (EBC)

Piezo Speaker

Code

No microcontroller code is provided for this circuit.