Project tutorial
Automatic Waterfall

Automatic Waterfall © GPL3+

Waterfall using ultrasonic sensor

  • 2 views
  • 0 comments
  • 0 respects

Components and supplies

Necessary tools and machines

waterFall

Apps and online services

About this project

Hey everyone...

Hope you all are hale and healthy.

I made Automatic Waterfall for your home. You can make this at your home with homemade things.. I used Thermocol to make waterfall at home.

You can contact me to get more information on how to make waterfall.

In this I used ultrasonic sensor, when any person comes closer to waterfall it automatically on the waterfall and after some minutes it will turn off so that it saves electricity.

This project can be used for home decoration.

This is a great project which can be made at home easily and can be installed.

If you like this project respect it.

Give me suggestions so I can improve it or any feedback you want to give to my YouTube channel.

link is : https://studio.youtube.com/channel/UCaXI2PcsTlH5g0et67kdD6g

Also you can give me suggestions on "What I made next project.?"

Steps to make this project:

1. Gather components like Arduino, water pump, ultrasonic sensor, waterfall, jumper wires, relay module, leds etc.

2. Take Waterfall and install water pump from below.

3. Install ultrasonic sensor to the front of the waterfall.

4. Install leds on the waterfall.

5. Place Arduino, relay module to the back of the waterfall as shown in video.

6. Do connections from circuit diagram and check for it without water.

7. Now fill the green tank with water and then check it is working or not..??

Place it anywhere in your home.

Your project is ready...!!!

Visit my YouTube channel once and see more interesting projects.

"Electronics is Fun"

If you like my channel subscribe it please.

link: https://studio.youtube.com/channel/UCaXI2PcsTlH5g0et67kdD6g

Code

CodeArduino
// https://www.youtube.com/channel/UCaXI2PcsTlH5g0et67kdD6g  //
// Automatic waterfall //
// By MOHD SOHAIL //

const int trigPin = 2;  //trig pin of ultrasonic sensor

const int echoPin = 3;  //echo pin of ultrasonic sensor

const int relay = 5;   // output pin for relay, relay is low level triggered

long duration;
int distance;

int led1 = 8;
int led2 = 9;
int led3 = 10;
int led4 = 11;
int led5 = 12;
int led6 = 13;

void setup() {
  
pinMode (5,OUTPUT);
pinMode (8,OUTPUT);
pinMode (9,OUTPUT);
pinMode (10,OUTPUT);
pinMode (11,OUTPUT);
pinMode (12,OUTPUT);
pinMode (13,OUTPUT);

pinMode (trigPin,OUTPUT);
pinMode (echoPin,INPUT);
Serial.begin(9600);
}

void loop() {

digitalWrite(trigPin,LOW);
delayMicroseconds (2);

digitalWrite(trigPin,HIGH);
delayMicroseconds (10);
digitalWrite(trigPin,LOW);

duration = pulseIn(echoPin,HIGH);
digitalWrite(trigPin,HIGH);

distance = duration*0.034/2;

Serial.print("Distance: ");

if (distance <=70)
{
digitalWrite(5,LOW);
{
  digitalWrite(8,HIGH);   
  delay(2000);
  digitalWrite(9,HIGH);   
  delay(2000);
  digitalWrite(10,HIGH);   
  delay(2000);
  digitalWrite(11,HIGH);   
  delay(2000);
  digitalWrite(12,HIGH);   
  delay(2000);
  digitalWrite(13,HIGH);   
  delay(2000);
  digitalWrite(8,LOW);   
  delay(2000);
  digitalWrite(9,LOW);   
  delay(2000);
  digitalWrite(10,LOW);   
  delay(2000);
  digitalWrite(11,LOW);   
  delay(2000);
  digitalWrite(12,LOW);   
  delay(2000);
  digitalWrite(13,LOW);   
  delay(2000);
} 
digitalWrite(8,HIGH);   
  digitalWrite(9,HIGH);  
  digitalWrite(10,HIGH);   
  digitalWrite(11,HIGH);   
  digitalWrite(12,HIGH);   
  digitalWrite(13,HIGH); 
delay(10000); 
}                                          // to make lamp on
else
{
digitalWrite(5,HIGH); // to make lamp off
digitalWrite(8,LOW);   
  digitalWrite(9,LOW);   
  digitalWrite(10,LOW);   
  digitalWrite(11,LOW);   
  digitalWrite(12,LOW);   
  digitalWrite(13,LOW);   
delay(500);
}
}

Schematics

Circuit Diagram
Waterfall aiu2cwvm4x

Comments

Similar projects you might like

Automatic Watering System

Project tutorial by PRosenb

  • 31,568 views
  • 21 comments
  • 84 respects

Automatic Watering System

Project tutorial by Manson Hau

  • 16,097 views
  • 11 comments
  • 59 respects

Gesture / Motion Controlled Automatic Appliances

Project tutorial by ashraf_minhaj

  • 2,947 views
  • 0 comments
  • 15 respects

Arduino and AC Devices - Automatic Lights

Project tutorial by Ahmed Hamdy

  • 32,570 views
  • 10 comments
  • 69 respects

Advance Automatic Railway Crossing System

Project showcase by Pawan singh and Akansh Saxena

  • 7,711 views
  • 2 comments
  • 19 respects
Add projectSign up / Login