Your shiny new Raspberry PI computer just arrived in the mail - now what?I'll show you how to assemble your Pi and boot it with the easy and popular Raspian operating system.

Step 1: What You'll Need

1 Raspberry Pi(model A, A+, B, B+, Bv2).

1 Power supply(for the Pi).

1 SD card.

1 HDMI Monitor(any monitor will work as long as you have the right cable to go to the raspberry pi).

1 HDMI cable(to connect monitor to raspberry pi).

1 WIFI USB dongle(or an Ethernet connection).

1 USB Mouse.

1 USB Keyboard.1 Case(optional).

1 SD card Reader(Most computers have this but if it doesn't, buy one or buy an SD card with the OS already on it).

Step 2: Setting Up Your SD Card

If you are going to buy (or have) an SD card preinstalled with the OS, skip this step.

In this step I,ll show you how to install the NOOBS(New Out Ofthe Box Software) on the SD card.

If your computer has an SD card slot,then go right ahead and insert your SD card. If not you'll need to use your SD card reader.

Now head to http://www.raspberrypi.org/downloads and download the OS of your choice.

Once it is downloaded, Extract it, and then use Win32DiskImager to image it to the SD card.

Step 3: Hook Up the Raspberry PI

Now we are ready to connect everything to the raspberry pi. First we must put the SD card in, then connect the HDMI lead to your television or monitor.Now, connect the keyboard and mouse to the USB ports and the Ethernet port to your internet router or network. If you don't plan to use your Raspberry PI near your router,you can use a compatible WI-FI dongle.

Step 4: First Boot

First Boot

Connect the power, and after a few moments, the NOOBS environment starts up and presents you with all the different operating systems you can install on your raspberry pi. In most cases you should use Raspbian, so select it and click "Install". This will begin a process that will install Raspbian on your SD card - it will take around 30 minutes.

Once it's complete, click "OK" and the PI will reboot, ultimately presenting a configuration menu, here you can change whatever settings you want, as long as you know what your doing. All being well, you raspberry pi will reboot into desktop view that, on the surface at least, is pretty familiar.

At the bottom-left you'll see the equivalent of Windows 7's Start button, for accessing the software that is already pre-installed on the raspberry pi. Next to the start button is an icon that launches the File Manager, which works in a similar way to the Windows File Explorer.

You'll also notice an icon labelled "LXTerminal",which, when double-clicked, launches a window containing the text pi@raspberrypi in green at the top left. We'll use this window to type various commands - don't worry, you'll only ever need to learn a few.

Step 5: Find and Install Software

The Raspberry Pi comes with a basic range of software, but one of the benefits of a Linux-based system is a huge library of additional free programs. Finding and installing software for the Raspberry Pi is done by using the LXTerminal and typing in commands, but don't worry, you'll only need to learn a few.

Let's begin by installing Geany. Geany is the a code editor that I will be using in this instructable (you can use the python IDLE pre-installed on the Raspberry Pi, but i'm going to use Geany).

First, open up LXTerminal and type:

sudo apt-get update

...followed by the Enter key(this just updates the Repositories, to find out more about these commands go to LXTerminal Commands).

Now type this to install Geany:

sudo apt-get install geany

This will install Geany(It might take about 5 mins)

Now, if you want to have a better web-browser than Midori (Midori is pre-installed on the Pi),just install Chromium Browser (an Open-Sorce version of Google Chrome). To do that we type:

sudo apt-get install chromium

Now, we are going to install Synaptic (you don't have to install this but if you don't know the name of the package your after, this is very helpful. I'm not going to explain everything about the Synaptic Package Manager, but if you want to find out more about it, go to Synaptic Package Manager.

Step 6: Python Programming(Part 1)

In this step i'll show you some things about python programming and show you how to make some basic programs in python. To find out more about Python, go to https://www.python.org/.

Make sure you have Python installed:

sudo apt-get install python

Now go ahead and open up Geany and create a new python file called main.py (you can call the file anything you want but it must have the .py extension ).

Type this into the editor:

print("Hello, World!")

Now click Run or press F5, You should see this in another window:

Hello, World!

If you see this then congratulations, You've made your first python program!

Go ahead and change it around a bit, add more prints and change what is inside of them and then run it again.

Ok, that was easy now lets move on.

Now lets add some variables:

var = "Hello, World!"

Click Run, You should see the same output as before, if you don't make sure it is typed in correctly.

You can use variables in all different ways(this symbol is a comment "#" ,anything after it is ignored by python).

a = 10 # this is an integer 
b = 2  # so is this
print(a+b) # this adds the two numbers together, which equels 12

Now if you change 10 and 2 to strings, the output will be a string and it will not add them together:

a = "10" # this is a string 
b = "2"  # so is this
print(a+b) # this prints the numbers beside each other, you should see 102 as a string

More examples of variables:

a = "Hi, "
b = "how are you?"
a = 10
b = a + 2
a = "I am "
age = "15"
b = " years old."
print(a+age+b+" How old are you?")


Now lets have a look at some python inputs.

a = raw_input("Type your name: ")

You will be prompted to type your name, type your name and press enter, you should see your name printed out.

Now lets change it up.

name = raw_input("Type your name: ")
age = raw_input("What is your age "+name+"?")
print("Hello "+name+", you are "+age+" years old")

Another Instructable coming soon on python programming.

<p>Great tutorial, not sure if you're still responding, but I have a question: </p><p>If I were to purchase a starter kit, that included a 32GB SD card, would that SD include the NOOBS software?</p>
<p>Usually in the description for the SD card it will say &quot;Preloaded NOOBS&quot;. I would try searching on amazon &quot;noobs sd card&quot;. Hope this helps.</p>
hello so do I have to have a whole computer, or can I just have a monitor with the HDMI, SD, ect.?
<p>Great instructable. Nice work.</p>
<p>hi<br>thank you...</p><p>i do this, and use full for me</p>
Will be added to my favourites
Thanks, that really helped me. Added to Favourites.
Thanks, that really helped me. Added to Favourites.
<p>Use your RPi on a vga monitor using a VGA to HDMI converter and a few changes on your config file. read here. </p><p>http://www.makeuseof.com/tag/three-ways-to-display-your-raspberry-pi-on-a-monitor-or-tv/</p>
<p>Will your sd card ever be usable as a regular sd card again?</p>
<p>Yes it will be,You will just have to format it.</p>
Good i'ble! Btw, the script explaining strings has a <br> html tag in it :)
<p>Thanks, I'll fix it now.</p>
Awesome ible. Thank you for taking the time to share... I have 2 questions:<br>1) you've listed 3 RasPi models with the exception of the &quot;A+&quot;. Any particular reason? and,<br>2) How many GB should the SD card be?<br>Thanks again
<p>hi, Omarsibles</p><p>No reason for the A+ to be missed i think i forgot about it, but it will still work.</p><p>The SD card should be about 4GB or more, you can use one with less GB but you probably wont have any room to store anything.</p>
Thanks again, Jacoby Yarrow. Very much appreciated!
<p>Great tutorial, I am thinking about buying a Pi actually but I am still os fascinated about the arduino haha. Thanks for sharing!</p>
<p>Great info, thank you for sharing this!</p>

About This Instructable




More by Jacoby Yarrow:How to Image a Raspberry Pi SD Card Python Programming: Part 2 HTML to Python 
Add instructable to: