Start with a working Raspberry Pi with Raspbian or NooBs. You may need to burn the SD card, then log in (ssh is recommended) or use an HDMI monitor + keyboard. Then set up WiFi or connect an Ethernet cable for networking so you can connect to the internet

I haven't used Raspberry Pi before, where should I start?

Raspberry Pi is a small linux computer that we use to connect to Watson and control TJBot's hardware. Similar to any other computer, you need a monitor, mouse, and keyboard. 

If you have a TV around, you can connect your Pi to your TV via a HDMI cable.

In most of the Pi kits, the SD card is already preloaded with an image of the Raspberry Pi Operating System (OS). You need to put the SD card in the Pi, turn the Pi ON and follow the instructions on screen to complete the installation of the operating system. If you have problems setting up your Pi, you can troubleshoot here.

How can I connect my Pi to the Internet?

Here is an easy way to get your Pi connected to wifi. If it doesn't work, you need to set it up from the command line.

Open a terminal and type the following command to edit the configuration file with your wifi information:

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

Go to the bottom of the file and add the following: 


Now save the file by pressing Ctrl+X then Y, then press Enter. Open a browser and check if your Pi is connected to the Internet. If you have problems, troubleshoot here.

Update and Download

You should begin by making sure your Pi OS is up to date. Updating the OS may take about 45 min to an hour depending on your internet speed. You just need to stay patient and finish this step. The rest of the steps are much quicker!

For updating the OS, open a terminal and execute the following commands:

sudo apt-get update 

sudo apt-get dist-upgrade

Now install the latest version of Node.js and npm (Node Package Manager). You need these packages later to run your code. 

curl -sL | sudo -E bash -
sudo apt-get install -y nodejs

sudo apt-get install alsa-base alsa-utils libasound2-dev

This guide was first published on Mar 29, 2017. It was last updated on Mar 29, 2017.

This page (Prepare Your Pi) was last updated on Mar 17, 2017.

Text editor powered by tinymce.