Skip to content

This Arduino project deploys two servos, a moisture sensor, and a buzzer for flood detection. Upon surpassing a set moisture threshold, the system raises a bridge, triggering a buzzer. The bridge lowers when the flood subsides, enhancing flood response capabilities.

License

Notifications You must be signed in to change notification settings

shreyaskbkukke/smart_bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Flood Detection and Bridge Control System

Overview

This Arduino project utilizes two servos, a moisture sensor, and a buzzer to detect floods. When the moisture level surpasses a predefined threshold, the system raises a bridge and activates a buzzer for alerts. The bridge lowers when the flood subsides.

maxresdefault

Components

  • 2 Servo Motors
  • Moisture Sensor
  • Buzzer
  • Arduino Board

Pin Configuration

  • Left Servo: Pin 5
  • Right Servo: Pin 6
  • Moisture Sensor: Analog Pin A0
  • Buzzer: Pin 8

Usage

  1. The bridge is initially lowered.
  2. Flood detection raises the bridge and activates the buzzer.
  3. The bridge lowers when the flood subsides.

Configuration

  • Adjust the moisture threshold and servo angles as needed.

Feel free to modify the code for specific requirements.

About

This Arduino project deploys two servos, a moisture sensor, and a buzzer for flood detection. Upon surpassing a set moisture threshold, the system raises a bridge, triggering a buzzer. The bridge lowers when the flood subsides, enhancing flood response capabilities.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages