Arduino BT and Bluetooth headsets?

Hi everyone, i have a question.. I appreciate any help.

Why Arduino BT with Bluegiga WT11 module can't be linked with a bluetooth headset?

In the website of Bluegiga they say it's posible.

I want to do an aplication and i need to know if the Arduino BT will work.

Thank!!

Why Arduino BT with Bluegiga WT11 module can't be linked with a bluetooth headset?

In the website of Bluegiga they say it's posible.

Then, go ahead. Are you having some problem doing it?

I want to do an aplication and i need to know if the Arduino BT will work.

I suspect that would depend, to a large extent, on what the application is. However, I suspect that the headset has something to do with it, which implies audio, which is not the Arduino's strong suit.

Bluetooth has a variety of operating modes. One of the more common is SPP, which basically makes it look like a serial port. Audio devices usually use two or three of other possible modes. You need to make sure your bluetooth device on the arduino side supports this. You then need to support pairing. The device on the arduino side likely needs to initiate this; including supplying the pairing code.

Once you have then pairing and talking, I imagine you'll then have access to an audio stream of some type. What you'll do with that and if you'll have enough processing power to actually do something with it on the arduino are different questions. I suspect you'll need some sort of audio co-processor. Which is likely why PaulS said its not normally Arduino's strong suit.

Thanks a lot, PaulS and gerg for your answers.

Well, my application is very simple. The first thing i need to do is send an audio signal to a bluetooth headset, that's all. I thougth use a Bluegiga module for this, but it would need to do the PCB with all the stuff. Someone told me work with arduino is easier. So I looked and I found a problem...

My problem is that the information about arduino BT and WT11 are contradict:

*Arduino BT info: "The Arduino BT is a microcontroller board originally was based on the ATmega168, but now is supplied with the 328. (datasheet) and the Bluegiga WT11 bluetooth module (details and datasheet [pdf]). It supports wireless serial communication over bluetooth (but is not compatible with Bluetooth headsets or other audio devices)."

*Bluegiga's Answer about if link WT11 with headsets is possible: "Yes it is possible as we support the HFP profile in our firmware."

So, for understand this, the problem is not the module used, the problem is that the arduino capabilities aren't sufficient, is that so?

Thanks again for your help, greetings from Chile

angelo_amadei:
So, for understand this, the problem is not the module used, the problem is that the arduino capabilities aren't sufficient, is that so?

The Bluegiga's firmware was programmed to act as a Serial Port device and not an Audio device.

Bluetooth is a very complicated protocol. Each application uses a different profile.

angelo_amadei:
*Arduino BT info: "The Arduino BT is a microcontroller board originally was based on the ATmega168, but now is supplied with the 328. (datasheet) and the Bluegiga WT11 bluetooth module (details and datasheet [pdf]). It supports wireless serial communication over bluetooth (but is not compatible with Bluetooth headsets or other audio devices)."

...the problem is not the module used, the problem is that the arduino capabilities aren't sufficient, is that so?

Yes, that sounds correct. It sounds like the Arduino BT only supports SPP mode (Serial Port Protocol), whereas it needs to support HFP mode (Hands Free Protocol).

The bluetooth protocol is actually a collection of protocols and modes. Notice SPP and HFP serve two entirely different purposes. Many of the newer, full stereo bluetooth headsets require support for A2DP (Advanced Audio Distribution/Digital (forget) Protocol). Whereas many of the older bluetooth headsets support a different protocol (forget which), which is also far less capable and reliable.

Actually you can make the Arduino BT a bluetooth headset. I am currently working on a project where we are making it headset and doing other things to it as well. Although like the others said, audio is difficult without an external board. As I have found out.

I am using a sparkfun mp3 shield clone that has GPIO ports for the digital audio stream, and some JY-MCU bluetooth modules laying around that work in SPP mode. Does anyone know how to properly send the audio stream from the GPIO header over SPP? Using 192kbit encoded mp3s this sounds feasible to do, I'm just not familiar with accessing the GPIO ports.

I guess I can start by using a scope to take a look at the left/right audio channel data (I think it's only two ports/pins) but I'm unsure if I can simply stream this 'raw' data or not.

If it is as simple as 'repeating' the digital left/right stream to a softwareSerial port via bluetooth in SPP mode then I might try it. I just don't want to waste a lot of time if it is doomed to fail in the end. I'd happily share any positive results. I also 'fixed' the library for this particular mp3 shield which is made by Elecfreaks. (it's the white shield with the onboard joystick) FOR Elecfreaks. The shield is missing a required resistor in it's oscillator circuit and their library did not work at all, so I made several mods to the sparkfun mp3 shield which uses the same vs1053b decoder. The new library and fresh new demos I also wrote for them work perfectly but they have NO support or documentation for the GPIO.

BTW this is a well built mp3 shield, it just needed some TLC. If anyone has the same shield and cannot get it working, I'm happy to assist. It also supports I2C/SPI displays (via the shield's I2C headers) and ID3 tags. I have a demo of one of my custom players here - TSN Review: Arduino Mp3 Shield by Elecfreaks - YouTube

For the video demo I patched the audio to my soundcard's line IN, it has GREAT sound quality. It looked even better with a 20x4 character ice-blue LCD but that was way to big to fit into the enclosure !!

Thanks in advance for any help with the GPIO ports 8)

Hi, I am working on a project which involves an Arduino and a bluetooth headset, does anyone know if it's possible to interface an Arduino with the headset via a bluetooth module, so I can play audio recordings on a Sparkfun MP3 shield?
Any help will be appreciated.

arduinohabib:
Hi, I am working on a project which involves an Arduino and a bluetooth headset, does anyone know if it's possible to interface an Arduino with the headset via a bluetooth module, so I can play audio recordings on a Sparkfun MP3 shield?
Any help will be appreciated.

may i ask you hows the result for your project? since im working on similar project as this now. i hope you can help