8 Channel Bluetooth Controller Switch//(In Hindi)//(DIY)

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 มี.ค. 2022
  • 8 Channel Bluetooth Controller Switch//(In Hindi)//(DIY)
    Using Components in this video-
    -8Channel relay module
    -Arduino Uno
    -HC-05 Bluetooth module
    -Header Pins (jumper cables)
    (Code)
    drive.google.com/file/d/1bQ6a...
    (Circuit Diagram)
    drive.google.com/drive/folder...
    (Apps)
    play.google.com/store/apps/de...
    play.google.com/store/apps/de...
    (if you have any problem please comment down bello)
    ________________________________________________________________________________________________________________________________
    So Hello Friends
    Bhai ko Follow Karo
    Instagram - invitescon...
    Your Queries :-
    #8channelmodule
    #smartswitchboard
    #bluetoothswitchboard
    (Thanks For Watching This Video)
    Vaibhav Gupta
    From - Lucknow
    Music I used-
    1. Last_Summer_[NCS_Release]
    • Video
    2. JJD_Adventure_[NCS_Release]
    • JJD - Adventure | Glit...
    ________________________________________________________________________________________________________________________________
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @I_don.t_know_6
    @I_don.t_know_6 8 หลายเดือนก่อน

    can we use esp8266 in place of arduino

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

      Yes but, other processes or programing required to make this

    • @I_don.t_know_6
      @I_don.t_know_6 8 หลายเดือนก่อน

      @@letmindcreative Thanks

    • @I_don.t_know_6
      @I_don.t_know_6 8 หลายเดือนก่อน

      #include
      SoftwareSerial BTSerial(D5, D6); // RX (HC-05 TX), TX (HC-05 RX)
      const int RelayPins[] = {D0, D1, D2, D3};
      int activeRelay = -1;
      void setup() {
      for (int i = 0; i < 4; i++) {
      pinMode(relayPins[i], OUTPUT);
      digitalWrite(RelayPins[i], HIGH); // Initialize Relays to OFF
      }

      BTSerial.begin(9600);
      }
      void loop() {
      if (activeRelay >= 0 && activeRelay < 4) {
      digitalWrite(RelayPins[activeRelay], HIGH);
      activeRelay = -1; // Reset activeRelay
      }

      if (BTSerial.available()) {
      char command = BTSerial.read();
      int newRelay = -1; // Initialize to an invalid Relay

      switch (command) {
      case '1':
      newRelay = 0; // Relay 1
      break;
      case '2':
      newRelay = 1; // Relay 2
      break;
      case '3':
      newRelay = 2; // Relay 3
      break;
      case '4':
      newRelay = 3; // Relay 4
      break;
      default:
      // Invalid command
      break;
      }

      // Check if a valid Relay command was received
      if (newRelay >= 0 && newRelay < 4) {
      // Turn off the currently active Relay (if any)
      if (activeRelay >= 0 && activeRelay < 4) {
      digitalWrite(RelayPins[activeRelay], HIGH);
      }
      // Turn on the new Relay
      digitalWrite(RelayPins[newRelay], LOW);
      activeRelay = newRelay; // Update activeRelay
      }
      }\
      }
      }
      //@@letmindcreative

    • @I_don.t_know_6
      @I_don.t_know_6 8 หลายเดือนก่อน

      Youcan increase the number of relays by changing max loop value to your desired value and adding pins to the *RelayPins[i[={}* section

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

    mera arduino kam nahi kar raha he

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

    can hc05 rxt pin connect to 5v?

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

      No bro rx pin of hc05 is connected to tx of arduino and tx pin connect to rx of arduino and connect the hc05 to 5v which is provided in arduino board

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

      @@letmindcreativebut the tx pin of arduino is 5v also, so directly connecting may be unsafe?

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

      @@aiyolo2914 no bro use arduino 5v pin to provide 5v to hc05 module and connect rx to to tx and tx to rx of arduino module simple

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

    Bhai aapka app download nahi ho raha hai kya karan hai bhai.. 🙏🏻🙏🏻🙏🏻

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

      Kon sa aap bro

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

      @@letmindcreative Bhai Vahi jo discription me aap ka link diya hai play store se open hota hai par install nahi hota hai kya kare bhai..🙏🏻🙏🏻🙏🏻