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

Arduino Nano-Controlled Water Detection System with Servo Alert and Buzzer

View and Edit Project In Cirkit DesignerImage of Arduino Nano-Controlled Water Detection System with Servo Alert and Buzzer

Circuit Documentation

Summary of the Circuit

This circuit is designed to interface a micro servo, a water sensor, and a buzzer with an Arduino Nano microcontroller. The system is powered by a 9V battery, which is controlled by an SPST rocker switch to turn the power supply on and off. The micro servo is controlled by the Arduino through a PWM signal, the water sensor provides input to the Arduino, and the buzzer is used for audible alerts. The circuit is intended for applications where water detection is critical, and an immediate response is required, such as a simple water level alarm system.

Component List

Micro servo 9G

Arduino Nano

Water Sensor

Buzzer

9V Battery

Rocker Switch (SPST)

Wiring Details

Micro servo 9G

Arduino Nano

Water Sensor

Buzzer

9V Battery

Rocker Switch (SPST)

Documented Code

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

The provided code is a template for the Arduino Nano and does not contain any functional code. The setup() function is intended to contain initialization code that runs once when the microcontroller is powered on or reset. The loop() function is intended to contain the main logic of the program, which runs repeatedly as long as the microcontroller is powered.

To complete this circuit's functionality, the user would need to add code to read the water sensor's signal in the loop() function, control the servo motor by sending PWM signals, and activate the buzzer under certain conditions (e.g., when water is detected by the sensor).