i have a Bluetooth speakers that i don't want,and i was wondering if i can use its Bluetooth as a Bluetooth module to use it with Arduino. if so how what pins should i use. here is a pin diagram for the module.
-
it is a bluetooth module ... you could monitor the state of the rx and tx pinsjsotola– jsotola2020年10月02日 02:18:53 +00:00Commented Oct 2, 2020 at 2:18
-
1i don't know which pins to useZohary– Zohary2020年10月02日 02:30:30 +00:00Commented Oct 2, 2020 at 2:30
-
1i got them from a Chinese pdf when i was looking for informationZohary– Zohary2020年10月02日 02:37:48 +00:00Commented Oct 2, 2020 at 2:37
-
1In principle you can use it with an Arduino, though that really depends on what you want to do with it. You didn't explain that.chrisl– chrisl2020年10月02日 06:51:57 +00:00Commented Oct 2, 2020 at 6:51
-
1I thinks those modules are for audio (A2DP) only. Do you want to use it to create a UART (Serial) connection over bluetooth?Gerben– Gerben2020年10月02日 12:46:44 +00:00Commented Oct 2, 2020 at 12:46
1 Answer 1
Bluetooth actually uses many different protocols to support many different Bluetooth applications. For 2 channel good fidelity music with high latency and a very low bandwidth return only suitable for short infrequent commands like PAUSE and PLAY, most use A2DP or Advanced Audio Distribution Profile.
As most Arduino platforms use very low powered processors, good fidelity sound manipulation is not possible or is very difficult. This only leaves the very low bandwidth return channel only suitable for short infrequent commands. If you can imagine a use case for this channel it may be possible to use a low powered Arduino to send these PAUSE, PLAY, STOP type commands.
That said, you may want to buy a new well supported (in the Arduino community) Bluetooth module which uses the HID (Human Interface Device) protocol so you can build a keyboard for example or which uses the SPP (Serial Port Profile) protocol so you can build something that sends arbitrary data.
Added later...
I see in the diagram that there may be an "microphone in pin". If true this hints that the module also supports the Bluetooth HFP (Hands Free Profile) protocol. This is a lower fidelity 2 directional low latency audio channel with a very low bandwidth return only suitable for short infrequent commands like ANSWER and HANGUP. Instead of music this is used to make phone calls. This might be of more interest to Arduino project builders as this might be made into an intercom.