Questions tagged [bluetooth]
For questions pertaining to Bluetooth setup, usage and troubleshooting on the Raspberry Pi, whether onboard or via a USB dongle.
806
questions
1
vote
2
answers
35
views
Can't play audio via BT from systemd service
I have a Pi0 which I am using to play radio or local music files via a BT speaker (see https://github.com/WhyNine/pi-radio-music for the full source code). The code is written in perl and I am using a ...
1
vote
0
answers
24
views
Issue with connecting ELM327 bluetooth adapter to raspberry pi, Bullseye latest OS
I am trying to read OBD data from ELM327 BT Adapter. I have paired it successfully, and bind using rfcomm is also OK. However, while running the obd python module I am getting the following error:
>...
1
vote
0
answers
23
views
Stadia gamepads & pi4b bullseye bluetooth disconnects
All right,
My setup consist of a RPi 4b 4gb, 4 stadia controllers, Raspberry Pi OS Bullseye.
OS on SSD connected through powered USB3 hub, also a Coral USB connected. Power should be ok.
The ...
1
vote
0
answers
29
views
How to turn PI4 into a IOT device , discoverable and configurable via mobile app (Wifi P2P or BLE) [closed]
I've created a simple camera system on the PI 4 which I want to be discoverable with a custom android app.
The should find the PI device, then automatically connect, then mobile app will share the ...
1
vote
0
answers
22
views
Bluetooth wont start at Raspberry Pi zero 2
When I run
sudo systemctl status bluetooth.service
it shows loaded but not started.
start command wont work. I have to use btusb first.
>>> sudo modprobe btusb
>>> sudo systemctl ...
1
vote
1
answer
145
views
Can't use Bluetooth COM ports from Windows 10
I have a Raspberry PI 3 model B, with built-in Bluetooth hardware, and I'm running the latest Debian distro on it (Linux raspberry 5.15.61-v7+).
I successfully paired and connected from Raspberry (...
2
votes
1
answer
70
views
Raspberry Pi 4B Ubuntu 22.10 Bluetooth scan successful but fail to pair
My mouse stopped working a few days ago and is unable to work since then.
I tried but fail to pair it again through either Terminal or Settings > Bluetooth. The Bluetooth right now is able to ...
0
votes
0
answers
26
views
Fire Tv audio out put to Raspberry PI Speaker
I am currently looking to connect my Fire TV Stick and Echo Show 5 to my Soundbar that has only optical port, Line in Aux and no HDMI ! It also has inbuilt Bluetooth 5.0 !
Mostly I am looking for help ...
1
vote
0
answers
70
views
Bluetooth on my Raspberry Pi 2B does not work
My Pi is 2B Rev1.1
I connected HC-08 Bluetooth module on pin8,10.
I use Raspberry Pi OS.
In /boot/configuration.txt
enable_uart=1
In /boot/cmdline.txt
console=tty1 root=PATUUID=e77fdc5c-02 ...
3
votes
1
answer
127
views
Raspberry Pi incorrectly detected as a Bluetooth AUDIO device by Windows
The problem I have is the following: when setting my Raspberry Pi Bluetooth as discoverable, then pairing from a Windows laptop, the Raspberry is incorrectly identified as an audio device, as can be ...
1
vote
0
answers
88
views
Why does a Bluetooth LE Scan include unknown duplicates?
When I perform a Bluetooth LE Scan on my Raspberry Pi 4B (Debian Bullseye) with hcitool why does it include (unknown) entries with the same MAC address as an already listed named item?
pi@raspberrypi:~...
0
votes
0
answers
218
views
Bluealsa on Pi Zero can not be installed
I am trying to install bluealsa package but getting this error :
pi@raspberrypi:/usr/libexec/bluetooth $ sudo apt-get install bluealsa
Reading package lists... Done
Building dependency tree... Done
...
1
vote
0
answers
113
views
Bluetooth stopped working on Raspberry Pi 4
Bluetooth was working fine on my Bluetooth stopped working on Raspberry Pi 4 and then just it stopped turning on even on the GUI.
The rfkill list shows the following results:
0: phy0: Wireless LAN
...
2
votes
0
answers
91
views
Problem with the import bluetooth!
I have tried a lot of this lines programs but the terminal it keep's complaint.
Error message:
Import Error:No module named bluetooth._bluetooth
I have install some lib but again the problem it shows. ...
0
votes
0
answers
38
views
How to get board game pawns position
I am building a semi-digital version of the famous Monopoly game.
For this, I'm using a screen with a Bubble.io app for the interface:
Now, I would ideally like to detect the physical position of the ...
1
vote
0
answers
43
views
Car bluetooth receiver with CANBUS for speed sensitive volume and steering wheel controls?
After reading on some canbus control packages, I'm confident that a raspberry pi based bluetooth receiver can be made so that it understands vehicle speed and increases volume as the vehicle speeds up ...
0
votes
0
answers
91
views
Bluetooth 1200ms delay on Raspberry Pi using bluez (GATT Server)
I have set up GATT server on Raspberry Pi, and I am experiencing huge delay of about, 1200ms. To check delay, I am using nRF Connect on iPhone. I am using Raspberry Pi zero w and bluez bindings for ...
1
vote
1
answer
221
views
Raspberry PI fails to connect to BLE Device but a Linux Laptop connects successfully
Problem:
A python based BLE central program, when run on a Raspberry Pi, failed to connect to BLE peripheral device (a custom board based on Nordic processor).
The same python program successfully ...
2
votes
0
answers
70
views
Headless Pi auto-pairs to tablet, but if the tablet drops the pair then the controller won't re-pair
tl;dr
...how do Bluetooth speakers with only an On button rebuild a broken pair?
background
If you want to build a robot with no user interface that connects to a tablet, you build the Pi to enable ...
1
vote
0
answers
73
views
Raspberry Pi Zero 2 Bluetooth connection issues
I managed to succesfully pair my Raspberry Pi Zero 2W with my android phone via bluetoothctl but I cannot get it to connect on startup.
*@raspberrypi:~ $ uname -a Linux raspberrypi 5.15.74-v7+ #1595 ...
1
vote
0
answers
76
views
Auto accept bluetooth pairings
I want to automatically accept Bluetooth pairings with any device that wants to connect, I tried all answers (without python ones) from this question:
Automatically accept bluetooth pairings
But they ...
0
votes
0
answers
89
views
No hci0 interface on RPi3
There is no bluetooth interface available on my RaspberryPi 3.
This is me executing the commands to some general information that might be relevant:
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 5.15....
0
votes
1
answer
118
views
How to send data between two already configured HC-05 modules
I'm new to electronics and microcontrollers, and I'm building an small project in which I'd like to send information from a master HC-05 bluetooth module to an slave one, I've already synced them ...
2
votes
2
answers
80
views
Launch a Bluetooth Low Energy command after raspberry startup
I wrote a command in swift that uses the internal bluetooth low energy module of my Raspberry PI 4. This command must be launched as superuser.
Everything works perfectly if I launch the executable ...
1
vote
1
answer
86
views
If I install bluetooth on raspberry pi, will this mean I won't need a bluetooth wifi dongle etc
I just discovered you can install bluetooth on the pi.
Does this mean that when pairing devices I wouldn't need dongles and such?
I have the pi2 and 4.
0
votes
1
answer
163
views
Can't install PyBluez2 on Raspbian
Title - I can't install pybluez2:
bluetooth/linux/bluez/btmodule.c:20:10: fatal error: btmodule.h: No such file or directory
20 | #include "btmodule.h"
| ^~~~~~~~~~~~
...
0
votes
0
answers
64
views
Python script is using 3.5mm jack instead of Bluetooth speaker
I am trying to use a python script which works fine as intended. Even the Bluetooth speaker is working fine with this RPi when playing some audio or video file through GUI.
The only problem I am ...
0
votes
0
answers
57
views
Can Raspberry Pi receive a smartphone screen feed wirelessly and display on LCD screen?
I am envisioning an application and trying to decide if Raspberry Pi could be the right platform for this.
I have a 4" LCD screen which can be powered by a Raspberry Pi. The idea is to mirror the ...
1
vote
0
answers
830
views
Failed to pair: org.bluez.Error.ConnectionAttemptFailed
Failed to pair: org.bluez.Error.ConnectionAttemptFailed.
I am trying to connect my Bluetooth joystick controller '8bitdo Pro 2' to my RPi4. Below is the error I get. This appears to be the same error ...
0
votes
0
answers
285
views
Raspberry Pi 4 autoconnect Bluetooth HC-05
I am currently using raspberry pi 4 in my school project and i would like the Pi autoconnect during startup. However, i failed to do that.
i have tried:
File rc.local
crontab -e
My python script can ...
1
vote
1
answer
40
views
bluetoothd CPU usage constant at 100 %
I've had this problem for a few months where the Pi 4 gets very hot to the touch, and it invariably turns out that bluetoothd is stuck at 100 % CPU usage, saturating one core. Currently htop tells me ...
0
votes
0
answers
20
views
Can I use Rasberry Pi's network by Bluetooth tethering
I saw that it provides the Internet of PC/SMART PHONE to Raspberry through Bluetooth tethering.
Could it be the other way around?
I want to connect the network connected to the Raspberry Pi via LAN to ...
0
votes
1
answer
321
views
Can I use an HM10 connected to a Raspberry Pi Pico to read from a BLE notification?
I have a Raspberry Pi Pico and would like to read BLE notify data from an external sensor should using an HM10. I've seen the HM-10 datasheet and don't see anything there that would be of help. Is it ...
0
votes
0
answers
188
views
Automatically accept bluetooth devices
Disclaimer: I am a beginner.
I'm trying to setup my pi 1 model b+ as a bluetooth audio reciever i followed the steps on here: https://github.com/nicokaiser/rpi-audio-receiver. running the newest pi os ...
2
votes
1
answer
101
views
GPIO only outputs 1.8V when using Bluedot
I have setup a basic circuit to control a relay using a Raspberry Pi 4B. I have tried controlling it with both a push button and the Bluedot app. When implementing with the push button, the GPIO pins ...
0
votes
0
answers
55
views
bluetooth pan priorization over 4G in iphone
So, I created a Bluetooth PAN connection between the raspberry and the iphone using the following:
How can I set up a bluetooth PAN connection with a Raspberry Pi and an iPod?
everything went ok, the ...
0
votes
0
answers
792
views
Setup external Bluetooth usb dongle
I want to use an external Bluetooth 5.1 USB adapter on Pi4. The chip on the adapter is Realtek RTL8671b. I googled how to get an external BT work and most of the tutorials suggest disabling the ...
0
votes
1
answer
249
views
Let the Raspberry Pi be recognised as USB mouse and forward signals from a bluetooth mouse?
I am not sure whether this is the correct stackexchange section.
I would like to find a solution to use a Raspberry Pi Zero 2 W in a chain like this:
Bluetooth mouse/trackpad -> Raspberry Pi Zero 2 ...
0
votes
0
answers
20
views
How can i switch my Audio Source between bluetooth and a .mp3 file from my directory?
I have plugged a USB-Speaker to my raspberry pi. My goal is, to connect my phone via bluetooth to the raspberry and play a sound on my USB-Speaker over bleutooth. On the other side, I want to be able ...
1
vote
1
answer
125
views
mi home bluetooth thermometer 2 how to connect
I bought this device hoping to use it with my hobby project, a programmable home thermostat based on a Raspberry Pi board.
Using Python and the BLEAK library, I can find it on a BLE scan quite easily:
...
0
votes
0
answers
105
views
Can I disable Bluetooth Bonding on a Raspberry Pi?
Just to get things straight, since the Androids documentation uses these terms interchangeably and makes everything more confusing.
Pairing is the exchange of temporary encryption keys, which ...
0
votes
0
answers
312
views
Bluetooth serial connection between Pi and MacOS Monterey on M1 Macbook both with builtin bluetooth
How do I connect a Raspberry Pi 4 Model B Rev 1 to an M1 Macbook Pro 16" using rfcomm over a Bluetooth connection?
I'm able to connect the devices via Bluetooth but then not over the Bluetooth ...
0
votes
1
answer
168
views
How to connect Raspberry PI 3 B to two Bluetooth modules or more using Linux Commands
I'm working on a project; that needs to send data from the two Arduinos using two Bluetooth Module (One using HC-06 and the other using HC-05) to Raspberry PI 3 B; so that the RPi 3 need to connect to ...
0
votes
0
answers
291
views
Is there a way to control the 64 bit Raspberry PI OS with an XBox Controller?
With the 32 bit Raspberry Pi OS (32 bit Raspbian), many people recommend using the xboxdrv driver for acting as a mouse substitute to control Raspberry Pi OS. It will map “A” as left click, “B” as ...
0
votes
0
answers
203
views
pybluez bad install
Yesterday I installed my Raspberry Pi OS Lite (Debian Bullseye) using Raspberry Pi imager on my Mac. Everything in the most straightforward, up-to-date version.
Today I began working with Python. ...
0
votes
0
answers
132
views
switch pro controllers bluetooth raspberry pi steam link not working
I have the following setup:
3 switch pro controllers paired with blueman bluetooth
Raspberry Pi 4 Model B Rev 1.2
Raspbian GNU/Linux 10 (buster)
latest steam link to my windows 10 pc
as long as I ...
0
votes
0
answers
97
views
bluetooth network traffic monitoring
Is there anything that I can use to monitor my Bluetooth traffic just like the resource monitor in windows? I encounter nethogs in raspi but it only monitors wifi network. I want to know the B/sec of ...
0
votes
0
answers
46
views
Bluetooth on raspberry 4 without Linux
I'm working on non-Linux compliant OS and now trying to enable bluetooth on Raspberry Pi 4.
I have some necessary drivers such as: gpio, uart (pl011 and mini-uart), mailbox and expgpio through that ...
0
votes
0
answers
59
views
Connecting Raspberry Pi to Two HC-05
I am working on a project that requires me to use a Raspberry Pi 3B+ to read frequently published (< .1 sec) data from two HC-05 devices and write that data to a file. Is this possible or do I have ...
0
votes
0
answers
36
views
Running script from cmd for bluetooth connection
my project requires data transfer with android app via bluetooth. I’ve tested the code by running it in thonny and it works fine. Since I want to run the script as soon as raspberry pi boots up, I ran ...