Smart Home Automation Using Sensors

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ธ.ค. 2024

ความคิดเห็น • 95

  • @technicalshubham789
    @technicalshubham789  3 ปีที่แล้ว +6

    Use this Link For Simulation
    www.tinkercad.com/things/eprJv0vDKHU

    • @harshitayadav8380
      @harshitayadav8380 3 ปีที่แล้ว

      Plzz share the code again

    • @nidhi661
      @nidhi661 ปีที่แล้ว

      Sir how I can get program code

    • @hamitatalar447
      @hamitatalar447 หลายเดือนก่อน

      @@nidhi661
      #include
      int output1Value = 0;
      int sen1Value = 0;
      int sen2Value = 0;
      int const gas_sensor = A1;
      int const LDR = A0;
      int limit = 400;
      long readUltrasonicDistance(int triggerPin, int echoPin)
      {
      pinMode(triggerPin, OUTPUT); // Clear the trigger
      digitalWrite(triggerPin, LOW);
      delayMicroseconds(2);
      // Sets the trigger pin to HIGH state for 10 microseconds
      digitalWrite(triggerPin, HIGH);
      delayMicroseconds(10);
      digitalWrite(triggerPin, LOW);
      pinMode(echoPin, INPUT);
      // Reads the echo pin, and returns the sound wave travel time in microseconds
      return pulseIn(echoPin, HIGH);
      }
      Servo servo_7;
      void setup()
      {
      Serial.begin(9600); //initialize serial communication
      pinMode(A0, INPUT); //LDR
      pinMode(A1,INPUT); //gas sensor
      pinMode(13, OUTPUT); //connected to relay
      servo_7.attach(7, 500, 2500); //servo motor
      pinMode(8,OUTPUT); //signal to piezo buzzer
      pinMode(9, INPUT); //signal to PIR
      pinMode(10, OUTPUT); //signal to npn as switch
      pinMode(4, OUTPUT); //Red LED
      pinMode(3, OUTPUT); //Green LED

      }
      void loop()
      {

      //------light intensity control------//
      //--------------------------------------------------------------
      int val1 = analogRead(LDR);
      if (val1 > 500)
      {
      digitalWrite(13, LOW);
      Serial.print("Bulb ON = ");
      Serial.print(val1);
      }
      else
      {
      digitalWrite(13, HIGH);
      Serial.print("Bulb OFF = ");
      Serial.print(val1);
      }
      //--------------------------------------------------------------
      //------ light & fan control --------//
      //--------------------------------------------------------------
      sen2Value = digitalRead(9);
      if (sen2Value == 0)
      {
      digitalWrite(10, LOW); //npn as switch OFF
      digitalWrite(4, HIGH); // Red LED ON,indicating no motion
      digitalWrite(3, LOW); //Green LED OFF, since no Motion detected
      Serial.print(" || NO Motion Detected " );
      }

      if (sen2Value == 1)
      {
      digitalWrite(10, HIGH);//npn as switch ON
      delay(3000);
      digitalWrite(4, LOW); // RED LED OFF
      digitalWrite(3, HIGH);//GREEN LED ON , indicating motion detected
      Serial.print(" || Motion Detected! " );
      }
      delay(300);

      //---------------------------------------------------------------
      // ------- Gas Sensor --------//
      //---------------------------------------------------------------
      int val = analogRead(gas_sensor); //read sensor value
      Serial.print("|| Gas Sensor Value = ");
      Serial.print(val); //Printing in serial monitor
      //val = map(val, 300, 750, 0, 100);
      if (val > limit)
      {
      tone(8, 650);
      }
      delay(300);
      noTone(8);
      //--------------------------------------------------------------
      //------- servo motor ---------//
      //-------------------------------------------------------------
      sen1Value = 0.01723 * readUltrasonicDistance(6, 6);
      if (sen1Value < 100)
      {
      servo_7.write(90);
      Serial.print(" || Door Open! ; Distance = ");
      Serial.print(sen1Value);
      Serial.print("
      ");

      }
      else
      {
      servo_7.write(0);
      Serial.print(" || Door Closed! ; Distance = ");
      Serial.print(sen1Value);
      Serial.print("
      ");
      }
      delay(10); // Delay a little bit to improve simulation performance
      }

  • @samirkaremorevlogs9861
    @samirkaremorevlogs9861 3 ปีที่แล้ว +9

    Bro your videos are awesome but please do explanation part too..

  • @prajaktakhade5828
    @prajaktakhade5828 3 ปีที่แล้ว +3

    Keep going 🤗👌👌👌👍

  • @nehar9814
    @nehar9814 หลายเดือนก่อน

    Hey , the bulbs aren’t turning on and even the buzzer won’t stop making the sound what should we do ? Could u suggest anything please

    • @technicalshubham789
      @technicalshubham789  หลายเดือนก่อน +1

      Hello thanks for feedback. Please don't copy the circuit please do this by your end as per instructions and copy the code given in discription. This will work perfectly. 👍

    • @hamitatalar447
      @hamitatalar447 18 วันที่ผ่านมา

      i had the same problem then double checked the circuit diagram and find the problem. You need to connect buzzer + pin to digital 8 pin

  • @reedon7613
    @reedon7613 2 ปีที่แล้ว +2

    Can you give the code in blocks and text

  • @joanstevengomezcontreras9258
    @joanstevengomezcontreras9258 10 หลายเดือนก่อน +1

    Acabamos de sacar 10 en un parcial por usted master se le agradece

    • @technicalshubham789
      @technicalshubham789  10 หลายเดือนก่อน +1

      Encantada de aquí, sigue pensando 〽️

  • @entertainmenttime4268
    @entertainmenttime4268 28 วันที่ผ่านมา

    Bro program code google drive not working plzzz send me the link

  • @MuhammadAbdullah-de1yp
    @MuhammadAbdullah-de1yp 3 ปีที่แล้ว +1

    My LDR is working in opposite. Couldn't find the error kindly tell me how to solve it

    • @technicalshubham789
      @technicalshubham789  3 ปีที่แล้ว +1

      Change Relay Connection from NO to NC of Light Relay !!

  • @mithraj2504
    @mithraj2504 ปีที่แล้ว

    Can l get the link of this model so that l can copy and paste in my tinkering because of science exhibition

  • @bhagyashreetammanagoal5093
    @bhagyashreetammanagoal5093 2 ปีที่แล้ว +2

    Sir can you send the description of code

  • @mahakal5644
    @mahakal5644 3 ปีที่แล้ว +2

    Nice bro very good 👍👍

  • @vivekkumar-ct7rb
    @vivekkumar-ct7rb 3 ปีที่แล้ว

    Bro can u please tell me how to connect it to the Node-red

  • @UnikKebede-n7o
    @UnikKebede-n7o หลายเดือนก่อน

    Hi can you give en exlpanation of the Code please

  • @nurazizahmohamadkasim3987
    @nurazizahmohamadkasim3987 3 ปีที่แล้ว

    hi. Can you please share the tinkercad link of this project ? Seems like the link in google drive is not working. Thanks !

    • @technicalshubham789
      @technicalshubham789  3 ปีที่แล้ว +1

      www.tinkercad.com/things/eprJv0vDKHU

    • @nurazizahmohamadkasim3987
      @nurazizahmohamadkasim3987 3 ปีที่แล้ว +1

      @@technicalshubham789 Big thanks!

    • @nurazizahmohamadkasim3987
      @nurazizahmohamadkasim3987 3 ปีที่แล้ว

      @@technicalshubham789 Idk why when i opened it and start the simulation, they're not working. Is it okay on your side ??

    • @technicalshubham789
      @technicalshubham789  3 ปีที่แล้ว +1

      www.tinkercad.com/things/l1o1qR2IUKv
      please refer these link. it works properly

    • @nurazizahmohamadkasim3987
      @nurazizahmohamadkasim3987 3 ปีที่แล้ว

      @@technicalshubham789 This one's great. The simulation working properly. Thank you btw

  • @marthalasamarasekharreddy4638
    @marthalasamarasekharreddy4638 3 ปีที่แล้ว +1

    thanks, friend very helpful

  • @sonalirana5999
    @sonalirana5999 3 ปีที่แล้ว

    isme fire alarm add krke bhi can u make the modification?

    • @technicalshubham789
      @technicalshubham789  3 ปีที่แล้ว

      Ok thanks For suggestion i work according to that ..

  • @Jyoti-u3z2m
    @Jyoti-u3z2m ปีที่แล้ว

    Can you make same circuit diagram by using HC-SR04 ultrasonic distance sensor

  • @areqil5824
    @areqil5824 3 ปีที่แล้ว

    my bulb doesnt light up vice versa. pls fix

    • @technicalshubham789
      @technicalshubham789  3 ปีที่แล้ว +1

      www.tinkercad.com/things/eprJv0vDKHU

    • @areqil5824
      @areqil5824 3 ปีที่แล้ว

      @@technicalshubham789 i mean, how to make sure the bulb goes vice versa? How to do it?

  • @bhagyashreetammanagoal5093
    @bhagyashreetammanagoal5093 2 ปีที่แล้ว

    Sir can we add keypad to control one one

  • @samhitasarikonda2183
    @samhitasarikonda2183 3 ปีที่แล้ว

    Tried doing it....but it's showing errors.
    Try to share the code the way you did for the previous videos.

    • @technicalshubham789
      @technicalshubham789  3 ปีที่แล้ว

      drive.google.com/file/d/1AnxBSMwRUaTy3TuM1R1ChswztVfl164h/view?usp=sharing

  • @samhitasarikonda2183
    @samhitasarikonda2183 3 ปีที่แล้ว +1

    Hi
    Could you please share the code.
    It would be a great help.

    • @technicalshubham789
      @technicalshubham789  3 ปีที่แล้ว

      drive.google.com/drive/folders/1L4k32xHWZN4V36wPNUJlqvdey0bd-aJc?usp=sharing

    • @pushpendrapandey3164
      @pushpendrapandey3164 3 ปีที่แล้ว

      bro which code you have given is not opening its throwing error sketches are not created for this file.
      pls help only coding part is left in my project

    • @technicalshubham789
      @technicalshubham789  3 ปีที่แล้ว

      Use this Link For Simulation
      www.tinkercad.com/things/eprJv0vDKHU

  • @parthosingh8953
    @parthosingh8953 3 ปีที่แล้ว

    Can u share us Circuit diagram of this project ?

  • @snehapayagond2800
    @snehapayagond2800 2 ปีที่แล้ว +1

    Sir can u send code

  • @mahakal5644
    @mahakal5644 3 ปีที่แล้ว +2

    Create a sketch bol raha hai kya kare

    • @technicalshubham789
      @technicalshubham789  3 ปีที่แล้ว

      if u new at the thinkercad then 1st watch te tutorial videos

  • @nidhi661
    @nidhi661 ปีที่แล้ว

    Sir how I can get program code

    • @technicalshubham789
      @technicalshubham789  ปีที่แล้ว +1

      Thanks for communicate. The link for code is available in description please check.

  • @comedywithkuldeep2819
    @comedywithkuldeep2819 ปีที่แล้ว

    Bro you help me a lot so thankyou

    • @technicalshubham789
      @technicalshubham789  ปีที่แล้ว +1

      Thank you so much for your lovely comment! 🙏 I'm really glad to hear that my video was helpful to you, 😊 It means a lot to know that I could assist you in some way...

  • @mahakal5644
    @mahakal5644 3 ปีที่แล้ว +2

    Bhai code upload nahi ho raha hai

    • @technicalshubham789
      @technicalshubham789  3 ปีที่แล้ว +1

      ok i will upload it again

    • @technicalshubham789
      @technicalshubham789  3 ปีที่แล้ว +1

      drive.google.com/drive/folders/1L4k32xHWZN4V36wPNUJlqvdey0bd-aJc?usp=sharing

  • @jamadarprathamesh1467
    @jamadarprathamesh1467 3 ปีที่แล้ว

    Hello…. Can you send PPT or Report of this project,

  • @sanketsutar4467
    @sanketsutar4467 3 ปีที่แล้ว +1

    Nice broo

  • @raghaventrarajaram
    @raghaventrarajaram 6 หลายเดือนก่อน

    Thank youuuuuuu...

  • @koradakaylanvarunkumar7933
    @koradakaylanvarunkumar7933 2 ปีที่แล้ว

    can u send me the report of this project

  • @karanpatel5074
    @karanpatel5074 2 ปีที่แล้ว +1

    Instead of music in bg you should explain how things works that would be helpful

  • @mithraj2504
    @mithraj2504 ปีที่แล้ว

    Name of this theme and sub theme is

    • @technicalshubham789
      @technicalshubham789  ปีที่แล้ว

      This is a simple Home automation or Automation Without any Microcontroller and coding .

  • @anjalitoshniwal7099
    @anjalitoshniwal7099 3 ปีที่แล้ว

    we followed the whole video, but the light is not turning off according to the light intensity

    • @technicalshubham789
      @technicalshubham789  3 ปีที่แล้ว

      If the Relay doesn't Work connect the power supply +ve to Relay terminal 2 .

    • @ashwinkachu1450
      @ashwinkachu1450 3 ปีที่แล้ว

      many wires are missed compare the final circuit and circuit at 8:21

    • @kjovicbnf2204
      @kjovicbnf2204 2 ปีที่แล้ว

      you need to connect relay terminal 8 to pin 13

    • @kjovicbnf2204
      @kjovicbnf2204 2 ปีที่แล้ว

      terminal 5*

  • @서이안-c7n
    @서이안-c7n 2 ปีที่แล้ว

    Thanks!

  • @comedywithkuldeep2819
    @comedywithkuldeep2819 ปีที่แล้ว

    God bless you

  • @ENEKKANTIMSRIRAMACHOWDARY
    @ENEKKANTIMSRIRAMACHOWDARY 3 ปีที่แล้ว +1

    how we should connect display sensor to this board

  • @EMILIANABINTIALIAZIZS-PPDTUARA
    @EMILIANABINTIALIAZIZS-PPDTUARA 6 หลายเดือนก่อน

    hello..where the code

  • @ameyabolakhe
    @ameyabolakhe 3 ปีที่แล้ว

    Bro unable to access your codes please share it

  • @TechnoTrendz
    @TechnoTrendz 3 ปีที่แล้ว +1

    🔥

  • @brijeshgupta7008
    @brijeshgupta7008 3 ปีที่แล้ว

    Bro can you please update your link

  • @keulimzhay0143
    @keulimzhay0143 3 ปีที่แล้ว

    код можно не открываеться

  • @gopigautam673
    @gopigautam673 3 ปีที่แล้ว

    BHAI YRR TERE SE EK CODE NHI SHARE KIY JAA RHA HY BTA

    • @technicalshubham789
      @technicalshubham789  3 ปีที่แล้ว

      The schematic and ino code is in discription . Please check it🙏🏻

    • @pushpendrapandey3164
      @pushpendrapandey3164 3 ปีที่แล้ว +1

      @@technicalshubham789 bro that code is not opening

  • @hinasaysdilkibaat9080
    @hinasaysdilkibaat9080 3 ปีที่แล้ว +1

    Awesome work may I have your Gmail account please