After many hours of trying and trying again, none of my four HC05 modules are willing to accept the "Master" Role. I assume this is why I couldn't establish a serial link between them
This is the most common example of HC05 modules configuration:
' Slave Configuration:
' AT+RMAAD (To clear any paired devices)
' AT+ROLE=0 (To set it as slave)
' AT+ADDR (To get the address of this HC-05, remember to jot the address down as it will be used during master configuration)
' AT+UART=9600,0,0 (To fix the baud rate at 9600)
' Master Configuration:
' AT+RMAAD (To clear any paired devices)
' AT+ROLE=1 (To set it as master)
' AT+CMODE=0 (To connect the module to the specified Bluetooth address and this Bluetooth address can be specified by the
' binding command)
' AT+BIND=xxxx,xx,xxxxxx (Now, type AT+BIND=98d3,34,906554 obviously with your respective address to the slave. Note the
' commas instead of colons given by the slave module)
' AT+UART=9600,0,0 (To fix the baud rate at 9600)
Every time I send the command AT+ROLE=1, the answer is OK but if I check with AT+ROLE, the answer is always +ROLE:0.
I even found some information suggesting to have the MASTER role physically set with a jumper 3.3V <> Pin 28 or even 3.3V <> Pin 34, which I tried.
https://www.martyncurrey.com/hc-05-f...-auto-connect/
https://www.martyncurrey.com/arduino...odule-at-mode/
But still nothing works...
Is there a beam in my eye or can possibily all my four modules be malfunctioning? They're new....
These are my modules:
![]()
![]()
Bookmarks