Relative Content

Tag Archive for arduinobluetoothhc-05

HC-05 Bluetooth Module Doesn’t Respond to AT+ROLE=1 Command

I’m using an Arduino Uno to connect my HC-05 ZS-040 to my computer and am using the Arduino IDE to communicate with it. I’ve uploaded a blank sketch, then pulled open the Serial Monitor at 38400 baud. I’ve tried many different commands, including the AT+NAME, and they all work. However, when I try to change the module from slave to master, it doesn’t work. I type AT+ROLE=1, and I get the response OK, but then I go to verify, and it says ROLE: 0. I’ve tried resetting the module after attempting to change the role, but nothing changes.