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 ...

How to make Password Lock for Doors| Harish Projects | Inspire Award Project

//Click here to watch full video//



Inspire Award Project | Best Project 2022 | Password Door Lock | Harish Projects Hello Guys. main hu Harish Choudhary. aaj ke is video me maine ek Password Door Lock banaya hai House ke liye. hum isme pass Code enter krke door ko unlock kar sakte hai. , 10th, 11th &12th class ke students ke liye hai. is video ko aap complete watch krna kyuki maine is video me full detailed bataya hua hai, making connection, working etc. Project Diagram https://harishprojectss.blogspot.com/?m=1 My YouTube Channels 1. Harish Vlogs https://youtu.be/Ot0LT_VOgWU 2. Harish Shorts πŸ‘‡ https://youtube.com/channel/UC68VImYQ-DfXDT-j1wog5kg About this Video 1. About Project 2. Components 3. Model Making 4. Connections 6. Working Test Thanks for watching Subscribe for more .... Components List... Best Buying Links 1. Arduino & Cable https://amzn.to/3BOTcyC 2. 4x3 Matrix Keypad https://amzn.to/3d6GPUw 3. Servo Motor https://amzn.to/3d1Gxya 4. Jumper wires https://amzn.to/3zTzQXY 5. MDF Board https://amzn.to/3zXJCbJ 6. Sunboard sheet https://amzn.to/3St24jm 7. Lock "Kundi' https://amzn.to/3SuCRW6 8. Battery https://amzn.to/3bxy45s 9. Glue Gun & Sticks https://amzn.to/3Jy9MVG πŸ‘‰πŸ‘‡For Business Enquiries πŸ‘‡ πŸ‘ˆ multipurposevid@gmail.coml My Website. harishprojectss.blogspot.com FOLLOW ON 1 instagram - harishchoudhary70 https://www.instagram.com/harishchoudhary70/ 2 YouTube - Harish Projects https://youtube.com/c/HarishProjects 3 Twitter. - Harish Projects https://twitter.com/harishprojectss?s=09 #scienceproject #PassDoorLock #DoorLock #BestProject2022 #inspireaward2022


\\Project Diagram\\



//Arduino Code//

#include <Servo.h>
#include <Keypad.h>

Servo ServoMotor;
char* password = "1199";  // change the password here, just pick any 3 numbers
int position = 0;
const byte ROWS = 4;
const byte COLS = 4;
char keys[ROWS][COLS] = {
{'1','2','3'},
{'4','5','6'},
{'7','8','9'},
{'*','0','#'}
};

byte rowPins[ROWS] = { 8, 7, 6, 9 };
byte colPins[COLS] = { 5, 4, 3, 2 };
Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );
int RedpinLock = 12;
int GreenpinUnlock = 13;

void setup()
{
pinMode(RedpinLock, OUTPUT);
pinMode(GreenpinUnlock, OUTPUT);
ServoMotor.attach(11);
LockedPosition(false);
}

void loop()
{
char key = keypad.getKey();
if (key == '*' || key == '#')
{
position = 0;
LockedPosition(false);
}
if (key == password[position])
{
position ++;
}
if (position == 4)
{
LockedPosition(true);
}
delay(100);
}
void LockedPosition(int locked)
{
if (locked)
{
digitalWrite(RedpinLock, LOW);
digitalWrite(GreenpinUnlock, HIGH);
ServoMotor.write(11);
}
else
{
digitalWrite(RedpinLock, HIGH);
digitalWrite(GreenpinUnlock, LOW);
ServoMotor.write(90);
}
}

/////



Comments

Very nice project bro. I am working with similar project but with different approach includes rail line vibration.
Unknown said…
Please sir koi aacha sa project bata dijiya inspire award ke liya

Popular posts from this blog

Smart Bridge - Automatic Hight increase when flooding | Best science Project

How to make Phone control RC car using Arduino #phoneControlCar

Inspire Award Project | Train accident Prevention project | Best science Project / Harish Projects