![]() ![]() The two devices will tell each other what they can do and set up security between themselves, so you will also have to make the other device 'visible' within the Bluetooth network. Next you will need to 'pair' your Raspberry Pi with another device so that they can communicate with each other. From here you can name your Raspberry Pi within the Bluetooth network and set whether it can be seen by other devices or not. The first thing you should do is set up the Raspberry Pi's bluetooth adaptor by navigating to Adaptor -> Preferences. If you are not already in desktop mode, type: startxĪnd bring up the Bluetooth manager from the start menu: Menu -> Preferences -> Bluetooth Devices: It is quite possible to control Bluetooth from the terminal window, but it is much easier to use the GUI. This will install bluetooth support, the BlueZ utilities and tools, and a GUI Bluetooth manager. Now you need to install the software that knows what to do with Bluetooth: sudo apt-get install bluetooth bluez-utils blueman bluez python-gobject python-gobject-2 You can read more about updating the operating system in my past article Updating Raspbian on your microSD for the Raspberry Pi 2, which is also applicable for all Raspberry Pi's. You should first update the operating system of your Raspberry Pi using: sudo apt-get update sudo apt-get upgrade Your Raspberry Pi may be able to see the dongle, but it does not know what to do with it. For example: Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.īus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubīus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.īus 001 Device 007: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)īus 001 Device 005: ID 040b:2013 Weltrend Semiconductor This will list ALL the USB devices plugged into your Raspberry Pi. You can check that it is recognised by the Raspberry Pi by opening a terminal window and typing: lsusb The Bluetooth dongle simply plugs into a spare USB port of the Pi (or USB hub). Adding Bluetooth to your Raspberry Pi is a really cheap and simple way of communicating with your Raspberry Pi, allowing you to use a Bluetooth keyboard that you may have for your tablet or games console, control the Raspberry Pi with a Wii controller or transfer files from your phone or laptop. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |