Help with bt commands

I bought an hc-05 bt module and I have been recently testing it.
The code i used is the following:


#include <SoftwareSerial.h>

SoftwareSerial mySerial (11,10);

void setup() {

void loop() {

if (mySerial.available()){
if (Serial.available()){

I have tried the AT command and the answer was OK (which is right), but the rest of the commands (like AT+NAME, etc) don´t work.

Does someone know the reason?

What Arduino?

Post a schematic of the wiring, please.

Did you tie the EN pin to 3.3V (NOT 5V)?

This page helped me a lot.

No, I plugged the vcc to the 5v. I don´t need the EN because my module has a button.

So, do you hold the button,, power up the HC05 then release the button to put it into AT mode?

Carefully read the section titled "AT Command Mode" in the page that I linked. I found that I could hold the button down with an alligator clip.

Yes, I have already entered the AT mode ( I can see this because the led blinks slowly). Do you mean the button needs to be pressed all the time? The only command that works for me is the AT one.

What part of that is confusing? There can be different levels of AT mode that allow different amounts of access to AT commands.

None. I have already done all of that and still dont get a NAME answer from the module.

What does that mean?

I have seen, lately, HC05 modules that just do not work. If you have tried everything and nothing works, I suggest that you purchase new modules from a respectable seller and try those.

I mean that I have already pressed the button and entered the AT mode. For example, When I write AT+NAME on the console, nothing appears.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.