Sie sind auf Seite 1von 4

Recent Art icles

Jul 17, 2014


A Simple
Solut ion to
Make Model B
Breakout Boards
Compat ible wit h
t he Raspberry Pi
Model B+
Jul 13, 2014
Int roducing
ModMyPi's New
Case for t he
Raspberry Pi B+
Jul 03, 2014
Adjustable
Camera Mount
Protector
Assembly Guide
Jul 03, 2014
HC- SR04
Ult rasonic
Range Sensor on
t he Raspberry Pi
Jun 27, 2014
6V 60RPM
Motor, Wheel,
Coupler &
Mount
Assembly Guide
Need help?
Customer services
Design suggest ions
Quest ions or queries
IRC Chat
Server: chat .freenode.net
Channel: #ModMyPi
Blog Cat egories
[29] Tutorials
[7] Tutoriaux en Franais
[1] Downloadable Resources
Tags
Raspberry raspberry- pi- camera- mount
raspberry lan address app
raspberry- pi- model- b+- case t utorial Out
Cheat 3v gui- mode int erface raspberry-
pi- camera- board- cable 26 dc ralink vesa
raspberry- pi- distance- sensor raspbmc
put t y storage mot ion- senor motor- bracket
raspberry- pi- real- t ime- clock
Archives
[10] 2014
[22] 2013
[12] 2012
[22] 2011
Apr 04, 2013
Installing the Raspberry Pi Nano Bluetooth Dongle
Introduction
Bluetooth is a useful tool for getting devices communicating wirelessly. If you want your Raspberry Pi interacting
with anything, from a printer, to a mobile phone, to setting up media streaming, bluetooth is the way to go! The
nano dongle available from ModMyPi is the perfect low cost solution, and this guide will show you how to install it.
This guide is completed on Raspian, so the first step is to make sure you have the latest Raspbian Operating System
(OS) installed on your Raspberry Pi. You can download the latest version here: http://www.raspberrypi.org
/downloads
Step 1. Update and Install
A.
There's a few updates we need to run to make sure that our Raspberry Pi's software packages are all spiffy before
we can proceed to installing the software we need for the bluetooth dongle. Skip this step if you're happy that
your Pi's packages are already OK! Make sure you have a decent internet connection on your Pi before
proceeding!
We'll need to make sure we've got the latest firmware drivers by running the following commands:
Sudo apt-get update
(This updates the list of available packages and their versions, but it does not install or upgrade any packages.)
Sudo apt-get upgrade
(This actually installs newer versions of the packages you have. After updating the lists, the package manager
knows about available updates for the software you have installed.)
Sudo apt-get autoremove
(This will then remove all of the reduntant packages after the latest upgrade)
B.
We're now ready to install the software we need to interact with the bluetooth dongle!
Sudo apt-get install bluetooth bluez-utils blueman
Easy :)
I usually turn off my Pi before proceeding with any hardware changes. So switch your Pi off, plug the nano dongle
in, and switch the Pi back on.
Step 2. Plug and Play Command Line Access
This part is for people who feel like having a play from the command line, so ignore it if you're happy with access
via the GUI - which to be honest will allow for the majority of connections!
A.
You can run a quick check on the command line to see if the bluetooth device has been successfully registered:
lsusb
(This will list the currently connected USB devices)
This should yield the following connected device:
Bus 001 Device 005: 1D 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HC1 mode)
B.
You can also check to see whether the bluetooth is live by running the following command:
/etc/init.d/bluetooth status
(This command will give you basic functionality, by replacing 'status' with the following - 'start', 'stop', 'restart',
'force-reload')
Running 'status' should yield the following status message:
[ ok ] bluetooth is running
C.
Next we need to scan for devices:
hcitool scan
This will show any devices in range of the dongle, for example my mobile phone.
68:69:7C:31:9A:75 JAKE-IPHONE
D.
If you want, you can then ping your devices and make sure they're communicating OK! Please note the l2ping
command this is the letter L2ping NOT 12ping (twelveping) - I went around in circles with this one for a while :D
Select Language Powered by Translate
Currency $ Wish List (0) My Account Compare Checkout
Are you new here? Why not login or register
Home Shop The Raspberry Pi Tutorials FAQ's Contact
MY BAG 0 Search
ModMyPi | Installing the Raspberry Pi Nano Bluetooth Dongle https://www.modmypi.com/blog/installing-the-raspberry-pi-nano-blueto...
1 of 4 9/2/2014 10:34 PM
Last update:Apr 30,2013
Related Products:
Nano USB to
Bluetooth Dongle
V2.0
2.99
ADD TO
BAG
Comment s 17 6 Replies
sudo l2ping -c 1 68:69:7C:31:9A:75
Make sure you put in your MAC address - don't just copy the one above :) This pings the device via bluetooth and
will yield the following if successful:
Ping 68:69:7C:31:9A:75 from 00:1B:10:00:ZA:EC (data size 44) . . .
44 bytes from 68:69:7C:31:9A:75 id 0 time 26.88ms
1 sent, 1 recieved, 0% loss
That's probably enough playing for now on the command line, so we'll pick this up via the GUI.
Step 3. GUI Access
A.
Boot to the GUI
startx
Then all you need to navigate to 'start >> preferences >> bluetooth manager' which will bring up the bluetooth
device manager.
From here you can search for and pair with devices, send files, and generally access bits and pieces via bluetooth!
Ma
Jul 27, 2014 12:07
Hello, i've manager to pair my iphone to t he raspberry via bluetoot h. Does anyone knows how to
cont rol pe iphone fron pi? For example answering a call, changing t he music played from iphone
music player...
Reply
Juan Antonio
May 26, 2014 18:26
I t hinks unnecessary packages are installed.
- printer- driver- all printer- driver- c2050
printer- driver- c2esp printer- driver- cjet printer- driver- escpr
printer- driver- foo2zjs printer- driver- gutenprint printer- driver- hpcups
printer- driver- hpijs printer- driver- m2300w printer- driver- min12xxw
printer- driver- pnm2ppa printer- driver- post script - hp printer- driver- ptouch
ModMyPi | Installing the Raspberry Pi Nano Bluetooth Dongle https://www.modmypi.com/blog/installing-the-raspberry-pi-nano-blueto...
2 of 4 9/2/2014 10:34 PM
PREV 1of 3 NEXT
Leave a Comment
* Name: * Comment :
printer- driver- pxljr printer- driver- sag- gdi printer- driver- splix
All t hese are necessary?
I only execute: "sudo apt - get install bluetoot h bluez- ut ils blueman"
Reply
akshay
Mar 10, 2014 17:12
Hi, Thanks for t he above valuable guidance.
How to send/ receive data or files using bluetoot h+linux terminal(commands)...??
Does anyone know of a solut ion?
Reply
Grant
Dec 11, 2013 17:04
Help!! 1st off, t hanks for t he Tut !! Now for t he problem. Everyt hing seems to run fine right up unt il I
t ry to find any bluetoot h devices in range of t he dongle.
When I t ype:
/ etc/ init .d/ bluetoot h stat us
I get back:
[ ok ] bluetoot h is running.
When I t ype:
hcitool scan
I get :
Device is not available: No such device
Furt hermore, no devices show up in t he GUI and every opt ion but "View" and "Help" is grayed out .
Just fyi, t he device t hat I'm t rying to connect has bluetoot h "discoverable" enabled.
Reply
Khan
May 20, 2014 21:37
Hello,
I have exact ly t he same problem as you describe! How can I solve t his?
Regards,
Khan
jurgen lasa
Aug 12, 2014 15:44
I had a similar problem as you have.
I followed everyt hing. Installed t he packages. Turn off my pi. Plugged my BT
dongle. Then started my pi.
I solved it as follows:
I found out t hat if i plugged t he BT dongle direct ly to t he pi, or a powered hub it
works. Init ially i plugged it to an UNpowered hub. Maybe it wasnt powered well?
- horhen
Ollie
Dec 08, 2013 19:22
Useful to know if you are upgrading your firmware/ kernel to latest as of 8/ 12/ 13, t hat is to kernel
3.10.22+, t his dongle will stop working. This is a known regression bug htt ps:/ / bugzilla.kernel.org
/ show_bug.cgi?id=60824. Anot her useful bit : rpi- update can also downgrade t he kernel/ firmware if
you happen to do what i did and upgrade to latest only to find out t hat t he dongle stops working.
Reply
Julian Cocoa
Oct 07, 2013 06:24
Im looking for a solut ion to send data from an iPhone to t he raspberry. Does it also work wit h iOS
devices?
Reply
ModMyPi | Installing the Raspberry Pi Nano Bluetooth Dongle https://www.modmypi.com/blog/installing-the-raspberry-pi-nano-blueto...
3 of 4 9/2/2014 10:34 PM
Verificat ion code:
Informat ion
Home
About Us
Delivery Information
Returns Policy
Privacy Policy
Terms & Conditions
Find us on Google+
Customer Service
Contact Us
Site Map
My Account
My Account
Order History
Wish List
Newsletter
Submit
Keep in t he loop
Your Name
Your Email
* E- mail: (Not Published)
Website: (Site url wit h ht t p:/ / )
Submit
ModMyPi | Installing the Raspberry Pi Nano Bluetooth Dongle https://www.modmypi.com/blog/installing-the-raspberry-pi-nano-blueto...
4 of 4 9/2/2014 10:34 PM