Arduino Communication between HC05 Bluetooth Module as Master & Slave

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ต.ค. 2021
  • In this video we will see how to communicate between HC05 Bluetooth Modules.
    Code:
    github.com/stechiez/Arduino/t...
    Required Components and its links are :
    Breadboard - www.banggood.in/custlink/DGKy...
    Jumper Wires - www.banggood.in/custlink/vGGh...
    Oled Display - www.banggood.in/custlink/DKvY...
    Arduino Nano - www.banggood.in/custlink/KKGy...
    Arduino Uno - www.banggood.in/custlink/Gvmy...
    Arduino Pro Mini - www.banggood.in/custlink/vvGy...
    Arduino Mega2560 - www.banggood.in/custlink/vKGY...
    Breadboard - www.banggood.in/custlink/DGKy...
    Other Useful Videos
    Arduino LCD tutorial : • Interfacing Arduino wi...
    Arduino based Clock : • Arduino Uno based Cloc...
    Arduino Basics Explained : • Arduino Tutorials | Ar...
    #arduino
    #arduinohc05
    #arduinobluetooth
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @Seifsstudying-wq2nv
    @Seifsstudying-wq2nv 2 หลายเดือนก่อน

    Thank you so much sir, out of all the HC-05 pairing forums and videos on the internet, you are the only one who solved my problem!!!

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

    Hi, can I use the same device as Master to receive a command (e.g. swtch on a motor) from a different device like a remote controller and then translate that command in an analog signal (e.g. open the circuit to power the motor)? Thanks.

  • @Manon-xs2fj
    @Manon-xs2fj 2 หลายเดือนก่อน

    thank you for the video (and the link to the code :) ) . Where do you find the Slave adresse that you put in the master's program?

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

      you need to use the AT comand, AT+LADDR?, some HC-05 give you this ERROR(0), i use this code to use the AT code:#include
      SoftwareSerial BTSerial(2, 3); // RX | TX
      void setup() {
      Serial.begin(9600);
      BTSerial.begin(38400);
      Serial.println("Sending AT+LADDR command to HC-05...");
      sendATCommand("AT+LADDR?");
      }
      void loop() {

      if (Serial.available()) {
      BTSerial.write(Serial.read());
      }
      if (BTSerial.available()) {
      Serial.write(BTSerial.read());
      }
      }
      void sendATCommand(String command) {
      BTSerial.println(command);
      delay(1000);
      while (BTSerial.available()) {
      Serial.write(BTSerial.read());
      }
      }

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

    Which type of arduino is it

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

    when i saend a message its just giving ???? mark

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

      In tht case chane ur baud rate

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

      Same here. Have you figured it out ?

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

      @@danger0679 yah i solved it interchange TX and Rx on both Arduino and it will work
      For me it worked
      I used this video to make gesture control car
      But there is some problem configuring adxl345
      Do you have any idea about its code

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

      Thank you very much for responding. I will do as you suggested. I am just beginner in arduino, but in future if I come across any solution to the code you're getting I will keep you posted.

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

      @@danger0679 no problem