Dual Axis Mini CCTV Camera using ESP32 Cam | IOT Based Science Project / Harish Projects

Image
  Purchase Course VideoπŸ‘‡ https://harishprojects.graphy.com/ Watch full Detailed VideoπŸ‘‡ Project CodeπŸ‘‡ #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 #define RIGHT 4 #define STOP 0 #define RIGHT_MOTOR 0 #define LEFT_MOTOR 1 #define FORWARD 1 #define BACKWARD - 1 const int PWMFreq = 1000 ; /* 1 KHz */ const int PWMResolution = 8 ; const int PWMSpeedChannel = 2 ;...

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

How to make Wifi Talking robot with arduino codes and Diagram best science project