10760Views6Replies

Author Options:

What does the "state" pin do on the HC-05 Bluetooth module? Answered

Hi all,
What is the function of the state pin on the HC-05 6-pin serial bluetooth module?

Comments

The forums are retiring in 2021 and are now closed for new topics and comments.
0
steveastrouk
steveastrouk

5 years ago

What is this HC-05 5 pin module of which you speak ? HC-05s have about 30 pads.

0
steveastrouk
steveastrouk

Answer 5 years ago

Its an interrupt pin, according to the data I can find.

0
polikarpa
polikarpa

Answer 4 years ago

This pin is low while connection is off. When HC 05 is paired with another bluetooth this pin turn High, so if you connect it to an Arduino digital input you can monitorize the connection state.

see

http://www.martyncurrey.com/hc-05-fs-040-state-pin/

0
dmagryta124
dmagryta124

Answer 4 years ago

I read the article you shared, but when I try it out on my hc 05, the state pin just stays LOW, regardless of whether it is paired to my android phone or not.

My hc05 module has a built in button ,and is marked zs-040, if that means anything.

Thoughts?

0
MikeM732
MikeM732

Answer 3 years ago

The documentation says "paired", but it's wrong (my guess is a mangled translation by a non-techie). The State pin goes HIGH when you are connected, not just paired. That's a lot more useful.