Posts

Showing posts from February, 2023

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

Indian Army security Gate | inspire Award Project | best science Project | Harish Projects 2023

Image
 Click Here to watch full video //Arduino Code// #include <Servo.h> #include <SPI.h> #include <RFID.h> RFID rfid(10, 9); byte kart[5] = {128,207,122,175,154}; Servo myservo; boolean card; void setup() {   Serial.begin(9600);   SPI.begin();   rfid.init();   myservo.attach(3);   myservo.write(100); } void loop() {   if (rfid.isCard())   {     if (rfid.readCardSerial())     {       Serial.print("Found ID: ");       Serial.print(rfid.serNum[0]);       Serial.print(",");       Serial.print(rfid.serNum[1]);       Serial.print(",");       Serial.print(rfid.serNum[2]);       Serial.print(",");       Serial.print(rfid.serNum[3]);       Serial.print(",");       Serial.println(rfid.serNum[4]);     }     for (int i = 1; i < 5; i++)     { ...