Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
19 views

Getting started with Raspberry Pi

Uploaded by

Tfc Shyam
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

Getting started with Raspberry Pi

Uploaded by

Tfc Shyam
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

7/7/23, 10:20 AM Getting started with Raspberry Pi

Projects

Getting started with


Raspberry Pi
Set up your Raspberry Pi and explore what it can do

Step 1 Introduction

In this project you will connect up a Raspberry Pi computer and find out what it can do.
Note: this guide is an introduction to the Raspberry Pi computer, there are also detailed guides to Setting up your
Raspberry Pi (https://rpf.io/setting-up) and Using your Raspberry Pi (http://rpf.io/using).
What you will make
The Raspberry Pi is a small computer that can do lots of things. You plug it into a monitor and attach a keyboard
and mouse.

What you will learn


This project covers elements from the following strands of the Raspberry Pi Digital Making Curriculum (http://rp
f.io/curriculum):
Use basic digital, analogue, and electromechanical components (https://curriculum.raspberrypi.org/ph
ysical-computing/creator/)

https://projects.raspberrypi.org/en/projects/raspberry-pi-getting-started/print 1/20
7/7/23, 10:20 AM Getting started with Raspberry Pi

Step 2 What you will need

Hardware
A Raspberry Pi computer with an SD card or micro SD card
A monitor with a cable (and, if needed, an HDMI adaptor)

A USB keyboard and mouse


A power supply
Headphones or speakers (optional)
An ethernet cable (optional)
Software
Raspberry Pi OS, installed using the Raspberry Pi Imager (https://www.raspberrypi.org/downloads/)

Installing Raspbian using the Raspberry Pi


Install Rasperry Pi OS on your SD card with the Raspberry Pi Imager
Many vendors sell SD cards with a simple Rasperry Pi OS installer called NOOBS preinstalled but you can really
easily install Rasperry Pi OS yourself using a computer that has an SD card port or using an SD card reader.
Using the Raspberry Pi Imager is the easiest way to install Rasperry Pi OS on your SD card.

Note: More advanced users looking to install a particular operating system should use this guide to installing
operating system images (https://www.raspberrypi.org/documentation/installation/installing-images/
README.md).
Download and launch the Raspberry Pi Imager
Visit the Raspberry Pi downloads page (https://www.raspberrypi.org/downloads).
Click on the link for the Raspberry Pi Imager that matches your operating system.

When the download finishes, click on it to launch the installer.

https://projects.raspberrypi.org/en/projects/raspberry-pi-getting-started/print 2/20
7/7/23, 10:20 AM Getting started with Raspberry Pi

Using the Raspberry Pi Imager


All data stored on the SD card will be overwritten during formatting and lost permanently, so make sure that you
back up the card or any files you want to keep before running the installer.

When you launch the installer, your operating system may try to block you from running it. For example,
Windows may give the following message:

If you get this, click on More info and then Run anyway.

Insert your SD card into the computer or laptop’s SD card slot.


In the Raspberry Pi Imager, select the OS that you want to install. The first option, Rasperry Pi O, is the
recommended OS.

Select the SD card you would like to install it on. Different platforms will display the drives in different ways.
Mac OS, for example, will show you all drives including you main operating sysytem.

Note: Make sure you are selecting the correct drive. The drives memory capacity can be a useful indication of
which drive you are selecting.

https://projects.raspberrypi.org/en/projects/raspberry-pi-getting-started/print 3/20
7/7/23, 10:20 AM Getting started with Raspberry Pi

Once you have selected both the OS and the SD card, a new WRITE button will appear.

Then simply click the WRITE button.

Wait for the Raspberry Pi Imager to finsh writing.


Once you get the following message, you can eject your SD card.

https://projects.raspberrypi.org/en/projects/raspberry-pi-getting-started/print 4/20
7/7/23, 10:20 AM Getting started with Raspberry Pi

Step 3 Meet Raspberry Pi

You are going to take a first look at Raspberry Pi! You should have a Raspberry Pi computer in front of you for this.
The computer shouldn’t be connected to anything yet.
Look at your Raspberry Pi. Can you find all the things labelled on the diagram?

USB ports — these are used to connect a mouse and keyboard. You can also connect other components, such
as a USB drive.
SD card slot — you can slot the SD card in here. This is where the operating system software and your files are
stored.

Ethernet port — this is used to connect Raspberry Pi to a network with a cable. Raspberry Pi can also connect
to a network via wireless LAN.
Audio jack — you can connect headphones or speakers here.
HDMI port — this is where you connect the monitor (or projector) that you are using to display the output from
the Raspberry Pi. If your monitor has speakers, you can also use them to hear sound.
Micro USB power connector — this is where you connect a power supply. You should always do this last, after
you have connected all your other components.
GPIO ports — these allow you to connect electronic components such as LEDs and buttons to Raspberry Pi.

https://projects.raspberrypi.org/en/projects/raspberry-pi-getting-started/print 5/20
7/7/23, 10:20 AM Getting started with Raspberry Pi

Step 4 Connect your Raspberry Pi

Let’s connect up your Raspberry Pi and get it running.


Check the slot on the underside of your Raspberry Pi to see whether an SD card is inside. If no SD card is there,
then insert an SD card with Raspbian installed (via NOOBS).

Note: Many microSD cards come inside a larger adapter — you can slide the smaller card out using the lip at the
bottom.

Installing Raspbian using the Raspberry Pi


Install Rasperry Pi OS on your SD card with the Raspberry Pi Imager
Many vendors sell SD cards with a simple Rasperry Pi OS installer called NOOBS preinstalled but you can really
easily install Rasperry Pi OS yourself using a computer that has an SD card port or using an SD card reader.
Using the Raspberry Pi Imager is the easiest way to install Rasperry Pi OS on your SD card.

Note: More advanced users looking to install a particular operating system should use this guide to installing
operating system images (https://www.raspberrypi.org/documentation/installation/installing-images/
README.md).
Download and launch the Raspberry Pi Imager
Visit the Raspberry Pi downloads page (https://www.raspberrypi.org/downloads).
Click on the link for the Raspberry Pi Imager that matches your operating system.

https://projects.raspberrypi.org/en/projects/raspberry-pi-getting-started/print 6/20
7/7/23, 10:20 AM Getting started with Raspberry Pi

When the download finishes, click on it to launch the installer.

Using the Raspberry Pi Imager


All data stored on the SD card will be overwritten during formatting and lost permanently, so make sure that you
back up the card or any files you want to keep before running the installer.
When you launch the installer, your operating system may try to block you from running it. For example,
Windows may give the following message:

If you get this, click on More info and then Run anyway.

Insert your SD card into the computer or laptop’s SD card slot.


In the Raspberry Pi Imager, select the OS that you want to install. The first option, Rasperry Pi O, is the
recommended OS.

https://projects.raspberrypi.org/en/projects/raspberry-pi-getting-started/print 7/20
7/7/23, 10:20 AM Getting started with Raspberry Pi

Select the SD card you would like to install it on. Different platforms will display the drives in different ways.
Mac OS, for example, will show you all drives including you main operating sysytem.
Note: Make sure you are selecting the correct drive. The drives memory capacity can be a useful indication of
which drive you are selecting.

Once you have selected both the OS and the SD card, a new WRITE button will appear.

Then simply click the WRITE button.

Wait for the Raspberry Pi Imager to finsh writing.


Once you get the following message, you can eject your SD card.

https://projects.raspberrypi.org/en/projects/raspberry-pi-getting-started/print 8/20
7/7/23, 10:20 AM Getting started with Raspberry Pi

Find the USB connector end of your mouse’s cable, and connect the mouse to a USB port on your Raspberry Pi
(it doesn’t matter which port you use).

Connect the keyboard in the same way.

Make sure your screen is plugged into a wall socket and switched on.
Look at the HDMI port(s) on your Raspberry Pi — notice that they have a flat side on top.
Use a cable to connect the screen to the Raspberry Pi’s HDMI port — use an adapter if necessary.
Raspberry Pi 4

Connect your screen to the first of Raspberry Pi 4’s HDMI ports, labelled HDMI0.

You could connect an optional second screen in the same way.

https://projects.raspberrypi.org/en/projects/raspberry-pi-getting-started/print 9/20
7/7/23, 10:20 AM Getting started with Raspberry Pi

Raspberry Pi 1, 2, 3

Connect your screen to the single HDMI port.

Note: nothing will display on the screen, because the Raspberry Pi is not running yet.
If you want to connect the Pi to the internet via Ethernet, use an Ethernet cable to connect the Ethernet port
on the Raspberry Pi to an Ethernet socket on the wall or on your internet router. You don’t need to do this if you
want to use wireless connectivity, or if you don’t want to connect to the internet.

If your screen has speakers, your Raspberry Pi can play sound through these. Or you could connect
headphones or speakers to the audio port.

https://projects.raspberrypi.org/en/projects/raspberry-pi-getting-started/print 10/20
7/7/23, 10:20 AM Getting started with Raspberry Pi

Plug the power supply into a socket and then connect it to your Raspberry Pi’s USB power port.

You should see a red light on your Raspberry Pi and raspberries on the monitor.
Your Raspberry Pi then boots up into a graphical desktop.

https://projects.raspberrypi.org/en/projects/raspberry-pi-getting-started/print 11/20
7/7/23, 10:20 AM Getting started with Raspberry Pi

Step 5 Finish the setup

When you start your Raspberry Pi for the first time, the Welcome to Raspberry Pi application will pop up and guide
you through the initial setup.

Click Next to start the setup.

Set your Country, Language, and Timezone, then click Next again.

Enter a new username and password for your Raspberry Pi and click Next.

https://projects.raspberrypi.org/en/projects/raspberry-pi-getting-started/print 12/20
7/7/23, 10:20 AM Getting started with Raspberry Pi

Set up ypur screen or screens.

Connect to your WiFi network by selecting its name, entering the password, and clicking Next.

https://projects.raspberrypi.org/en/projects/raspberry-pi-getting-started/print 13/20
7/7/23, 10:20 AM Getting started with Raspberry Pi

Note: if your Raspberry Pi model doesn’t have wireless connectivity, you won’t see this screen.
Click Next let the wizard check for updates to Raspbian and install them (this might take a little while).

Click Restart to finish the setup.

https://projects.raspberrypi.org/en/projects/raspberry-pi-getting-started/print 14/20
7/7/23, 10:20 AM Getting started with Raspberry Pi

https://projects.raspberrypi.org/en/projects/raspberry-pi-getting-started/print 15/20
7/7/23, 10:20 AM Getting started with Raspberry Pi

Step 6 A tour of Raspberry Pi

Now it’s time to take a tour of your Raspberry Pi.


Do you see the raspberry symbol in the top left-hand corner? That’s where you access the menu: click on it to
find lots of applications.

Click on Accessories, and then click on Text Editor.

Type I just built a Raspberry Pi computer in the window that appears.

Click on File, then choose Save, and then click on Desktop and save the file as rp.txt.

You should see an icon named rp.txt appear on the desktop.

https://projects.raspberrypi.org/en/projects/raspberry-pi-getting-started/print 16/20
7/7/23, 10:20 AM Getting started with Raspberry Pi

Your file has been saved to your Raspberry Pi’s SD card.


Close the text editor by clicking the X in the top right-hand corner of the window.
Return to the menu, click on Shutdown, and then click on Reboot.
When Raspberry Pi has rebooted, your text file should still be there on the desktop.

Raspberry Pi runs a version of an operating system called Linux (Windows and macOS are other operating
systems). This operating system allows you to make things happen by typing in commands instead of clicking
on menu options. To try this out, click on the Terminal symbol at the top of the screen:

In the window that appears, type:

ls

and then press Enter on the keyboard.


You can now see a list of the files and folders in your home directory.

Now type this command to change directory to the Desktop:

cd Desktop

You have to press the Enter key after every command.


Then type:

ls

https://projects.raspberrypi.org/en/projects/raspberry-pi-getting-started/print 17/20
7/7/23, 10:20 AM Getting started with Raspberry Pi

Can you see the text file you created?


Close the terminal window by clicking on the X.
Now drag rp.txt to the Wastebasket on the desktop so the Raspberry Pi will be tidy for the next person using
it.

https://projects.raspberrypi.org/en/projects/raspberry-pi-getting-started/print 18/20
7/7/23, 10:20 AM Getting started with Raspberry Pi

Step 7 Browsing the web

You might want to connect your Raspberry Pi to the internet. If you didn’t plug in an ethernet cable or connect to a
WiFi network during the setup, then you can connect now.
Click the icon with red crosses in the top right-hand corner of the screen, and select your network from the
drop-down menu. You may need to ask an adult which network you should choose.

Type in the password for your wireless network, or ask an adult to type it for you, then click OK.

When your Pi is connected to the internet, you will see a wireless LAN symbol instead of the red crosses.

Click the web browser icon and search for raspberry pi.

https://projects.raspberrypi.org/en/projects/raspberry-pi-getting-started/print 19/20
7/7/23, 10:20 AM Getting started with Raspberry Pi

Step 8 Challenge: explore your Raspberry Pi

Take a tour of the menu — can you find:


A version of Scratch?
A Python game to play?

A version of Minecraft that you can program?

Published by Raspberry Pi Foundation (https://www.raspberrypi.org) under a Creative Commons


license (https://creativecommons.org/licenses/by-sa/4.0/).
View project & license on GitHub (https://github.com/RaspberryPiLearning/raspberry-pi-getting-start
ed)

https://projects.raspberrypi.org/en/projects/raspberry-pi-getting-started/print 20/20

You might also like