Getting Started With the Raspberry Pi
Getting started with the Raspberry Pi is easy!
In this guide, we will show you how to connect up the Raspberry Pi for the first time with all the necessary peripherals, power supply, microSD card, as well as how to get the Raspbian operating system on it.
This guide is applicable to the Raspberry Pi Model 3 and Raspberry Pi Model 3 B+.
Complete this guide to get up to speed with using your Raspberry Pi.
|Parts Used in This Guide|
Step 1 Overview of the Raspberry Pi
The Raspberry Pi Model 3 B+ is the newest, fastest, and easiest to use.
Let's take a closer look at it and its features.
- USB ports - These are used to connect to peripherals such as a keyboard and mouse. Other HID devices such as a game controller or a USB drive can be connected to it.
- Ethernet port - This is used to connect the Raspberry Pi to a network via an Ethernet cable. Alternatively, the Raspberry Pi can also connect to a network via wireless connectivity.
- 3.5mm audio & composite video jack - Connect headphones or speakers here.
- Camera Serial Interface Connector (CSI Connector) - This port allows a camera module to be connected directly to the board.
- HDMI Port - This is where you'll connect a monitor to via a HDMI cable, or an appropriate adaptor for a DVI monitor.
- 5V MicroUSB (Input power Only) - This is where the power supply is connected to. It should always be done last, after you have connected all other components.
- MicroSD card slot - This is where you insert the microSD card, normally where the operating system software and files are stored.
- Display Serial Interface (DSI) Connector - This connector accepts a flat ribbon cable that can be used to communicate with an LCD or OLED display screen.
- Wireless Module - The Raspberry Pi 3B+ has built-in WiFi unlike older models such as the Raspberry Pi 1 Model A+ or Raspberry Pi Zero. This is the wireless module on the board. Note: 802.11ac is now supported, which means the Pi can do WiFi at 5 GHz as well as 2.4 GHz.
- Broadcom CPU - This is the Broadcom BCM2837B0 chip, an updated and improved version of the 64-bit Broadcom application processor that was used in the Raspberry Pi 3B. So what's new? It improves the power supply to the ARM cores, which means it can be clocked at 1.4GHz (previously 1.2 GHz) which is a 16.7% increase. It also has a heat spreader (that's the shiny metal bit you see in the photo) which assists in heat dissipation and help maintain higher clock speeds. This means it can run at lower voltages to reduce power consumption, and to more accurately monitor and control the temperature of the chip.
- 40-Pin GPIO Header - These pins allow you to connect electronic components such as sensors and actuators i.e. LEDs and buttons to the Raspberry Pi.
Note: This guide will work for other models of the Raspberry Pi. However, if you are using a model without on-board Wi-Fi capabilities such as the Raspberry Pi Zero or Raspberry Pi 1 Model A+, you will need a WiFi dongle.
Step 2 NOOBS
NOOBS is an easy to use operating system install manager, with it, you can quickly get the Raspbian operating system on the Raspberry Pi.
If you haven't already got a NOOBS MicroSD card, you can create your own by following our guide, 'Create a NOOBS MicroSD Card'. Once complete, come back to this guide.
Step 4 Connect wired keyboard and mouse
Next, connect a mouse and keyboard via USB to the Raspberry Pi's USB ports.
Any standard or generic USB mouse can be used, and we recommend using a wired USB keyboard.
Note: Using a Raspberry Pi model without on-board WiFi capabilities? You might have run out of USB ports to connect both the WiFi adapter and peripherals. If so, you may want to use one of these WiFi Hubs with extra USB ports.
Step 5 Connect to a monitor
Insert a HDMI cable into the Raspberry Pi's HDMI port. Then connect it to a monitor using the same cable.
Note: The HDMI connection is output only, and only meant to be used for connection to displays.
Important Note: The HDMI port on the Raspberry Pi is OUTPUT ONLY for connecting to HDMI monitor devices, do not connect to the HDMI output of the Raspberry Pi to the output of laptops or tablets.
Step 6 Connect power supply
Step 7 Fully connected
The Raspberry Pi 3B+ with keyboard, mouse, HDMI cable, power supply and microSD card connected.
Step 8 Install Raspbian
The Raspberry Pi will now be powered up.
- Select the checkbox next to the Raspbian option.
- Click 'Install' and Raspbian will then run through its installation process. This can take a few minutes.
- You are now ready to use Raspbian!
Step 9 Setup Wizard
Once Raspbian is started up, you will see the setup wizard.
This is where you can set your country, language, enter a password for your Raspberry Pi, and connect to a Wi-Fi network.
If you do want to use the setup wizard again for whatever reason, you can do so by:
- Accessing the terminal; click on the terminal icon on the top left-hand corner. It looks like this:
- Enter the command:
Step 10 Configuring keyboard and country codes
- If you have not completed the setup wizard, the default Raspberry Pi keyboard layout is "gb". If you are not using a UK layout keyboard, you may want to change the layout to match your actual keyboard.
- To change the keyboard and country codes without going through the whole setup wizard process again:
- Go to Preferences > Raspberry Pi Configuration
- Click on 'Localisation'
- Click on 'Set Keyboard'
- Change the Model, Layout and Variant as required
- Alternatively, you can also change it via the terminal.
- To access the terminal, click on the terminal icon on the top left-hand corner. It looks like this:
- Enter the command:
sudo nano /etc/default/keyboard
- To save changes, hit 'CTRL + X' and then 'Y' then 'Enter'.
Step 11 Connect to WiFi
Likewise, if you want to change your network connection or re-connect to it without the setup wizard:
- Left-click on the WiFi icon on the top right-hand corner of Raspbian.
- Choose your network
- Enter credentials
Once successfully connected, you should see a green tick icon next to the name of your network.
Now that you've got Raspbian running with WiFi connectivity as well as the proper keyboard layout, why not learn how to edit text files, learn how to enable SSH, or set up VNC to access your Raspberry Pi remotely?