Bueno visto que no tenes ayuda, voy a intentar averiguar o intentar ayudarte. Yo no se de estos modulos pero algunas ideas voy a tirar.
Para entrar en modo comandos AT según las instrucciones, hay que poner el pin de cambio de modo en alto antes de alimentar el módulo, y cambiar la velocidad de la UART a 38400 bps (independientemente de la que tenga configurada para comunicarse en el modo serie transparente, que en mi caso es 9600 bps, la que trae por defecto).
AT Mode 1: After power on, it can enter the AT mode by triggering PIN34 with high level. Then the baud rate for setting AT command is equal to the baud rate in communication, for example: 9600.
AT mode 2: First set the PIN34 as high level, or while on powering the module set the PIN34 to be high level,
the Baud rate used here is 38400 bps.
Si no entiendo mal, estarias comenzando con 38400 bps
Modo 1 : Alimento y luego pongo en alto el pin KEY, y ahi dice que toma el valor que esta seteado para la comunicacion (sinol o cambiaste 9600).
Modo 2 : Primero pongo el pin en alto y luego alimento, entra en 38400 bps
-Cambiar velocidad UART a 38400
-Entrar en modo comandos (pin en alto)
-Enviar AT
-Enviar AT+NAME=NOMBRE
-Enviar TP+PSWD=PIN
-Enviar AT+RESET (en teoría equivaldría a apagar y encender el módulo, pero no sirve de nada...)
-Salir del modo comandos (pin en bajo)
-Cambiar velocidad UART a 9600
Estas mandando los \r\n ? es decir AT+NAME=nombre\r\n
Que respuestas tenes del HC05? un OK o un FAIL ?
Es correcto el
TP+PSWD ? o fue un error de teclas al postear, ya que es AT+PSWD
Creo que podrias poner la comunicacion a 38400 y olvidarte de andar cambiando la velocidad de la UART xD, con AT+UART=38400,1,x segun paridad
Otra cosa que lei:
(6) Reset new password introduction
User can set a new password for the HC-06 through AT+PINxxxx command. But the new password will become active after discharged all the energy of the module. If the module still has any energy, the
old one is still active. In the test, for discharging all the system energy and activating the new password, we can connect the power supply PIN with GND about 20 seconds after the power is cut off. Generally,
shutting down the device for 30 minutes also can discharge the energy, if there is no peripheral circuit helps discharge energy. User should make the proper way according to the specific situation.
Lei que para salir del mode de comandos habia que enviar un AT+RESET, veo que lo haces pero seguis manteniendo en alto el pin KEY, si lo haces alreves ? es decir pones en bajo el pin KEY y luego mandas el AT+RESET (lo decia por que al poner ar+reset todavia esta en alto y seria algo asi como ir al modo de comunicacion y como esta en alto volver al modo AT). Lo digo por que el datasheet dice que algunos comandos son tomados en cuenta si es que hubo un "pulso" en el pin KEY. Aunque no dice cual.
When PIN34 keeps high level, all commands can be used. Otherwise, only some of them can be used.
Con respecto al led tiene 3 modos:
1- When the module is supplied power and PIN34 is input high level, PIN31 output 1Hz square wave to make the LED flicker slowly. It indicates that the module is at the AT mode, and the baud rate is 38400;
2- When the module is supplied power and PIN34 is input low level, PIN31 output 2Hz square wave to make the LED flicker quickly. It indicates the module is at the pairable mode. If PIN34 is input high level, then the module will enter to AT mode, but the output of PIN31 is still 2Hz square wave.
3- After the pairing, PIN31 output 2Hz square ware.
En ninguno tiene 2 segundos, a lo sumo medio segundo y 1/4 de segundo