Raspberry Pi Adventures

Join me on my fun ride

Install Bluetooth Dongle on Raspberry Pi

4 Comments

Using OS : 2012-08-16-wheezy-raspbian

I already had a Bluetooth dongle lying idle at home so just hooked it in and started my RPi

1. On boot i typed the following command to see if my connected dongle was visible.
$lsusb

This returned the following line to make sure that the dongle was detected
Bus 001 Device 004: ID 1131:1001 Integrated System Solution Corp. KY-BT100 Bluetooth Adapter

2. Then typed in
$lsmod

This returned
bluetooth 166552 23 btusb,rfcomm,bnep

3. Now to install bluetooth package
$sudo apt-get install bluetooth

Note: Installation takes a while relax and enjoy for the time

4. Now after the installation is completed, run the following to get the status.
$/etc/init.d/bluetooth status

This is returned if all is good
[ ok ] bluetooth is running.

5. Now you can find your blueetooth address using the following command
$hcitool dev

This returns something like this
Devices:
hci0 00:11:67:10:80:F0

6. Now we can scan for nearby devices using the following command
$hcitool scan

This returns
Scanning ...
54:9B:12:99:36:61 YourBluetoothDevice

7. Now we can run a small test to connect to the following device
$sudo l2ping -c 1 54:9B:12:99:36:61

This returns
Ping: 54:9B:12:99:36:61 from 00:11:67:10:80:F0 (data size 44) ...
0 bytes from 54:9B:12:99:36:61 id 0 time 19.28ms
1 sent, 1 received, 0% loss

Success πŸ™‚

References
Brian’s Life: Wii Controller + Raspberry Pi + Python = Awesome!!
Dream Green House β€’ Projects β€’ Raspberry Pi & Bluetooth

 

Advertisements

Author: Sanket Sonavane

Sanket Sonavane Software Developer, IoT Enthusiast, Photographer, Bike Rider, Chef, AndroidUser, MacOSXNewbie & 3x3x3 Cuber ;) Loves computers, programming, web developement, micro-controllers, gadgets, automation and many more such tech innovations that defines the way we live in the modern age and likes to explore what more can be done to help the human race :)

4 thoughts on “Install Bluetooth Dongle on Raspberry Pi

  1. Very good & very useful for me. Thanks a lot

  2. Hi, a great tutorial/howto. Worked like a charm for me and my old bluetooth stick πŸ™‚

  3. Very useful so far, I am making a Jarvis system for a room with a raspberry pi and i need to integrate your tutorial with this tutorial (https://sites.google.com/site/observing/Home/speech-recognition-with-the-raspberry-pi) do you think you can help. I am bit stuck on setting the Bluetooth device as the default audio input.

  4. Very useful thanks! I have a connection now via blue tooth.
    I need to discover how to route to the pi using ssh through the blue tooth now though.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s