This is my first time working with an Arduino product, the Arduino Mega 2560. I am hoping to transmit audio instructions from the Arduino that'll probably be stored in memory on an SD card such as "go right" or "go left" to a Bluetooth headset, a Plantronics Explorer 390 using the RN-42 Bluetooth module that'll be communicating with the Arduino.
My knowledge with Bluetooth applications is severely limited but this is what I understand from troubleshooting so far.
I've gotten the RN-42 to connect to both my computer and phone using the Arduino. However, it will not connect to my headset. I understand that there are protocols needed for connection. The RN-42 has RFCOMM and so should the headset, so I do not understand why there is error to connect to the headset. Sometimes, the RN-42 will not even pick up the headset's signal to connect.
Any guidance or advice would be greatly appreciated. I am hoping that at this point, I have picked the right parts for this application at the very least.
How are you planning to save this audio data on the Arduino?
Why audio data? The sending Arduino would have to convert the data to digital format, then send it, then the receiver would have to receive it and convert the digital data back to audio format. Then, the audio data would need to be understood somehow, and that understanding used to determine which function(s) to call. Sending digital data would be far simpler.
I haven't looked into the transmission of the data yet. I'll look into digital data but would you happen to know if that type of data is something the headset could receive and understand? I am new to all of this.
Thank you for the information that you've given me so far.
Bluetooth is a complex mulit-layered protocol that works by using high level "Profiles" for different applications. For example the HID profile allows for devices like keyboards and mice to function. The Headset profile is for Audio type devices. SPP is for emulating Serial devices.
Which profile is your Bluetooth module programmed to act as?
Then step one is going to figuring out how to reprogram the firmware to work as an audio profile.
Also when you say "transmit instructions" you mean electronically in some way, right? Because if you meant speak the commands then you're going to need something other than Arduino to process that kind of information.