Go Down

Topic: HC-05 bluetooth module problems (Read 1 time) previous topic - next topic

gen23

I have a problem with my HC-05 bluetooth module I have been trying to solve for 3 days now.
When I power up my arduino uno the module lights up as if ready to be connected to a device but it doesn't appear on my phone. I thought it might be a problem with my phone so I used other devices but the module doens't appear on any device.
I don't think it is a problem with my code because I tried another one and it didn't change anything. Does anyone have an idea why it isn't working? Could it be the module itself that isn't working?

Thanks!

runaway_pancake

#1
Aug 28, 2016, 09:23 pm Last Edit: Aug 28, 2016, 09:24 pm by Runaway Pancake
If it's discoverable then it should show up with only power applied.
You may want to look into getting into it in AT mode.

> > > Assuming that your cell's BT is enabled in 'Settings' and so on.
"Who is like unto the beast? who is able to make war with him?"
When all else fails, check your wiring!

Wawa

...but it doesn't appear on my phone.
What brand/model phone.
I have read that iphones don't work with the HC-05. Only with BLE modules.
Leo..

gen23

Hey, thanks for your answers!
Runaway Pancake, my cell's BT is of course enabled. I tried getting my module in AT mode but it didn't change anything.
Wawa, it is actually a samsung...

runaway_pancake

#4
Aug 30, 2016, 04:03 am Last Edit: Aug 30, 2016, 04:10 am by Runaway Pancake
I tried getting my module in AT mode but it didn't change anything.
Does that mean that you had success with AT+NAME? and it bounced back HC-05 or something?
That you have two not working out is odd.
I have a Samsung and, a few weeks ago, I got names on the list and could pair OK, but never an opportunity to connect.  I gave up on the first app and found a winner in the second (Bluetooth Terminal).  Not your situation, but I'm not just jousting at this as a theoretical exercise.

Have you paired your Android with any other devices?

http://forum.arduino.cc/index.php?topic=415829.0
"Who is like unto the beast? who is able to make war with him?"
When all else fails, check your wiring!

xl97

I too have used HC-05 and my HTC One M8 (Android) phone to connect and control many BT things I have built  (mainly RGB lighting and simple on/off switching)

I too use Bluetooh Terminal app...  I have also used S2 Terminal for Bluetooth app..

My projects are set up to take some serial data.. so using these apps I can tailor my serial data to meet my sketches needs.

As Runaway Pancake mentions... throw some AT commands at it.. change the name..  and then try again.



jqh5657

Are you using Android or iPhone? I haven't been able to get the HC-05 to work with the iPhone, but it should be discoverable on (just about) any Android. I go through a whole blog post with the HC-05, a relay switch, Arduino, and an Android app. Check it out here:

https://engineersportal.com/blog/2017/11/15/bluetooth-home-automation-light-bulb-switch-using-an-hc-05-a-relay-and-arduino

Go Up