# HC05 bluetooth AT commands problem

**URL:** <https://forum.arduino.cc/t/hc05-bluetooth-at-commands-problem/1375985>\
**Category:** Networking, Protocols, and Devices\
**Created:** [April 23, 2025, 9:41am UTC](https://forum.arduino.cc/t/hc05-bluetooth-at-commands-problem/1375985 "2025-04-23T09:41:56Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![shahin28](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/shahin28/32/1127280_2.png) [@shahin28](https://forum.arduino.cc/u/shahin28)\
**Post date:** [April 23, 2025, 9:41am UTC](https://forum.arduino.cc/t/hc05-bluetooth-at-commands-problem/1375985/1 "2025-04-23T09:41:56Z")

</div>

Hi,  
A few days ago, I tried to change the name of the HC05 Bluetooth module  
via AT commands using the method shown in the picture, and I was able to change it, but when I tried to use it with the phone to control a robot or something else, it appeared in the list of available Bluetooth devices and I was able to pair, but after that I was unable to connect, noting that I tried all the methods to exit AT command mode and most of the time it was in normal mode, but I did not understand the reason for the problem.

 ![photo_2025-04-23_11-17-05](https://europe1.discourse-cdn.com/arduino/original/4X/e/a/0/ea0a36e76a49dccef56741d7fb9031fad988c40c.jpeg)

---

<div class="post-metadata">

**Author:** ![Anthony\_P](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/anthony_p/32/775266_2.png) [@Anthony\_P](https://forum.arduino.cc/u/Anthony_P)\
**Post date:** [April 23, 2025, 10:20am UTC](https://forum.arduino.cc/t/hc05-bluetooth-at-commands-problem/1375985/2 "2025-04-23T10:20:16Z")

</div>

Hello,

What do you mean by

> [@shahin28](#):
>
> but after that I was unable to connect

And are you sure your wiring is good? You linked both of the TX together on your schematic. Is this the way you can communicate with the HC05?

---

<div class="post-metadata">

**Author:** ![shahin28](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/shahin28/32/1127280_2.png) [@shahin28](https://forum.arduino.cc/u/shahin28)\
**Post date:** [April 23, 2025, 10:35am UTC](https://forum.arduino.cc/t/hc05-bluetooth-at-commands-problem/1375985/3 "2025-04-23T10:35:46Z")

</div>

i meant that can pair the bluetooth HC05 with my phone but when i try to connect it with my app, i can't knowing that the app work well with other bluetooth modules.

Concerning the wiring, i agree with you that the Tx should be connected to Rx and opposite but i tried this wiring and it worked for me when trying to get access to AT mode.

---

<div class="post-metadata">

**Author:** ![Anthony\_P](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/anthony_p/32/775266_2.png) [@Anthony\_P](https://forum.arduino.cc/u/Anthony_P)\
**Post date:** [April 23, 2025, 10:37am UTC](https://forum.arduino.cc/t/hc05-bluetooth-at-commands-problem/1375985/4 "2025-04-23T10:37:57Z")

</div>

Before changing the name of the device, did you "forget" the module on your phone? Maybe now you have two device with different name but same MAC address which could be confusing for your app

---

<div class="post-metadata">

**Author:** ![shahin28](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/shahin28/32/1127280_2.png) [@shahin28](https://forum.arduino.cc/u/shahin28)\
**Post date:** [April 23, 2025, 10:40am UTC](https://forum.arduino.cc/t/hc05-bluetooth-at-commands-problem/1375985/5 "2025-04-23T10:40:31Z")

</div>

yes, i did it many times

---

<div class="post-metadata">

**Author:** ![Anthony\_P](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/anthony_p/32/775266_2.png) [@Anthony\_P](https://forum.arduino.cc/u/Anthony_P)\
**Post date:** [April 23, 2025, 10:51am UTC](https://forum.arduino.cc/t/hc05-bluetooth-at-commands-problem/1375985/6 "2025-04-23T10:51:03Z")

</div>

> [@shahin28](#):
>
> I did not understand the reason for the problem

Me neither. Did you try to set the old name?

Can you try to connect with another phone?

---

<div class="post-metadata">

**Author:** ![shahin28](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/shahin28/32/1127280_2.png) [@shahin28](https://forum.arduino.cc/u/shahin28)\
**Post date:** [April 23, 2025, 10:54am UTC](https://forum.arduino.cc/t/hc05-bluetooth-at-commands-problem/1375985/7 "2025-04-23T10:54:26Z")

</div>

True, i didn't tried to connect it with another phone.

---

<div class="post-metadata">

**Author:** ![shahin28](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/shahin28/32/1127280_2.png) [@shahin28](https://forum.arduino.cc/u/shahin28)\
**Post date:** [April 23, 2025, 2:05pm UTC](https://forum.arduino.cc/t/hc05-bluetooth-at-commands-problem/1375985/8 "2025-04-23T14:05:45Z")

</div>

I connected it to another phone and i got the same problem

---

<div class="post-metadata">

**Author:** ![Anthony\_P](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/anthony_p/32/775266_2.png) [@Anthony\_P](https://forum.arduino.cc/u/Anthony_P)\
**Post date:** [April 23, 2025, 2:18pm UTC](https://forum.arduino.cc/t/hc05-bluetooth-at-commands-problem/1375985/9 "2025-04-23T14:18:56Z")

</div>

And you can exchange AT command with the module?  
BTW, you're supposed to have a voltage divider on the RX pin of the module. Check on the WEB

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/2/7/8/278684dba102f9b568536bdcb6b47ed1e8619103.jpeg)  
Also, I recommand using other pins that 0 and 1, that are used by the Arduino to communicate with the computer

---

<div class="post-metadata">

**Author:** ![shahin28](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/shahin28/32/1127280_2.png) [@shahin28](https://forum.arduino.cc/u/shahin28)\
**Post date:** [April 23, 2025, 2:21pm UTC](https://forum.arduino.cc/t/hc05-bluetooth-at-commands-problem/1375985/10 "2025-04-23T14:21:07Z")

</div>

yeah, the AT commands work

---

<div class="post-metadata">

**Author:** ![Anthony\_P](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/anthony_p/32/775266_2.png) [@Anthony\_P](https://forum.arduino.cc/u/Anthony_P)\
**Post date:** [April 23, 2025, 2:24pm UTC](https://forum.arduino.cc/t/hc05-bluetooth-at-commands-problem/1375985/11 "2025-04-23T14:24:48Z")

</div>

Quelle est la fréquence de la LED sur le module ?  
Essai de l'alimenter depuis une source externe. Pense à mettre un GND commun

---

<div class="post-metadata">

**Author:** ![Gabryx](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/gabryx/32/820998_2.png) [@Gabryx](https://forum.arduino.cc/u/Gabryx)\
**Post date:** [April 23, 2025, 2:38pm UTC](https://forum.arduino.cc/t/hc05-bluetooth-at-commands-problem/1375985/12 "2025-04-23T14:38:34Z")

</div>

on my HC05 module I put a switch between VCC and EN, because when you work in AT mode they must be connected, while when you work in normal mode they are not

---

<div class="post-metadata">

**Author:** ![shahin28](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/shahin28/32/1127280_2.png) [@shahin28](https://forum.arduino.cc/u/shahin28)\
**Post date:** [April 23, 2025, 2:57pm UTC](https://forum.arduino.cc/t/hc05-bluetooth-at-commands-problem/1375985/13 "2025-04-23T14:57:24Z")

</div>

I successfully entered AT mode on my HC-05 Bluetooth module (version: hc05V2.3\_le) using an Arduino Uno and changed the module name using AT+NAME. However, after that:

The module appears in the phone's Bluetooth list and pairs automatically without asking for a PIN

Once paired, I can’t connect or communicate with it using any Bluetooth Serial app

I tried with two phones (Android), same issue

What I Tried:

Confirmed AT mode using AT → got OK

Tried AT+PSWD=1234 → got FAIL

Tried AT+PIN=1234 → got no response

Tried AT+CMODE=1 → got FAIL

Reset with AT+ORGL → worked, but issue persisted

Checked firmware: AT+VERSION? → +VERSION:hc05V2.3\_le

After reset, module still pairs instantly, no PIN prompt, and won’t send/receive data

Wiring is correct, baud rate is 38400 in AT mode, using Arduino with SoftwareSerial.

I was able to change the password using 6-digit password but the problem of connecting it to my phone app is not working

---

<div class="post-metadata">

**Author:** ![Anthony\_P](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/anthony_p/32/775266_2.png) [@Anthony\_P](https://forum.arduino.cc/u/Anthony_P)\
**Post date:** [April 23, 2025, 3:07pm UTC](https://forum.arduino.cc/t/hc05-bluetooth-at-commands-problem/1375985/14 "2025-04-23T15:07:00Z")

</div>

What is the actual wiring you have?  
Is the EN pin (seems to be called Key on your schematic) linked to Vcc or no?  
If yes, try to put it to low, and send again the AT+RESET cmd

---

<div class="post-metadata">

**Author:** ![herbschwarz](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/herbschwarz/32/239314_2.png) [@herbschwarz](https://forum.arduino.cc/u/herbschwarz)\
**Post date:** [April 23, 2025, 3:43pm UTC](https://forum.arduino.cc/t/hc05-bluetooth-at-commands-problem/1375985/15 "2025-04-23T15:43:53Z")

</div>

Is software serial viable at 38400 baud?

---

<div class="post-metadata">

**Author:** ![Anthony\_P](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/anthony_p/32/775266_2.png) [@Anthony\_P](https://forum.arduino.cc/u/Anthony_P)\
**Post date:** [April 23, 2025, 3:45pm UTC](https://forum.arduino.cc/t/hc05-bluetooth-at-commands-problem/1375985/16 "2025-04-23T15:45:17Z")

</div>

> [@herbschwarz](#):
>
> Is software serial viable at 38400 baud?

Why wouldn't it? I never got any problem with software serial; at least at 19200bps

---

<div class="post-metadata">

**Author:** ![herbschwarz](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/herbschwarz/32/239314_2.png) [@herbschwarz](https://forum.arduino.cc/u/herbschwarz)\
**Post date:** [April 23, 2025, 3:54pm UTC](https://forum.arduino.cc/t/hc05-bluetooth-at-commands-problem/1375985/17 "2025-04-23T15:54:48Z")

</div>

The hardware serial uses a UART but software serial uses 'bit banging' so the processor needs more time to process each character.

---

<div class="post-metadata">

**Author:** ![anon94801460](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@anon94801460](https://forum.arduino.cc/u/anon94801460)\
**Post date:** [April 23, 2025, 4:01pm UTC](https://forum.arduino.cc/t/hc05-bluetooth-at-commands-problem/1375985/18 "2025-04-23T16:01:02Z")

</div>

> [@shahin28](#):
>
> on my HC-05 Bluetooth module (version: hc05V2.3\_le)

Please post a link to where you bought the modules. They are mislabeled and don't work as advertised. They appear to have BLE code on them. See this thread:

> [@HC-05 At Command Mode - but Not in FULL AT cmd mode =\> can not use AT+INQ or AT+INIT](https://forum.arduino.cc/t/hc-05-at-command-mode-but-not-in-full-at-cmd-mode-can-not-use-at-inq-or-at-init/1374926/8):
>
> I seem to recall that a recent thread had this and the conclusion was that the module was actually a BLE device.

---

<div class="post-metadata">

**Author:** ![shahin28](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/shahin28/32/1127280_2.png) [@shahin28](https://forum.arduino.cc/u/shahin28)\
**Post date:** [April 23, 2025, 5:55pm UTC](https://forum.arduino.cc/t/hc05-bluetooth-at-commands-problem/1375985/19 "2025-04-23T17:55:07Z")

</div>

So it will not work ?

---

<div class="post-metadata">

**Author:** ![anon94801460](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@anon94801460](https://forum.arduino.cc/u/anon94801460)\
**Post date:** [April 23, 2025, 7:47pm UTC](https://forum.arduino.cc/t/hc05-bluetooth-at-commands-problem/1375985/20 "2025-04-23T19:47:20Z")

</div>

The module was falsely advertised and will not do what you want it to do.

Please post a link to where you bought the modules, so others can avoid making that mistake.

[Next page](https://forum.arduino.cc/t/hc05-bluetooth-at-commands-problem/1375985.md?page=2)
