Set Up Raspberry Pi

Download Raspbian NOOBS to a micro SD card

Before powering on your Raspberry Pi, you must download an operating system (OS) and copy it to an SD Card — you do this with your Linux, MacOS, or Windows PC. This tutorial uses Raspbian NOOBS OS version 2.9.0.

  1. On your computer, download NOOBS_v2_9_0.zip, and unzip it locally.
  2. Open the unzipped NOOBS_v2_9_0 folder and drag the entire folder contents onto an empty 8/16/32 GB microSD card.
DragAndDrop

Connect hardware to your Raspberry Pi

Make sure you're not missing any required hardware — otherwise, you get stuck at some point. For example, the sample app doesn't run without a USB microphone plugged in.

  1. Insert your micro SD card into the card reader on the Pi. The SD card contacts should face up.
  2. Plug in a USB microphone.
  3. Plug in earbuds — or a speaker — into the 3.5 mm audio jack on the Pi.
  4. Connect a USB keyboard and mouse. Make sure you don't cover the USB mic.
  5. Connect a monitor using the HDMI port.
  6. Connect an Ethernet Cable — if your not using Wi-Fi.
  7. Plug the micro USB power supply into the Pi.

Your set up should look similar to the following images.

Setup
FullSetup

Power on your Raspberry Pi

Connect the Pi to a power source. A loading screen automatically launches and walks you through some steps before booting to desktop. If you run into any errors, try booting from a different pre-imaged micro SD card. If nothing happens after that, make sure that your micro SD card is facing the correct direction with the contacts facing up.

Install the Raspbian OS

Upon successful startup, you're prompted to select an operating system and locale. NOOB always retrieves the latest version of Raspbian that's available.

  1. Check the box next to Raspbian [RECOMMENDED].
  2. Select your language and keyboard preferences at the bottom of the screen.

    Make sure you select the correct locale/keyboard layout for your region, otherwise you might have problems with pre-existing passwords that contain special characters. Some keyboard layouts don't support special characters. To test your layout, enter a special character and confirm that it appears on the screen, before proceeding to the next step.

  3. Click Install in the upper-left corner of the pop-up box.

    The install process takes about 15 minutes to complete. After it's done, you see a success message.

  4. Click OK and the desktop loads — feel free to close the window when it asks you to change your password.
noobsInstall

Configure OS settings

Configure the following OS settings before building the AVS Device SDK.

PiDesktop

Network

Connect your Pi to a network. You can choose either option.

  • Ethernet: Plug an ethernet cable into the Pi. The OS automatically connects to your network.
  • 2.4 GHz Wi-Fi: Click the connectivity icon in the top-right corner of the toolbar, select an SSID, and enter your credentials.

Verify that you're connected to a network by opening a web browser — click the globe icon in the top-left toolbar and navigate to a website.

Audio

A Raspberry Pi can output sound through two different channels, an HDMI port or a 3.5 mm audio jack. HDMI is the default selection when you install a fresh OS. To output sound to your speaker, change the output channel on your Pi to 3.5 mm audio jack.

  1. Right-click the speaker graphic in the upper-right hand corner of your Pi.
  2. Select Analog.

You should also turn up the volume the microphone.

  1. Open Audio Device Settings.
  2. Select Change Sound Card.
  3. In the drop down select USB PNP (ASLA mixer).
  4. Select Controls.
  5. Click the microphone and change the volume to max.

Keyboard

You can change your keyboard settings.

  1. Click the Raspberry icon in the top right of your desktop.
  2. Select Mouse and Keyboard settings from the Preferences menu.
  3. Click Keyboard Layout from the Keyboard tab.
  4. Select the appropriate configuration. Make sure whatever you pick, you can write characters such as "quotes" and @ symbols.

Update your Raspberry Pi packages list

Now that you connected to a network, you must verify that your OS uses the latest packages — otherwise, SDK might not run properly.

Open a terminal by clicking on the black window logo near the top left corner of your toolbar. You should be in the /home/pi directory. Enter the following command.

cd /home/pi/
sudo apt-get upgrade

Next, register an AVS product and create a security profile for your device.