I am using a Bluetooth module ( HC-05). Image is attached below, connected to arduino uno as given in this link Arduino Project Hub.
I want to send a file(eg image file) from android Bluetooth app to the arduino controller via Bluetooth. But I am not able to pair the HC05 device with the android bluetooth app(default bluetooth in the android or any phone).
To test whether the bletooth(HC-05) module I used a app in the google palystore called LED controller. From this app I am able to pair and communicate with the arduino. This app just sends 1 and 0 message only.
I am attaching the picture of my Bluetooth device(HC-05) in fig1.
Circuit connection I am following is attached in the fig2.
Sketch is also uploaded.
To test Bluetooth module I used a LED controller app as in the link below Arduino Project Hub.

BluetoothTest.ino (285 Bytes)
prateekvhegde:
I am using a Bluetooth module ( HC-05). Image is attached below, connected to arduino uno as given in this link Arduino Project Hub.
I want to send a file(eg image file) from android Bluetooth app to the arduino controller via Bluetooth. But I am not able to pair the HC05 device with the android bluetooth app(default bluetooth in the android or any phone).
To test whether the bletooth(HC-05) module I used a app in the google palystore called LED controller. From this app I am able to pair and communicate with the arduino. This app just sends 1 and 0 message only.
I am attaching the picture of my Bluetooth device(HC-05) in fig1.
Circuit connection I am following is attached in the fig2.
Sketch is also uploaded.
To test Bluetooth module I used a LED controller app as in the link below Arduino Project Hub.
With one app you are able to pair, but not with the another app, from which you want to transfer image.
Is this an app from Play Store, or you have developed this app??
If you have developed this app, then the problem might be with the application only and it's working fine with another app.
I think it's better to take help from Android Experts on Android Forum.
One suggestion.
As per your connection diagram, you have directly connected the Arduino and Bluetooth Module, which I think is wrong as Bluetooth Module accepts signals in range 0 to 3.3V.
Use a voltage divider circuit to connect Arduino Tx line with HC-05 Rx line.
prateekvhegde:
I am not able to pair the HC05 device with the android bluetooth app(default bluetooth in the android or any phone).
To test whether the bletooth(HC-05) module I used a app in the google palystore called LED controller. From this app I am able to pair and communicate with the arduino.
The above is nonsense, and you do not appear to know the difference between pairing and communicating.
PAIRING is done in the SETTINGS section of Android. You only need to do it once and, once done, they stay paired until you specifically unpair them.
COMMUNICATING is initiated in the app and is terminated when you close the app.
Assuming all the hardware is the same, the fact that you have actually succeeded with the LED controller means that there is nothing intrinsically wrong with Arduino, bluetooth, the wiring between them, or the Android, and rather suggests all your problems are down to user error. Having said that, the comment in reply #1 about voltage divider is correct, although omitting it is not usually fatal.
It might be time to rephrase your question, after proper consideration of what is really going on, and include some comment about the status LEDS on Bluetooth, about which you are currently saying nothing. Also, post code in the proper manner, using </> code tags.
xpress_embedo:
With one app you are able to pair, but not with the another app, from which you want to transfer image.
Is this an app from Play Store, or you have developed this app??
If you have developed this app, then the problem might be with the application only and it's working fine with another app.
I think it's better to take help from Android Experts on Android Forum.
One suggestion.
As per your connection diagram, you have directly connected the Arduino and Bluetooth Module, which I think is wrong as Bluetooth Module accepts signals in range 0 to 3.3V.
Use a voltage divider circuit to connect Arduino Tx line with HC-05 Rx line.
It is not the app I developed. One is normal Bluetooth app. When we select any file in the Android phone it will ask me to share right. There will be several options to share (eg wtsup shareit bluetooth). When I select bluetooth I see list of the device connected right. In that list I am not able to see HC-05.
Regarding circuit yes I think it requires 3.3 volt. I will change it. Even though I connected to 5v logic level I m getting data. From the led controller app I mentioned above. Don't know why.
Nick_Pyner:
The above is nonsense, and you do not appear to know the difference between pairing and communicating.
PAIRING is done in the SETTINGS section of Android. You only need to do it once and, once done, they stay paired until you specifically unpair them.
COMMUNICATING is initiated in the app and is terminated when you close the app.
Assuming all the hardware is the same, the fact that you have actually succeeded with the LED controller means that there is nothing intrinsically wrong with Arduino, bluetooth, the wiring between them, or the Android, and rather suggests all your problems are down to user error. Having said that, the comment in reply #1 about voltage divider is correct, although omitting it is not usually fatal.
It might be time to rephrase your question, after proper consideration of what is really going on, and include some comment about the status LEDS on Bluetooth, about which you are currently saying nothing. Also, post code in the proper manner, using </> code tags.
OK. Sorry for the mistakes. I am new to the forum.
Yes I am not able to communicate from the default Bluetooth app present in the Android phone.
LED s are blinking fast before it gets connected. Once I connect from the LED controller app LED blinks slowly.
But when I select any file to transfer from Bluetooth it shows list of device present where I am not able to see HC-05.
prateekvhegde:
Yes I am not able to communicate from the default Bluetooth app present in the Android phone.
I have never heard of "the default bluetooth app", and that might be your problem. Download Bluetooth Terminal and try that instead.
LED s are blinking fast before it gets connected. Once I connect from the LED controller app LED blinks slowly.
That is what the LED is supposed to do. If it works for LED controller app it should work for anything, which rather confirms that the "the default bluetooth app" isn't, and is actually junk.
But when I select any file to transfer from Bluetooth it shows list of device present where I am not able to see HC-05.
This makes no sense at all, and may just be further confirmation that the app is junk.
You might find the following background notes useful
http://homepages.ihug.com.au/~npyner/Arduino/GUIDE_2BT.pdf
http://homepages.ihug.com.au/~npyner/Arduino/BT_2_WAY.ino
OK, I am now guessing that "the default bluetooth app" you allude to is a bluetooth file transfer programme used to send files from Android to PC and your particular Android has one previously installed.
I don't think the usual bluetooth terminal programmes are suitable to send files from Android to Arduino, I just use them to retrieve files from Arduino. I suggest you make sure you have your act together using Arduino and Bluetooth, and then check out threads on file transfer Android>Arduino. You can't be the first to want to do this.
You should check your settings, I think you should find a better app to replace Bluetooth, the shareit app is very suitable for androd, ios that you should refer to, you should google for a download address. down for example https://shareitdownload.net/