Unable to Connect to HC-05 Bluetooth Module via Mobile App
I have created an Android App using MIT App Inventor. And have connected the HC-05 Bluetooth Module to Arduino over Serial UART communication. When I paired the HC-05 module, it got paired with a mobile phone. But then when I try to connect the same module on the same mobile though custom-built Android App HC-05 doesn't show up to connect.
I wonder if someone has faced a similar issue. Appreciate any help you can provide
Thanks in advance!
6 Replies
Any way to access this app?
I have earlier used HC-05 for a project but used an app from playstore to connect it and control via mobile.
Hi, @Yash Naidu just found a solution. I learned that recently because of security and privacy reasons in Android phones. We have to manually allow permission for the HC-05 Module to get paired by a custom mobile App. Here are the two settings that helped me get the Bluetooth App working.
- Go to Settings --> Browse Privacy --> And check the allow "Find Nearby Devices" box.
- Also, in Bluetooth App Settings and allow all permissions to access mobile's Bluetooth
Note: It's possible the location of Bluetooth Permission options may vary, depending on your mobile phone manufacturer's Android versions
I have attached pictures here for your reference
Hope this will help!
That's insightful. Happy that the solution is found. Thanks for Sharing Umesh.
Hi, @Yash Naidu even when I used HC-05 in the past it worked. And then when found this issue, it all came to me by surprise. The regular Android updates and recent security policies in smartphones may have pushed these changes. Next, I'll be exploring HM-10 for BLE (Bluetooth Low Energy) and later Beacons. Just thought to let you know. If in case, you have ever explored any of them and have any suggestions. Thank you!
That's great. I have not used the HM-10 anytime, but will be interested to learn about it through your work. Thanks for the Update!
Sure, I'll keep you updated in the future with this post