Questions tagged [bluetooth]

For questions pertaining to Bluetooth setup, usage and troubleshooting on the Raspberry Pi, whether onboard or via a USB dongle.

Filter by
Sorted by
Tagged with
1 vote
1 answer
32 views

Can't play song on startup using Python and rc.local

I have a python app called main.py, that runs upon startup using rc.local. During this app's runtime, it runs an external bash script 'play.sh' that runs vlc to play a song. The code in the 'play.sh' ...
Dave Listman's user avatar
0 votes
1 answer
40 views

Bluetooth and UART raspberry pi zero w

My objective is to get both data from VN200 GNSS/INS sensor (using GPIO14/15) and heart rate monitor strap Polar H10 (using Bluetooth) at the same time for synchronization. Bluetooth on pi zero w by ...
CoffeePlease's user avatar
1 vote
0 answers
26 views

Can I connect to bluetooth audio and send audio OUT while using an external sound card for audio IN?

Sometime ago I used this helpful tutorial: How can I use an external USB sound-card and set it as default? to set my external USB sound card as my default. This has been great for me as I use external ...
M0nst3rM0vi3's user avatar
1 vote
2 answers
60 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 ...
WhyNine's user avatar
  • 53
1 vote
0 answers
32 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: >...
Satyajit Neogi's user avatar
1 vote
0 answers
49 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 ...
Ivan's user avatar
  • 11
1 vote
0 answers
37 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 ...
Tommy Geerts's user avatar
1 vote
0 answers
53 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 ...
Marcel Kopera's user avatar
1 vote
1 answer
291 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 (...
mariusmmg2's user avatar
2 votes
1 answer
135 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 ...
yts61's user avatar
  • 121
0 votes
0 answers
33 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 ...
Vish's user avatar
  • 1
1 vote
0 answers
110 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 ...
Daniel's user avatar
  • 11
3 votes
1 answer
236 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 ...
Learning_Robots_dev's user avatar
1 vote
0 answers
151 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:~...
A Dark Divided Gem's user avatar
0 votes
0 answers
420 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 ...
sticletele's user avatar
1 vote
0 answers
223 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 ...
mohamed tahan's user avatar
2 votes
0 answers
126 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. ...
Lilfio's user avatar
  • 21
0 votes
0 answers
45 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 ...
vnihoul77's user avatar
1 vote
0 answers
57 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 ...
J. Doe's user avatar
  • 11
0 votes
0 answers
109 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 ...
MN_XD's user avatar
  • 11
1 vote
1 answer
294 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 ...
ugmurthy's user avatar
2 votes
0 answers
78 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 ...
Phlip's user avatar
  • 308
1 vote
0 answers
100 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 ...
WPA3's user avatar
  • 11
1 vote
0 answers
104 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 ...
MN_XD's user avatar
  • 11
0 votes
0 answers
115 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....
cheesus's user avatar
  • 121
0 votes
1 answer
152 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 ...
Rodolfo BocaneGra's user avatar
2 votes
2 answers
99 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 ...
Andrea's user avatar
  • 123
1 vote
1 answer
89 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.
Nickotine's user avatar
  • 113
0 votes
1 answer
289 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" | ^~~~~~~~~~~~ ...
Standard's user avatar
  • 113
0 votes
0 answers
77 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 ...
Ayaan Rehman's user avatar
0 votes
0 answers
90 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 ...
JDS's user avatar
  • 121
1 vote
0 answers
1k 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 ...
Roger Mckee's user avatar
0 votes
0 answers
330 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 ...
Haziq Hasbulah's user avatar
1 vote
1 answer
49 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 ...
Andreas's user avatar
  • 175
0 votes
0 answers
36 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 ...
Josh's user avatar
  • 1
0 votes
1 answer
381 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 ...
b73hdh's user avatar
  • 1
0 votes
0 answers
218 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 ...
Ziad Zaitoun's user avatar
2 votes
1 answer
112 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 ...
Nathan De Meyer's user avatar
0 votes
0 answers
65 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 ...
Kelvin Henrique's user avatar
0 votes
0 answers
1k 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 ...
Zaffresky's user avatar
0 votes
1 answer
329 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 ...
ben's user avatar
  • 1
0 votes
0 answers
22 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 ...
Manuel Neff's user avatar
1 vote
1 answer
152 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: ...
Joymaker's user avatar
  • 109
0 votes
0 answers
132 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 ...
santiago's user avatar
0 votes
0 answers
359 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 ...
Greg Pagendam-Turner's user avatar
0 votes
1 answer
202 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 ...
RUSH MANIA's user avatar
0 votes
0 answers
353 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 ...
edt11x's user avatar
  • 101
0 votes
0 answers
258 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. ...
Joymaker's user avatar
  • 109
0 votes
0 answers
152 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 ...
Alex's user avatar
  • 101
0 votes
0 answers
104 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 ...
ambangeles's user avatar

1
2 3 4 5
17