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.
I’ve tried holding down the button while clicking enter, I’ve tried never letting go of the button once it’s powered on and then typing the command, and that doesn’t change anything. Can anyone help?
lincolnpacker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.