¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Call for discussion on Bluetooth HC-05 module #bluetooth


William Smith
 

OK, this is the problem with Chinese cloned parts, anything popular is going to get ripped off, cloned till it's no longer recognizable, and sold for one cent less than the other guys, which is going to drive a race to the bottom (of quality, documentation, repeatability, everything else). Welcome to the world of $10 parts. Not being snarky, but if you want to pay $50 for a BlueTooth interface, it'll come with support, documentation, etc. [I don't want to pay $50 either, and I'm comfortable with the 'self-support' options, which include community support forums like this one.]

As a zeroth step, please tell us exactly which device you have, where you bought it, and when. These things change all the time, but at least we'll have a starting point for helping you. There are dozens of HC05 devices just on Amazon, some of which have buttons and some of which don't. Saying "This one, the one I'm holding in my hand" is less useful to us than a URL.

First, take a step back and take one piece at a time.

You have a nanoVNA, which works. Put it aside for now, that's not your problem.

Power up the BT module and see what it does. While the difference between 1Hz and 2Hz might be difficult to distinguish, try counting off seconds (traditionally "one one thousand, two one thousand, three one thousand") and see how many flashes you get in one second. It'll be close to one or close to two.

For your given OS (Ubuntu?), figure out how BT works. Get a BT device (fully functional button or headset or something) and figure out how to discover it, then pair it, then use it, then unpair it, and see if it's discoverable again.

Then for this device, discover it, pair it, and see if the flashing changes from fast to slow. If so, it means the flashing tells you your paired state.

I'm looking at one device on Amazon that goes into AT mode when you push the button, if yours is the same, don't do that. Most BT devices go into pairing mode on a long press of the one true button, if yours is one of those, then try that.

Connect Tx to Rx on the BT device, and see if sending ASCII characters at it causes them to be echoed back to you. This has been previously suggested on this list.

Connect a USB to TTL Serial adapter to the Tx and Rx pins, press the button to put it in AT mode (if applicable), and change the baud rate to something compatible with your nanoVNA.

Etc, etc, etc. One step at a time, make sure it's working and you understand it's operation at each step before proceeding.

73, Willie N1JBJ

On Jul 20, 2021, at 10:56 AM, Anne Ranch <anneranch2442@...> wrote:

OK, I shall proceed.
Let me say that I am unable to find HC-05 specification which will actually describe
1. what does the button on my HC_05 do.
I realize there are many versions of HC-05 and I am talking abut the one WITH the button - the one I have.
2. My HC_05 ONLY connection is to power - no other connections. I am currently trying to decipher the RED LED functions ON:LY.
a. Upon applying power I get very short and very fast flashing of the LED
b. After that and MOST of the time the LED is flashing in fast rate
c. BUT sometime it will flash in slow rate

The doc I found describe 1 Hz or 2 Hz "flashing" and it should be observable on pin x - I have not try that.

However - I am not sure if human eye can even see DIFFERENCE between 1 Hz and 2 Hz.

3. My OS - Linux Ubuntu can "discover" the HC-05.
Term "discovery /discoverable " Is commonly used describing Bluetooth process to "find" or enabling the Bluetooth device to be found.
4. I can instruct OS to "connect" to HC-05 - it does do that but immediately "disconnects" .
( The process of selecting RF channels MAY be discussed later )
5. After spending many hours , by choice , coding software I came to a conclusion that "Bluetooth devices must be PAIRED " before they can be connected.
Makes sense to me, however I do not get how device can be "discovered " and NOT paired. My OS shows HC_05 as "paired ".









Join [email protected] to automatically receive all group messages.