Posts

Showing posts from May, 2024

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

WiFi Detective Robot - for Army | IOT Based Army Robot with Camera | Best science Project | HarishProjects.com

Image
 Connection Diagram for FTDI Module  Project Diagram  Project Video  Project kit Buying Link https://harishprojects.com/product/wifi-detective-robot-for-army-iot-based-army-robot-with-camera-best-science-project-kit/ Project Code  //HarishProjects.com //Oredr Projects kit and Electronics Parts from Harish Projects #include "esp_camera.h" #include <Arduino.h> #include <WiFi.h> #include <AsyncTCP.h> #include <ESPAsyncWebServer.h> #include <iostream> #include <sstream> #include <ESP32Servo.h> #define PAN_PIN 14 #define TILT_PIN 15 Servo panServo; Servo tiltServo; struct MOTOR_PINS {   int pinEn;     int pinIN1;   int pinIN2;     }; std::vector<MOTOR_PINS> motorPins = {   { 2 , 12 , 13 }, //RIGHT_MOTOR Pins (EnA, IN1, IN2)   { 2 , 1 , 3 },  //LEFT_MOTOR  Pins (EnB, IN3, IN4) }; #define LIGHT_PIN 4 #define UP 1 #define DOWN 2 #define LEFT 3 #def...