Bluetooth EarBuds with Mic for Voice Recognition On Raspberrypi 3 - bluetooth

Please has anyone had success on using bluetooth earbuds with mic for voice recognition on the raspberrypi 3.Can't seem to get the pi to use the bluetooth earbuds as both input for the speech and output through the earbuds. Tried connecting using the inbuilt bluetooth on the pi 3. Any suggestions on how to go about this? Thanks

Unfortunately,I would have to believe the inbuilt bluetooth has some problems or doesn't support that yet. By using a bluetooth dongle I was able to set the active profile to HSP and it works well. Thanks to the detailed steps explained here http://youness.net/raspberry-pi/bluetooth-headset-raspberry-pi-3-ad2p-hsp .Minimal versions needed for HSP (A2DP included) are: Bluez 5 / PulseAudio 6. Thanks

Related

Receiving data from a BLE device to a raspberry Pi3

I never used a raspberry pi before and I have a project part of which includes receiving data from a BLE blood pressure device over Bluetooth to a raspberry pi 3. I can pair the device to my raspberry but I have no idea what to do next. I need to be able to receive the measurements in my raspberry please help and thank you in advance.
PS: the device I'm trying to use is very similar to this one:
https://ibb.co/71365k5
Thanks for your answers, I have tried "Gatt" and "Gatttool" but the problem is after pairing the device is meant to send the measurement to its application on an android phone, without it I cannot read the blood measurement characteristic or it just does not exist.
Linux uses BlueZ as a default bluetooth stack. It exposes DBus APIs for implementing software using Bluetooth.
If you don't want to use this API directly, which can sometimes feel a bit low level you have many libraries that wrap it, such as https://github.com/getsenic/gatt-python that also comes with examples.
All other solutions requires replacing the Bluetooth stack on Linux and hence your other existing Bluetooth pairings to the system will stop working.

Bluetooth dongle BLED112 on Debian 10 is not working

I just randomly found a Bluegiga BLED112 Bluetooth dongle and I tried to connect it to my Debian 10 laptop as a basic dongle for Bluetooth audio outs.
Unfortunately I wasn't able to solve all the issues I had, starting from the fact that the device is not fully listed once used lsusb and just a mere ID number - namely ID 2458:0001 - pops out and bluetooth or bluez helps weren't successful either.
This given, I tried to follow several of the guides you can find online, also by running available scripts, but again nothing worked.
So if it's possible, what should I do in order to run such a dongle for the basic use I mentioned above - i.e. just for connecting my stereo speakers to my computer?
Thanks
The BlueGiga BLED112 is not a regular Bluetooth USB dongle. It gives you a virtual com port that can be used to access an API that in turn acts as a BLE device.
It is ment to be used for development of IOT solutions.
Also it does not support Bluetooth Classic, it only supports Bluetooth Low Energy.

Bluetooth Speaker support with Bluez 4.101

I would like to know if audio streaming using external bluetooth speaker is supported with bluez 4.101.
I have tried the same using bluez 5.43 on Raspberry Pi and it works well with bluetoothctl and aplay.
However,I could not find bluetoothctl in bluez 4.101 and on connecting with rfcomm command, I am unable to stream music even when the speaker is connected.
Finally, I need to bring in the streaming feature on OpenWRT platform, so it would be really helpful if anyone could provide any leads on this.

DIY Google home using PC and BT speaker with mic

I have this BT speaker , with in built mic , http://www.intex.in/speakers/bluetooth-speakers/it-11s-bt
i want to build something like google home with it , using python .Please guide me.
There seems to be a lot of issues with using a bluetooth speaker & mic combo on the raspberry pi. Most people have an issue getting the mic to work. This thread discusses some of the issues. This extensive post describes needing a bluetooth dongle
You may be better off using it as a speaker and then buying a separate mic.
Then just connect the blutooth speaker to the pi (from the top right of the screen) and plug in the microphone and run through this tutorial.
I've read a couple articles and comments that suggest the reason why bluetooth is not an ideal setup is because BT and WIFI both use the same 2.4 Ghz band and slow each other down / disconnect when used simultaneously. My advice would be to do what I did: run a usb mic with an extension cable from inside a cabinet or entertainment unit and connect it to your audio system or run a 3.5 mm headphone jack extension too.
I've been writing a tutorial that is for beginners and is super easy to follow. All the steps to get it up and running (step 3) and monitor-free (step 4) are there.
I'll be working on it throughout the summer, adding the LED support, similar to G Home. Best of luck!

Bluetooth HFP on the Raspberry Pi

i am trying to connect my raspi with a BT-Headset with the build in bluetooth. it is working with pulseaudio 5.0 and bluez 5.23.
But the thing is it just supports A2DP. i want to use it as a real Headset so i Need HFP. I read that bluez 5 doesnt Support this Profile anymore and with pulseaudio 5 and bluez 5.23 it wont work.
Now i got a bluetoothdongle with my Headset and if i am using the bluetoothdongle instead the buildin Bluetooth it is working. i can record Sound. But i get a better Audio Output with the build in (with dongle it is lagging) . Maybe it is because the dongle uses the hfp Profile directly and therefore the Audio ouput isnt that good anymore.
So i was wondering if this is gonna work with every Bluetoothdongle which supports the HFP/HSP Profile.
And my other question is how does pulseaudio and bluez work together. and how would the BT-dongle would work with pulseaudio together?
Bluez 4 supported hfp and hsp. pulseaudio 5 is backwards compatible so this would be an Option i think. does anyone has tried it?
thanks

Resources