Raspberry Pi Begginer Guide Part 2
Raspberry Pi Begginer Guide Part 2
The name system-on-chip is a great indicator of what you would find if you prised the
metal cover off: a silicon chip, known as an integrated circuit, which contains the bulk of the
Raspberry Pi’s system. This includes the central processing unit (CPU), commonly thought of
as the ‘brain’ of a computer, and the graphics processing unit (GPU), which handles the visual
side of things.
A brain is no good without memory, however, and on the underside of the Raspberry Pi you’ll
find exactly that: another chip, which looks like a small, black, plastic square (Figure 1-3). This
is the Pi’s random access memory (RAM). When you’re working on the Pi, it’s the RAM that
holds what you’re doing; only when you save your work will it be written to the microSD card.
Together, these components form the Pi’s volatile and non-volatile memories: the volatile RAM
loses its contents whenever the Pi is powered off, while the non-volatile microSD card keeps
its contents.
Turning the board over again you’ll find another metal lid to the upper-right, this one
featuring an etched Raspberry Pi logo (Figure 1-4, overleaf). This covers the radio, the
component which gives the Raspberry Pi the ability to communicate with devices wirelessly.
The radio itself acts as two main components, in fact: a WiFi radio, for connecting to computer
networks; and a Bluetooth radio, for connecting to peripherals like mice and for sending data to
or receiving data from nearby smart devices like sensors or smartphones.
Another black, plastic-covered chip can be seen to the bottom edge of the board, just behind
the middle set of USB ports. This is the network and USB controller, and is responsible for
running the Ethernet port and the four USB ports. A final black chip, much smaller than the rest,
can be found a little bit above the micro USB power connector to the upper-left of the board
(Figure 1-5); this is known as a power management integrated circuit (PMIC), and handles turning
the power that comes in from the micro USB port into the power the Pi needs to run.
5Figure 1-5: The Raspberry Pi’s power management integrated circuit (PMIC)
Don’t worry if this seems like a lot to take in; you don’t need to know what each component is
or where to find it on the board in order to use the Raspberry Pi.
To the left of the USB ports is an Ethernet port, also known as a network port (Figure 1-7).
You can use this port to connect the Raspberry Pi to a wired computer network using a cable
with what is known as an RJ45 connector on its end. If you look closely at the Ethernet port,
you’ll see two light-emitting diodes (LEDs) at the bottom; these are status LEDs, and let you
know that the connection is working.
Directly above the 3.5 mm AV jack is a strange-looking connector with a plastic flap which
can be pulled up; this is the camera connector, also known as the Camera Serial Interface (CSI)
(Figure 1-9). This allows you to use the specially designed Raspberry Pi Camera Module
(about which you’ll learn more in Chapter 8, The Raspberry Pi Camera Module.)
Above that, still on the left-hand edge of the board, is the High-Definition Multimedia
Interface (HDMI) port (Figure 1-10), which is the same type of connector you’ll find on a games
console, set-top box, and TV. The multimedia part of its name tells you that it carries both
audio and video signals, while high-definition tells you that you can expect excellent quality.
You’ll use this to connect the Raspberry Pi to your display device, whether that’s a computer
monitor, TV, or projector.
Above the HDMI port is a micro USB power port (Figure 1-11), which you’ll use to connect
the Raspberry Pi to a power source. The micro USB port is a common sight on smartphones,
tablets, and other portable devices. So you could use a standard mobile charger to power the
Pi, but for best results you should use the official Raspberry Pi USB Power Supply.
At the right-hand edge of the board you’ll find 40 metal pins, split into two rows of 20
pins (Figure 1-14). This is the GPIO (general-purpose input/output) header, a feature of
the Raspberry Pi used to talk to additional hardware from LEDs and buttons all the way to
temperature sensors, joysticks, and pulse-rate monitors. You’ll learn more about the GPIO
header in Chapter 6, Physical computing with Scratch and Python. Just below and to the
left of this header is another, smaller header with four pins: this is used to connect the Power
over Ethernet (PoE) HAT, an optional add-on which lets the Raspberry Pi receive power from a
network connection rather than the micro USB socket.
There’s one final port on the Raspberry Pi, but you won’t see it on the top. Turn the board
over and you’ll find a microSD card connector on the opposite side of the board to the display
connector (Figure 1-15). This is the Raspberry Pi’s storage: the microSD card inserted in
here contains all the files you save, all the software you install, and the operating system that
makes the Raspberry Pi run.
T
he Raspberry Pi has been designed to be as quick and easy to set up and use as
possible, but – like any computer – it relies on various external components, called
peripherals. While it’s easy to take a look at the bare circuit board of the Raspberry Pi –
which looks significantly different to the encased, closed-off computers you may be used to
– and worry things are about to get complicated, that’s not the case. You can be up and running
with the Raspberry Pi in well under ten minutes simply by following the steps in this guide.
If you have received this book as part of the Raspberry Pi Starter Kit, then you’ll already have
almost everything you’ll need to get started: all you need to provide is a computer monitor
or TV with an HDMI connection – the same type of connector used by set-top boxes, Blu-ray
players, and games consoles – so you can see what the Raspberry Pi is doing.