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 - วิทยาศาสตร์และเทคโนโลยี
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!!!
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.
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?
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());
}
}
Which type of arduino is it
arduino nano
when i saend a message its just giving ???? mark
In tht case chane ur baud rate
Same here. Have you figured it out ?
@@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
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.
@@danger0679 no problem