Javascript required
Skip to content Skip to sidebar Skip to footer

Raspberry Pi 3 Upload Pictures With Bluetooth

The newest device from the Raspberry Pi Foundation, Raspberry Pi 3 Model B, comes with both congenital-in Wi-Fi and Bluetooth 4.1. Like with most things Raspberry Pi, information technology doesn't come up working out of the box, though. Even after y'all install NOOBS or Raspbian, yous still have to do some work to get Bluetooth up and running.

Fortunately, information technology'southward not very difficult or time consuming, but it volition take minimal knowledge of the console (Terminal). Here's how it'southward done.

(If you don't yet have i yet, back up and read why Raspberry Pi is correct for you.)

Why Bluetooth?

raspberry-pi-pair-bluetooth.jpg
Taylor Martin/CNET

First, why would you even need Bluetooth on Raspberry Pi?

By default, it tin can't be used for audio. The Raspberry Pi is set up to employ either HDMI or 3.5mm output for audio. In social club to go Bluetooth sound working, yous will need to do a considerable amount of additional work.

Namely, the biggest reason for using Bluetooth is to free up ports on the board. Out of the box, you volition need a wired mouse and keyboard, or wireless peripherals with dongles that plug into the USB ports. This ways that correct out of the gate, you're taking upwardly two out of your four precious USB ports that you'd probably rather be using for USB drives or other important peripherals.

Bluetooth also gives you some additional range. A lot of people like to use the Raspberry Pi equally a media hub, which means they're sitting on the burrow, across the room from the Boob tube, where their Raspberry Pi is plugged in. Y'all no longer need to stretch a cable beyond the room to control your media hub (or bargain with finicky Bluetooth adapter dongles).

Additionally, you lot might desire to chop-chop transfer files betwixt your Pi and other devices. Bluetooth will work for this case, merely merely for transferring files from the Raspberry Pi to another device, unless you go through the effort of setting upward an OPP Server.

Concluding

The quickest way to go your Bluetooth devices paired to your Raspberry Pi is through Final.

Taylor Martin/CNET
  • From the Raspberry Pi desktop, open a new Terminal window.
  • Type sudo bluetoothctl and then press enter and input the ambassador password (the default password is raspberry).
  • Adjacent, enter agent on and printing enter. Then type default-agent and printing enter.
  • Blazon scan on and press enter ane more time. The unique addresses of all the Bluetooth devices effectually the Raspberry Pi will announced and look something like an alphanumeric XX:Twenty:XX:XX:XX:XX. If you lot make the device you want to pair discoverable (or put information technology into pairing mode), the device nickname may appear to the right of the address. If non, you will take to do a little trial and error or waiting to find the correct device.
  • To pair the device, blazon pair [device Bluetooth address]. The control volition look something like pair XX:XX:20:Twenty:Xx:XX.

If you lot're pairing a keyboard, you will need to enter a half dozen-digit string of numbers. You will meet that the device has been paired, but it may not accept connected. To connect the device, type connect Xx:XX:20:XX:Xx:XX.

Now you tin toss that aboriginal wired keyboard in the junk drawer of your desk until you reflash your Raspberry Pi tomorrow.

Graphical Interface

raspberry-pi-bluetooth-menu.png
Taylor Martin/CNET

When it comes to Bluetooth, I've had a lot more success with the Terminal commands. However, having a graphical user interface for Bluetooth settings is certainly very helpful in various situations.

By default, in that location is no graphical settings menu for Bluetooth. Here'southward what you'll need to do to install it.

  • Open up Terminal and type sudo apt-get install bluetooth bluez blueman. Press enter.
  • Once the packages have downloaded and installed, type sudo reboot.
  • To access this carte du jour, on the Raspberry Pi desktop click Menu, located in the upper left corner of the screen, scroll down to Preferences with your cursor and click Bluetooth Managing director. From there, y'all tin can pair to whatever nearby devices, or you tin make your Raspberry Pi discoverable so you can pair your telephone to it from your phone'south Bluetooth settings.

Pairing devices like my Android smartphone or other non-keyboard devices has worked quite well using this method. Even so, pairing a keyboard fails while inbound the six-digit passcode. That said, if you utilise the Terminal commands to pair the keyboard, you can easily connect it later using the graphical Bluetooth carte just fine.

hodgkinsonadvit1982.blogspot.com

Source: https://www.cnet.com/tech/computing/how-to-setup-bluetooth-on-a-raspberry-pi-3/