Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

Battery-Powered Rain Sensor with Buzzer Alert and Relay Control

Image of Battery-Powered Rain Sensor with Buzzer Alert and Relay Control

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes a variety of components such as a rocker switch, rain sensor, NPN transistor, diodes, a 5V relay, a battery case, a 7805 voltage regulator, a buzzer, and a resistor. The circuit is designed to monitor rain and activate a buzzer through a series of interconnected components.

Component List

  1. Rocker Switch

    • Description: A switch that can toggle between on and off states.
    • Pins: input, output
  2. Rain Sensor

    • Description: A sensor that detects the presence of rain.
    • Pins: AO, DO, GRD, VCC
  3. NPN Transistor

    • Description: A transistor used for switching and amplification.
    • Pins: E, C, B
  4. Diode

    • Description: A component that allows current to flow in one direction only.
    • Pins: cathode, anode
  5. 5V Relay

    • Description: An electromechanical switch that is activated by a 5V signal.
    • Pins: (Not specified)
  6. Battery Case

    • Description: A case that holds batteries to provide power to the circuit.
    • Pins: +, -
  7. 7805 Voltage Regulator

    • Description: A voltage regulator that outputs a stable 5V.
    • Pins: Vin, Gnd, Vout
  8. Buzzer

    • Description: A component that produces sound when activated.
    • Pins: PIN, GND
  9. Resistor

    • Description: A component that resists the flow of current.
    • Pins: pin1, pin2
    • Properties:
      • Resistance: 10,000 Ohms

Wiring Details

Rocker Switch

  • input is connected to the + pin of the Battery Case.
  • output is connected to the Vin pin of the 7805 Voltage Regulator.

Rain Sensor

  • GRD is connected to the - pin of the Battery Case.
  • VCC is connected to the cathode pin of the Diode.
  • AO is connected to pin1 of the Resistor.

NPN Transistor

  • B is connected to the Gnd pin of the 7805 Voltage Regulator.
  • E is connected to the anode pin of the Diode.
  • C is connected to pin2 of the Resistor.

Diode (Instance 1)

  • cathode is connected to the Vout pin of the 7805 Voltage Regulator.
  • anode is connected to the E pin of the NPN Transistor.

Diode (Instance 2)

  • cathode is connected to the Vout pin of the 7805 Voltage Regulator.
  • anode is connected to the E pin of the NPN Transistor.

5V Relay

  • Connected to the + pin of the Battery Case.
  • Connected to the Vout pin of the 7805 Voltage Regulator.
  • Connected to the anode pin of the Diode.
  • Connected to the PIN pin of the Buzzer.

Battery Case

  • + is connected to the input pin of the Rocker Switch.
  • - is connected to the GND pin of the Buzzer.
  • - is connected to the Gnd pin of the 7805 Voltage Regulator.
  • - is connected to the B pin of the NPN Transistor.
  • - is connected to the GRD pin of the Rain Sensor.

7805 Voltage Regulator

  • Vin is connected to the output pin of the Rocker Switch.
  • Gnd is connected to the - pin of the Battery Case.
  • Vout is connected to the cathode pin of the Diode.
  • Vout is connected to the VCC pin of the Rain Sensor.
  • Vout is connected to the 5V Relay.

Buzzer

  • GND is connected to the - pin of the Battery Case.
  • PIN is connected to the 5V Relay.

Resistor

  • pin1 is connected to the AO pin of the Rain Sensor.
  • pin2 is connected to the C pin of the NPN Transistor.

Code

No microcontroller code is provided for this circuit.


This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and code documentation. Each component is described in detail, and the wiring connections are clearly specified to ensure proper assembly and functionality of the circuit.