Main Content

Pair aBluetoothDevice and Retrieve theBluetoothDevice Address

You can pair the Bluetooth®device to your host computer and retrieve the Bluetooth device address or serial port based on your operating system. Before you pair, make sure that the Bluetooth device is connected to the Arduino®board and is powered properly.

检索BluetoothAddress forWindows

Find theBluetoothAddress for HC-05 and HC-06

  1. UnderControl Panel, open theDevices and Printerssection.

  2. Right-click on the HC-05 or HC-06 Bluetooth device, and selectProperties.

  3. Click theHardwaremenu, and then clickProperties.

  4. Click theDetailsmenu, and then select thePropertyasBluetooth Device Address. TheValueis the Bluetooth address of the device.

  5. Enter the Bluetooth device address on thearduinosetupinterface and clickNextto configure the device.





检索BluetoothAddress forMac

Find theBluetoothAddress for HC-05 and HC-06

  1. Before your pair HC-05 and HC-06 Bluetooth devices to your Mac, right-click onPairunderOpen Bluetooth Preferencesin the Bluetooth menu. You see the Bluetooth address of your device.

  2. Enter the Bluetooth device address without dashes as an hexadecimal string on thearduinosetupinterface, and clickNextto configure the device.

Related Topics