Posts

Showing posts from July, 2021

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 RFID Door lock using Arduino / Best science Project.

Image
Watch video on YouTube Click here -  https://www.youtube.com/watch?v=YdRe2OoD0xo Project Diagram ARDUINO CODE // WELCOME TO THE HARISH PROJECTS YOUTUBE CHANNEL // PLEASE SUBSCRIBE TO MY CHANNEL // PRESS THE BELL ICON TO GET NOTIFIED MY LATEST VIDEO UPDATE // THEANKS FOR WATCHING #include <SPI.h> #include <MFRC522.h> #include <Servo.h>   #define SS_PIN 10 #define RST_PIN 9 #define LED_G 5 //define green LED pin #define LED_R 4 //define red LED #define BUZZER 2 //buzzer pin MFRC522 mfrc522(SS_PIN, RST_PIN);   // Create MFRC522 instance. Servo myServo; //define servo name   void setup()  {   Serial.begin(9600);   // Initiate a serial communication   SPI.begin();      // Initiate  SPI bus   mfrc522.PCD_Init();   // Initiate MFRC522   myServo.attach(3); //servo pin   myServo.write(0); //servo start position   pinMode(LED_G, OUTPUT);   pinMode(LED_R, OUTPUT);   pinMo...