Smart Water Motor Project with Arduino for Kids

Smart Water Motor Projects for Kids

Smart Water Motor Projects for Kids

Overview

This project is about how we can solve the daily problem of wasting water due to overflowing tanks and the waste of water. Using this module, we can save a lot of water wasted daily.

In this smart water electric motor, whenever the tank has water at a certain level will turn off automatically, and whenever the water in the tank is less than the minimum level, the motor will turn on automatically.

Hardware required 

  • Arduino Uno R3
  • Resistor
  • Jumper Wires
  • Ultrasonic Sensor
  • Breadboard
  • DC Motor
  • Diode
  • NPN Transistor
  • 9v Battery

Schematic Diagram

AD 4nXfdik6pRSKtlO6FsYiYkuSJrgwTTBVTeAslmdiggXba XzUzZ4u 4tCipi1O7SwpRfcC6hoQ5HeNbf0EVs5KJ26Isq14OOW8i77zPKpdq0Vq fHgoS oChDUgZvMCdhNR4JdYsUqJGRklk5KDs9X8rPVWrDG 6Y nwKj3blSzqmC aCCrLzMw?key=1zhlHpa8w8YguQFT1vuD8Q

Fig 1.  Circuit Diagram

Arduino Code :

long duration, cm, inches;
 
void setup() {
  Serial.begin (9600);
  pinMode(8,OUTPUT);
}
 
void loop()
{
 
  pinMode(9, OUTPUT);
  digitalWrite(9, LOW);
  delayMicroseconds(5);
  digitalWrite(9, HIGH);
  delayMicroseconds(10);
  digitalWrite(9, LOW);
 
  // Read the signal from the sensor:
  pinMode(9, INPUT);
  duration = pulseIn(9, HIGH);
  Serial.println(duration);
  // convert the time into a distance
  cm = (duration/2) / 29.1;
  inches = (duration/2) / 74; 
  
  if(inches > 57){			//tank size 5 feet = 60 inch,
    digitalWrite(8, HIGH);	// start if 57 inch empty
  }else if(inches < 5)		// stop if 5 inch to fill
    digitalWrite(8, LOW);
  
  Serial.print(inches);
  Serial.print("in, ");
  Serial.print(cm);
  Serial.print("cm");
  Serial.println();
  
  delay(250);
}

Precautions

  1. Connections should be done properly.
  2. Arduino is case Sensitive, so code accordingly.
  3. Give different and appropriate colours to the wires.
  4. Use resistors for sensors and LCDs.

Conclusion


This smart water motor project demonstrates how Arduino and sensors can automate everyday tasks, like preventing tank overflow and saving water. At MakersMuse, we encourage learning through hands-on projects. Using platforms like Light Sensor with Arduino in Tinkercad, beginners and kids can easily understand electronics and coding while building practical, fun, and educational projects.

Leave a Reply

Coding For kids

Coding Courses for Kids Online

Our courses which are tailored for grades 1 to 12, and our hands-on curriculum seamlessly integrates, preparing students for challenges and inspiring the next generation.

STEM Labs

STEM LAB for Schools

Looking for a cutting-edge makerspace that goes beyond traditional education? Partner with Makers’ Muse to unlock innovation and transformative learning for your students.

Coding Toys

STEM LAB for Schools

Discover a revolutionary coding journey for students with our cutting-edge educational toys. Partner with us to unlock innovative learning experiences that transcend traditional education.

Do you have questions regarding our STEM program?

Send Us A Message