Posts

Showing posts from October, 2022

Wet & Dry Waste Smart Dustbin for House | Best science Project | Harish Projects

Image
 Watch Full Detailed video 👇🏻 Diagram in Video👆 //Arduino Code// //YouTube: Harish Projects //Order Electronic Parts & Project kit:  HarishProjects.com // #include <Servo.h> Servo servo1; const int trigPin = 12; const int echoPin = 11; long duration; int distance=0; int potPin = A0; //input pin int soil=0; int fsoil; void setup()  {   Serial.begin(9600); //Serial.print("Humidity"); pinMode(trigPin, OUTPUT);  pinMode(echoPin, INPUT);  servo1.attach(8); } void loop()  { //YouTube: Harish Projects //Order Electronic Parts & Project kit:  HarishProjects.com //      int soil=0;   for(int i=0;i<2;i++)   { digitalWrite(trigPin, LOW); delayMicroseconds(7); digitalWrite(trigPin, HIGH); delayMicroseconds(10); digitalWrite(trigPin, LOW); delayMicroseconds(10); duration = pulseIn(echoPin, HIGH); distance= duration*0.034/2+distance; delay(10);   }   distance=distance/2;   Serial.println(distance); if ...

Automatic stop Gate for overflow | National Level Inspire Award Project 2023 / Harish Projects

Image
Automatic stop Gate for overflow | National Level Inspire Award Project Hello Guys. main hu Harish Choudhary. aaj ke is video me maine ek "National Level winning Project Banaya hai" is video ko aap complete watch krna kyuki maine is video me full detailed bataya hua hai, making connection, working etc.   //Project Code// #include <Servo.h> #include <Servo.h> Servo tap_servo; int sensor_pin = 4; int tap_servo_pin =5; int buzzer = 6; int val; void setup(){   pinMode(sensor_pin,INPUT);   pinMode(buzzer, OUTPUT);   tap_servo.attach(tap_servo_pin);    } void loop(){   val = digitalRead(sensor_pin);   if (val==0)   {tap_servo.write(0);   digitalWrite (buzzer, HIGH);   delay(1000);   digitalWrite (buzzer, LOW);   delay(1000);   }   if (val==1)   {tap_servo.write(90);    digitalWrite (buzzer,LOW);        } } //Project Diagram//