如何配置樹莓派3代的藍芽連線

2021-07-11 18:09:57 字數 2243 閱讀 3606

樹莓派3也直接支援藍芽,使用直接使用自帶命令即可,先開啟要連線的藍芽裝置,然後配置樹莓派:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

pi@raspi3:~ $sudobluetoothctl

[new] controller bb:27:eb:0d:9d:dd raspi3 [default]

[bluetooth]# list

controller bb:27:eb:0d:9d:dd raspi3 [default]

[bluetooth]# power on

changing power on succeeded

[bluetooth]# scan on

discovery started

[chg] controller bb:27:eb:0d:9d:dd discovering:yes

[new] device e8:07:bf:3a:25:aa ndz-03-ga

[chg] device e8:07:bf:3a:25:aa rssi: -66

[bluetooth]# agent on

agent registered

[chg] device e8:07:bf:3a:25:aa rssi: -56

[bluetooth]# pair e8:07:bf:3a:25:aa

attempting to pair with e8:07:bf:3a:25:aa

[chg] device e8:07:bf:3a:25:aa connected:yes

[chg] device e8:07:bf:3a:25:aa uuids:

00001108-0000-1000-8000-00805f9b34ff

[chg] device e8:07:bf:3a:25:aa paired:yes

pairing successful

[chg] device e8:07:bf:3a:25:aa connected: no

[bluetooth]# trust e8:07:bf:3a:25:aa

[chg] device e8:07:bf:3a:25:aa trusted:yes

changing e8:07:bf:3a:25:aa trust succeeded

[bluetooth]# connect e8:07:bf:3a:25:aa

這樣就連上藍芽裝置了,如果是藍芽音響的話還得裝下支援軟體:

1

sudoapt-getinstallpulseaudio pulseaudio-module-bluetooth

樹莓派 連線藍芽耳機

開發板 樹莓派3b 系統 raspbian 樹莓派外接顯示屏後,預設是通過hdmi音訊輸出。我的顯示器是vga介面,通過hdmi轉vga輸出到電腦上,所以沒有聲音。於是採用藍芽耳機進行音訊輸出 一開始,搜尋到我的藍芽耳機,配對成功後馬上斷開,再次連線,提示 connection failed use...

樹莓派如何配置wifi連線

在sd卡根目錄放置乙個檔名為wpa supplicant.conf的檔案,內容如下 country gb ctrl inte ce dir var run wpa supplicant group netdev update config 1 network 新版的樹莓派系統,為了自帶wifi的樹莓...

樹莓派3代上手 初始化配置

其實我也是按照官網的教程一步步來,呵呵。結果我還是沒有用md格式來寫,哎我好懶 installing software in raspbian 這次就按照這裡來 updating upgrading raspbian configuring raspbian raspi config config....