I'm trying to connect HC-05 to a device (HC-05 connected with Arduino Uno), I managed to enter the AT command and currently in process of connecting it. here are the pairing command:
` * AT+UART=57600,0,0
AT+ROLE=1
AT+PSWD="0000"
AT+CMODE=0
AT+BIND=C464,E3,EB8454
AT+IAC=9E8B33
AT+CLASS=0
AT+INQM=1,9,48`
when I tried to enter AT+PSWD="0000" it doesn't return OK as it should be. then I check it out by AT+PSWD? it returns PSWD:1234 the problem also applies with the address
Although I don't know too much about BleuTooth modules, please post the sketch (and use code tags). Are you using SoftwareSerial (on which pins)? Or hardware serial on pins 0 and 1?
Some HC05 modules have 2 AT modes. If you hold the button and power it up then release the button it goes into a "mini" AT mode. If you press the button, power the module and keep the button depressed, it will enter "full" AT mode. I use a small alligator clip to hold the button. Or you may, with some modules, use the EN pin or solder a wire to a pin to use to put the HC05 into AT mode. Do be aware that even though the module is powered by 5V the pins are not 5V tolerant.
yes, I'm highly sure it is HC-05 (I'll upload the module here). I used it once but I believe it's broken due to intensive usage. I follow this tutorial How to Pair HC-05 Bluetooth Modules - YouTube at baud rate 38400
Here goes another guess:
Some modules use to come with Baud Rate of 9600 as a default. If your module is 38400 or you have changed before to 38400, ok, but if you didn´t, it´s a good bet setting up serial monitor to 9600 as a test.
4.0-20190728 is a nasty one, I loose data in loop mode with the module, when you ask for baud rate it responds UART:4800 when is running in 9600..you need to stay pressed the button to get response from them.