How to Get Started with the Raspberry Pi
The Raspberry Pi is a single board computer (SBC) roughly the size of a credit card. It was developed by the Raspberry Pi Foundation to teach the basics of computer science in schools and developing countries. Since its release, it has...
Part 1 of 5:
Picking Your Pi
- Go with the latest version, unless you have a specific reason not to. Unless you know exactly what you will use your Raspberry Pi for and exactly what capabilities your project requires, it is recommended you purchase the latest version and model of the Raspberry Pi. This way you can ensure that you have the most up-to-date hardware and all the capabilities it offers. Not only will this give you more options to experiment with, but the price difference shouldn't be very significant.
- Look at the starter kit options. The Raspberry Pi is available in stores and online from several different companies in many different packages, so it can be a little overwhelming at first. Oftentimes they are bundled with a wide range of accessories in various Starter Kits. The standalone base model can also be purchased by itself without any accessories. But not all 'Starter Kits' are alike; some might not come with everything you actually need to get started, whereas others might have far more than needed.
- If you have already purchased a Raspberry Pi, take notice of what was included in the box as you may need to acquire a few more items.
- If you have not yet purchased a Raspberry Pi, take stock of what you already own as you might find you don't need everything in a starter kit. Some people might find they already have plenty of HDMI cables or 5 volt MicroUSB Power Adapters leftover from old smartphones and TV's and may not need a Starter Kit.
Part 2 of 5:
Setting Up Your Operating System
- Prepare to set up your operating system. If you were to simply hook up all the components together and plug in the power . . . nothing will happen. That's because there's no operating system (OS) on the Raspberry Pi yet, meaning there's no software to tell the hardware what to do. Fear not, for there are many operating systems you can use and installing them is easy! This guide will cover Raspbian, the official operating system designed for the Raspberry Pi. There are 3 methods to do it!
Method 1: Buying a microSD Card Preloaded with an OS (Easiest)
- Know when to use this option. This is the easiest option if:
- You don't already have a micro SD card
- You don't have an SD card reader
- You don't have access to the internet
- Look for a "NOOBS" kit. NOOBS is an acronym for 'New Out Of the Box Software' and is also internet slang for 'newbie.' And that you are! It is a program that will make it easy to install the Rasbian operating system onto the Raspberry Pi from the microSD card. Online sellers like Amazon and Adafruit sell microSD cards with operating systems already loaded on them. Most of these microSD cards come with 'NOOBS' preloaded on them, which is a program that allows you to pick from several selected operating systems and install the one of your choice.
- It's important to note that there may be no way of knowing when the SD card was preloaded with NOOBS, so it could be an older version of the operating system that is not up to date. Generally, this won't be a problem if you plan to connect your Raspberry Pi to the internet, since you can always upgrade it later, but those without internet access should be aware of this possibility.
- Purchase a mircoSD card preloaded with NOOBS. That's it! Once it arrives, you're ready to Boot Up the Raspberry Pi.
Method 2: Preloading NOOBS onto a Micro SD Card Yourself (Recommended)
- Know why this is preferable. This is the best option if:
- You already have a suitable microSD card
- You have an SD card reader
- You can access the internet
- Navigate to https://www.raspberrypi.org/downloads/noobs// in your web browser. Find the section that says 'NOOBS (Offline and network Install)' on the left side of the page.
- Click 'Download Zip'. Then select what folder to save it to. This is a large file and will take a while to download.
- Make sure our microSD card is ready. If the microSD card was previously used in a camera or smartphone or some other device, the card needs to be formatted to ensure there is nothing else on it. Just deleting the old files manually could cause errors.
- Go to http://www.sdcard.org in a web browser. This is the official website of the SD Association and they have a free tool called SDFormatter for formatting SD cards.
- Click "Downloads".
- Click "SD Formatter for (Windows or Mac) Download". Select the option for the operating system you are currently using.
- Scroll to the bottom of the page and click "Accept". This accepts the terms and conditions and the download should start right away. Then select which folder to save it to, and wait for the download to finish.
- Install the SD Formatter.
- [Windows] Double click the zip file to open it. Then double click the file "setup" to start installation.
- [Mac] Double Click the installer package to begin installation.
- [Windows] Double click the zip file to open it. Then double click the file "setup" to start installation.
- Plug your microSD card into your card reader on your computer. Check to see what drive letter your computer assigns your microSD card.
- Open SD Formatter. Make sure the correct drive letter of your microSD card is selected. You may have to click 'refresh' to see the correct drive letter appear. Here you can also assign your microSD card a new name in the "Volume Label" box, if you choose. In the provided example, the new microSD card name will be "BOOT" after formatting.
- Click "Format." Wait for the SD card to finish formatting.
- Open the zip file by double clicking on it. Select all the files.
- Drag and drop the files directly to the microSD card to copy them to the microSD card.
- Once the files have been copied, safely eject the microSD card.
- [Windows] Right click on the microSD card drive and select "Eject."
- [Mac] Drag the microSD card drive to the trash bin.
- [Windows] Right click on the microSD card drive and select "Eject."
- Remove the SD card from the reader. You did it! Don't you feel alive!? You can now proceed to Boot Up the Raspberry Pi.
Method 3: Preloading the Raspbian Image Directly to the SD Card
- Know when to use this option. In this method, instead of installing the operating system from an installer package (such as NOOBS), you will copy over the entire operating system to the SD card, already installed and unpacked. This is the best option if:
- You don't want to have to wait for the OS to install
- You want to boot directly into the desktop environment
- You want to improve your 'nerd cred'
- Go to https://www.raspberrypi.org/downloads/raspbian/ in your web browser. Find the section that says 'RASPBIAN JESSIE WITH PIXEL' on the left side of the page.
- Click "Download Zip" and select a folder to save it to.
- This is a large file and could take a long time to download. While that's downloading, let's grab Etcher, a free program that will write the image file to the microSD card.
- Go to https://www.etcher.io/ in a web browser.
- Select 'Download For (Windows or Mac)' on the green button. Make sure you've selected the operating system that you are currently using. Select a folder to save it to.
- Install Etcher.
-
- Insert your microSD card into the card reader on your computer. Take note of the drive letter your computer assigns to it.
- Open the Rasbian zip file once it downloads. Drag and drop the image file somewhere easy to access, like the desktop.
- Open Etcher. Click "Select Image". Select the image file you just extracted from the Raspbian zip file on the desktop.
- Click "Select Drive". Select the drive letter of your microSD card.
- If the wrong drive letter is selected, click "change" and pick the correct one.
- Click "Flash". Wait for Etcher to finish writing the image file to your microSD card.
- Safely eject the microSD card.
- [Windows] Right click on the microSD card drive and select "Eject."
- [Mac] Drag the microSD card drive to the trash bin.
- [Windows] Right click on the microSD card drive and select "Eject."
Part 3 of 5:
Booting Up the Raspberry Pi
- Plug the microSD card into the Raspberry Pi. If you are looking down onto the Raspberry Pi board from above, the gold contacts of the SD card should be facing up towards you, as pictured.
- It will slide into place securely and can only be plugged in the correct way.
- It will slide into place securely and can only be plugged in the correct way.
- Plug in the rest of the components, leaving the power adapter for last.
- Keyboard (USB)
- Mouse (USB)
- Display/TV/Monitor (HDMI)
- Plug in the Power Adapter. It's alive! It's alive!
- If you have NOOBS preloaded on your SD card, it will load up an installation menu asking which OS you'd like to install. To install Raspbian, simply check the box next to it and click 'Install' and this will start the installation process.
- When it has finished, it should reboot and startup Pixel, Raspbian's new desktop environment. If, for some reason, you are still looking at a command prompt like the one pictured, simply type 'startx' and then press "Enter" on the keyboard and it will load up the desktop environment.
- When it has finished, it should reboot and startup Pixel, Raspbian's new desktop environment. If, for some reason, you are still looking at a command prompt like the one pictured, simply type 'startx' and then press "Enter" on the keyboard and it will load up the desktop environment.
- If you have the Rasbian image flashed to your SD card instead of NOOBS, it should boot you straight into the desktop on startup. What a beautiful sight!
- If you have NOOBS preloaded on your SD card, it will load up an installation menu asking which OS you'd like to install. To install Raspbian, simply check the box next to it and click 'Install' and this will start the installation process.
Part 4 of 5:
Setting Up
- In the top right corner, click the internet connection icon with the two red x's and select 'Turn on WiFi."
- Review the resulting options. Once Wifi is enabled it will display a list of available networks.
- Select your network. Enter the password, then click 'OK."
- Once connected, find the blue icon on the top bar showing your network's signal strength in blue.
-
- Wait for the command prompt to open.
- Type 'sudo raspi-config' and the press "Enter."
- Review the Software Configuration Tool. For those familiar with PC's this is similar to changing the BIOS settings. Once you have it the way you want it, you shouldn't need to fuss with it much again.
- Using your arrow keys, select '1: Expand File System' then press 'Enter.'
- Wait for it to display a message that says 'Root partition has been resized. The file system will be enlarged upon the next reboot.' This is important because by default, the Raspberry Pi only uses as much of the SD card as the operating system requires. This setting will now let us use the rest of the SD card as free space. Press 'Enter' to go back to the raspi-config menu.
- With the arrow keys, select '3: Boot Options' and press 'Enter'
- Select 'B4: Desktop Autologin Desktop GUI, automatically logged in as 'pi' user' and press 'Enter.' This will ensure that every time the Raspberry Pi starts up, it will boot up into the desktop environment, logged in as the user 'pi' which is the default user.
- Use the arrow keys to select '5: Internationalization Options' and press 'Enter'
- Select 'T2 Change Timezone' and press Enter.
- Select the correct Timezone for your area, then press Enter.
- While back in the 'Internationalization Options' menu, select 'Change WiFi Country' and press 'Enter'.
- Select the country you are in, then press 'Enter.'
- Go back to the main menu, use the side arrow keys to select 'Finish' and then press 'Enter'.
- Reboot. It will ask 'Would you like to reboot now?' Select 'Yes' and press 'Enter'
Part 5 of 5:
Updating and Upgrading
- Prepare to check for updates after your Raspberry Pi reboots.
- Open the Terminal again by pressing the Terminal icon on the top bar.
- Type 'sudo apt-get update' then press 'Enter.' This will update your system's package list.
- Once that has finished, type "sudo apt-get dist-upgrade" and press 'Enter.' This will upgrade all your installed packages with their newest versions.
Update 05 March 2020
You should read it
- How to choose the appropriate MicroSD card for Nintendo Switch
- 7 ways to fix problems with microSD cards
- Top best microSD cards for 2020 devices
- Whoever plays the game is ready to buy HyperX microSD card
- How to choose to purchase microSD card to upgrade Android memory
- The world's fastest 1.5 TB microSD card
- How to detect fake microSD card
- Mistakes or mistakes when buying MicroSD cards
- The world's first 1TB microSD memory card costs $ 449
- How to Remove Write Protection on a Transcend microSD Card
- Samsung launches new 256GB SD Express microSD memory card, supporting 800MB/s read speed
- Experience the feeling of holding 400GB of data on your fingertips
Maybe you are interested
How to merge text, merge Mail Merge messages in Word 2016 Review Panasonic PAMT-ER-GN30-K453 nose hair trimmer 10 habits of using email make others uncomfortable What is N2O gas (laughing gas), how harmful is it? The most famous haunted dolls in the world Close up of the Agung volcano in Bali erupts 4000m smoke pillars into the air