I am working in a project on arduino uno that loads a sound file from the sd card depending on the ultrasonic sensor inputs. Is it possible to use this module and pair it with a bluetooth headset to act as output ?
I don't think so. I believe it has something to do with the bluetooth protocal, and is not an arduino problem. I believe there was a recent thread on this.
I just ordered a bluetooth module along with the sd card reader/writer but I've yet to use them so I quite possibly could be wrong but only thing i can think of that won't work is if you're trying to use a bluetooth slave module to send to another bluetooth slave (ur headset). you need a bluetooth master module.
but again i've never actually used any of these yet soo.. feel free correct me forum people
bmarconi:
but only thing i can think of that won't work is if you're trying to use a bluetooth slave module to send to another bluetooth slave (ur headset). you need a bluetooth master module.
There's more to it than that.
I'm not sure it's not possible, but I'd be very surprised to learn one could easily use a HC-05 to transmit audio from an Arduino.
I can find a variety of Bluetooth modules intended to receive audio but I didn't see any which would transmit audio.
The HC-05 could transmit digitized audio but you'd need a program on the receiving side to convert this data back to sound. You wouldn't be able to transmit it a Bluetooth speaker. The digitized audio would likely be pretty low resolution since I doubt you'd be able to transmit at more than 115200bps (likely the data rate would be much lower than 115200).
Reflecting on this: I understand the HC-05 just works as a plain old RS232 replacement, the profile being SPP.
You appear to want to make some sort of Jukebox. There is a different bluetooth profile called A2DP - Advanced Auddio Distribution Profile - which is specifically for this sort of work. You may therefore conclude that, in the unlikely event that an HC-05 would work at all, it is a pointless exercise and you would be wasting your time.
There was thread yesterday about some weird bluetooth module. It looked like an HM-10 with some audio chip. This may be what you are looking for.
HC-05 can do up to 1.3824Mbits/sec.. Does not support audio profiles, afaik..
pito:
HC-05 can do up to 1.3824Mbits/sec.. Does not support audio profiles, afaik..
I've read these high speeds don't work reliably. Have you tried using a HC-05 with a faster bit rate than 115200bps?
In any case, I think it's safe to say the HC-05 isn't the appropriate device for transmitting audio.
Here are a few Bluetooth audio gizmos I thought looked interesting.
Receiver http://www.banggood.com/LN-BT02-Stereo-Smart-4_0-Bluetooth-Audio-Receiver-Module-p-978374.html
Transmitter[http://www.banggood.com/3_5mm-2_4GHz-Bluetooth-Audio-
Transmitter-A2DP-Stereo-Dongle-Adapter-p-1023912.html](http://www.banggood.com/3_5mm-2_4GHz-Bluetooth-Audio-Transmitter-A2DP-Stereo-Dongle-Adapter-p-1023912.html)
Receiverhttp://www.banggood.com/AD20-BT-3_5mm-Wireless-Bluetooth-V3_0-Home-Car-AUX-Stereo-Audio-Music-Handsfree-Receiver-p-1006378.html
Transmitter[http://www.banggood.com/TS-BT35F02-Bluetooth-A2DP-Audio-Music-Streaming-Transmitter-Car-AUX-Home-p-978183.html](http://www.banggood.com/TS-BT35F02-Bluetooth-A2DP-Audio-Music-Streaming-
Transmitter-Car-AUX-Home-p-978183.html)
I only looked through the first 10 pages of the 40 pages returned from my "Bluetooth" search.
I don't think you'll want to try to pass the audio data through the Arduino. You'd probably be better off having the sound files on the device which will be playing them and just use the Arduino to send selection information to the output device.