Home Appliances Control Using App with Arduino Uno, Bluetooth Module HC-05, Relay Module

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.พ. 2022
  • Home Appliances Control Using App with Arduino Uno, Bluetooth Module HC-05, Relay Module
    What is Relay? • WHAT IS A RELAY?. HOW ...
    Android Application Link: drive.google.com/file/d/1UGmx...
    Vlogs Channel: / @mraj_shorts
    My Instagram: / pashupati_kr_singh
    Facebook page: / makelogy
    Twitter: / pashupatikk
    #makelogy
    #electronics
    #arduinouno
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    //////////////////////////// code///////////////////////////////////
    String inputs;
    #define relay1 2 //Connect relay1 to pin 9
    #define relay2 3 //Connect relay2 to pin 8
    #define relay3 4 //Connect relay3 to pin 7
    #define relay4 5 //Connect relay4 to pin 6
    #define relay5 6 //Connect relay5 to pin 5
    #define relay6 7 //Connect relay6 to pin 4
    #define relay7 8 //Connect relay7 to pin 3
    #define relay8 9 //Connect relay8 to pin 2
    void setup()
    {
    Serial.begin(9600); //Set rate for communicating with phone
    pinMode(relay1, OUTPUT); //Set relay1 as an output
    pinMode(relay2, OUTPUT); //Set relay2 as an output
    pinMode(relay3, OUTPUT); //Set relay1 as an output
    pinMode(relay4, OUTPUT); //Set relay2 as an output
    pinMode(relay5, OUTPUT); //Set relay1 as an output
    pinMode(relay6, OUTPUT); //Set relay2 as an output
    pinMode(relay7, OUTPUT); //Set relay1 as an output
    pinMode(relay8, OUTPUT); //Set relay2 as an output
    digitalWrite(relay1, LOW); //Switch relay1 off
    digitalWrite(relay2, LOW); //Swtich relay2 off
    digitalWrite(relay3, LOW); //Switch relay1 off
    digitalWrite(relay4, LOW); //Swtich relay2 off
    digitalWrite(relay5, LOW); //Switch relay1 off
    digitalWrite(relay6, LOW); //Swtich relay2 off
    digitalWrite(relay7, LOW); //Switch relay1 off
    digitalWrite(relay8, LOW); //Swtich relay2 off
    }
    void loop()
    {
    while(Serial.available()) //Check if there are available bytes to read
    {
    delay(10); //Delay to make it stable
    char c = Serial.read(); //Conduct a serial read
    if (c == '#'){
    break; //Stop the loop once # is detected after a word
    }
    inputs += c; //Means inputs = inputs + c
    }
    if (inputs.length() >0)
    {
    Serial.println(inputs);
    if(inputs == "A")
    {
    digitalWrite(relay1, LOW);
    }
    else if(inputs == "a")
    {
    digitalWrite(relay1, HIGH);
    }
    else if(inputs == "B")
    {
    digitalWrite(relay2, LOW);
    }
    else if(inputs == "b")
    {
    digitalWrite(relay2, HIGH);
    }
    else if(inputs == "C")
    {
    digitalWrite(relay3, LOW);
    }
    else if(inputs == "c")
    {
    digitalWrite(relay3, HIGH);
    }
    else if(inputs == "D")
    {
    digitalWrite(relay4, LOW);
    }
    else if(inputs == "d")
    {
    digitalWrite(relay4, HIGH);
    }
    else if(inputs == "E")
    {
    digitalWrite(relay5, LOW);
    }
    else if(inputs == "e")
    {
    digitalWrite(relay5, HIGH);
    }
    else if(inputs == "F")
    {
    digitalWrite(relay6, LOW);
    }
    else if(inputs == "f")
    {
    digitalWrite(relay6, HIGH);
    }
    else if(inputs == "G")
    {
    digitalWrite(relay7, LOW);
    }
    else if(inputs == "g")
    {
    digitalWrite(relay7, HIGH);
    }
    else if(inputs == "H")
    {
    digitalWrite(relay8, LOW);
    }
    else if(inputs == "h")
    {
    digitalWrite(relay8, HIGH);
    }
    inputs="";
    }
    }

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

      Copy nhi ho rha

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

      Please help

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

      @@mohanrao5699 use a laptop

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

      @@mohanrao5699 or you can type it also

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

      Relay phone sa operation nhi ho rha ha

  • @RakeshRaiger-ei5ot
    @RakeshRaiger-ei5ot หลายเดือนก่อน +1

    Nice sir ji
    Mene ye project banaya hai bahut achhe se kam kar rha hai 🎉🎉🎉🎉🎉🎉🎉

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

    It's a very good project.....thanks for detailed video

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

    Awesome 👍

  • @abhishekkumar-hp2rl
    @abhishekkumar-hp2rl 2 ปีที่แล้ว +1

    Great work

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

    Good👍

  • @SonuSharma-yv6ze
    @SonuSharma-yv6ze 2 ปีที่แล้ว +1

    Nice

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

    Thanks
    100 % working

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

    bhai function revers karna hey , matlan yeh code main jab apps on kar raha hu tab device off ho raha hey , apps sey off karney sey blub fan on ho raha hey SO CAN I REVERS THE LOGIC A = HIGH , a=LOW

  • @SajjadAli-gb4dl
    @SajjadAli-gb4dl 11 หลายเดือนก่อน +1

    Sir muhy 1 chai hai ue kitny ka mily ga 8 channel

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

    can we use same code with other own created app

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

    Can this work with HC 04 Bluetooth module

  • @Kai-dg4go
    @Kai-dg4go 3 หลายเดือนก่อน

    Hello.
    This is a good idea video, but I can't install it because the Android app is not compatible with Android 14.
    Can it support Android 14?
    I would like to add 5 seconds, 10 seconds, 20 seconds, and 30 seconds to the timer if possible.
    thank you.

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

    P brother main problem is apps is not installed and not working on my phone so what is the solution in that case

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

    If you are giving power to Rellay from another source, then why did you connect GND and Voltage to relay from UNO?? Kindly tell.

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

      uno is connected to circuit of relay board ( for circuit functions ) and on relay board u can also connect additional supply for relay

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

    Hiii Bro ...
    My name siva ....
    Home automation connected..... But switch on the circuit Board ... All relays are on condetion. That is the problem.... Plz respond Bro.....

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

      No problem bro it's just how this project work

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

      Same

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

    Bro first time all relays on ho jata nai...next time sahi kaam Karter hai.......practically first time toh off hone sahiyean.....any solution?

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

      Bhai relay module ko 24 ghante 5 volt ka current do to William model automatic on nahin hoga what 24 ghante 5 voltage rahana chahie relay module mei😮n usk😮e liye battery ka istemal kar sakte hain with charging😮

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

    Comments hi comments 😘😘😘😘

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

    Sir ye kitne price me ban jaiga overall?

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

      Only 1500 rupaye ka Banega main banaya hai mujhe bhi 1500 ka hi Mila tha

  • @SajjadAli-gb4dl
    @SajjadAli-gb4dl 11 หลายเดือนก่อน

    Asslam alikum

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

    Sir mere ko code chahiye 2 channel relay ka

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

    Esp8266 ka software kesey karna

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

    sir code uploade karne par error aa raha hai

  • @supunvimukthi5755
    @supunvimukthi5755 5 วันที่ผ่านมา

    Whati is a app name

  • @MasterSciences-km2my
    @MasterSciences-km2my 7 หลายเดือนก่อน

    Bro circuit diagram

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

    But who will code get into the device?? Usse code ko kis pe dalla😅

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

    Give me arduino program