You are on page 1of 44

Raspberry-Pi

Introduction
&
Raspberry-Pi 4
NETAJI SUBHASH ENGG. COLLEGE

June, 2020-2021

Prepared By:
Prof. SUMITESH MAJUMDER
HOD, AEIE Department
NSEC
Raspberry-Pi
• Raspberry Pi is a series of small single-board
computers (SBCs) developed in the United Kingdom by
the Raspberry Pi Foundation in association with
Broadcom.
• The Pi isn't like your typical device and is simply a
credit-card sized electronic board -- of the type you
might find inside a PC or laptop, but much smaller.
• It is widely used in many areas, such as for weather
monitoring, because of its low cost, modularity, and
open design.
• It is typically used by computer due to its adoption of
HDMI and USB devices.
• All over the world, people use the Raspberry Pi to
learn programming skills, build hardware projects, do
home automation and even use them in industrial
Raspberry-Pi
The Raspberry Pi is a very cheap computer that provides a set
of GPIO (general purpose input/output) pins, allowing you to
control electronic components for physical computing and
explore the Internet of Things (IoT).

The Raspberry Pi launched in 2012, and there have been several


iterations and variations released since then.
Raspberry Pi models
• Pi 1 Model B (2012)
• Pi 1 Model A (2013)
• Pi 1 Model B+ (2014)
• Pi 1 Model A+ (2014)
• Pi 2 Model B (2015)
• Pi Zero (2015)
• Pi 3 Model B (2016)
• Pi Zero W (2017)
• Pi 3 Model B+ (2018)
• Pi 3 Model A+ (2019)
• Pi 4 Model A (2019)
• Pi 4 Model B (2020)
• Pi 400 (2021)
• Pi pico (2021)
i 4
y- P
r r
b e
s p
R a
Raspberry-Pi 4
WHAT IS THE RASPBERRY PI 4?
• There are several models of Raspberry Pi, and for most
people Raspberry Pi 4 Model B is the one to choose.
Raspberry Pi 4 Model B is the newest, fastest, low-cost and
easiest to use.
• Raspberry Pi 4 comes with 2GB, 4GB, or 8GB of RAM. For
most educational purposes and hobbyist projects, and for
use as a desktop computer, 2GB is enough.
• With the Pi 4 being faster, able to decode 4K video,
benefiting from faster storage via USB 3.0, and faster
network connections via true Gigabit Ethernet, the door is
open to many new uses. It's also the first Pi that supports
two screens at one -- a boon for creatives who want more
desktop space.
Raspberry-Pi 4
Hardware
• Quad core 64-bit ARM-Cortex A72 running
at 1.5GHz
• 1, 2,4 and 8 Gigabyte LPDDR4 RAM options
• Video Core VI 3D Graphics
• Supports dual HDMI display output up to
4Kp60
Raspberry-Pi 4
Interfaces
• 802.11 b/g/n/ac Wireless LAN
• Bluetooth 5.0 with BLE
• 1x SD Card
• 2x micro-HDMI ports supporting dual displays up to 4Kp60 resolution
• 2x USB2 ports
• 2x USB3 ports
• 1x Gigabit Ethernet port (supports PoE with add-on PoE HAT)
• 1x Raspberry Pi camera port (2-lane)
• 1x Raspberry Pi display port (2-lane)
• 28x user GPIO supporting various interface options:
– Up to 6x UART
– Up to 6x I2C
– Up to 5x SPI
– 1x SDIO interface
– 1x DPI (Parallel RGB Display)
– 1x PCM
– Up to 2x PWM channels
– Up to 3x GPCLK outputs
Raspberry-Pi 4
Raspberry-Pi 4
Raspberry-Pi 4- Connections
A power supply
• To connect to a power socket, all Raspberry Pi models have a
USB port (the same found on many mobile phones): either
USB-C for Raspberry Pi 4, or micro USB for Raspberry Pi 3, 2,
and 1.
• You need a power supply that provides:
At least 3.0 amps for Raspberry Pi 4
At least 2.5 amps for Raspberry Pi 3
Raspberry-Pi 4- Connections
A microSD card
• Your Raspberry Pi needs an SD card to store all its files and the
Raspberry Pi OS operating system.
• You need a microSD card with a capacity of at least 8GB.
• Many sellers supply SD cards for Raspberry Pi that are already
set up with Raspberry Pi OS and ready to go.
Raspberry-Pi 4- Connections
A keyboard and a mouse
• To start using your Raspberry Pi, you need a USB keyboard
and a USB mouse.
• Once you’ve set up your Raspberry Pi, you can use a
Bluetooth keyboard and mouse, but you’ll need a USB
keyboard and mouse for the first setup.
A TV or computer screen
• To view the Raspberry Pi OS desktop environment, you need a
screen, and a cable to link the screen and your Raspberry Pi.
The screen can be a TV or a computer monitor. If the screen
has built-in speakers, Raspberry Pi is able to use these to play
sound.
Raspberry-Pi 4- Connections
HDMI
• Your Raspberry Pi has an HDMI output port that is compatible
with the HDMI port of most modern TVs and computer
monitors. Many computer monitors may also have DVI or VGA
ports.
• Raspberry Pi 4 has two micro HDMI ports, allowing you to
connect two separate monitors.
• You need either a micro HDMI to HDMI cable, or a standard
HDMI to HDMI cable plus a micro HDMI to HDMI adapter, to
connect Raspberry Pi 4 to a screen.
Raspberry-Pi 4- Connections
HDMI
• Raspberry Pi 1, 2, and 3 have a single full-size HDMI port, so
you can connect them to a screen using a standard HDMI to
HDMI cable.
•VGA
Some screens only have a VGA port.
To connect your Raspberry Pi to such a
screen, you can use an HDMI to VGA
adapter.
Raspberry-Pi 4- Optional Connections
A case
• You may want to put your Raspberry Pi in a case. This is not essential, but
it will provide protection for your Raspberry Pi.
Headphones or speakers
• The large Raspberry Pi models have a standard audio port like the one on a
Smartphone or MP3 player. If you want to, you can connect your
headphones or speakers so that your Raspberry Pi can play sound. If the
screen you’re connecting your Raspberry Pi to has built-in speakers,
Raspberry Pi can play sound through these.
An Ethernet cable
• The large Raspberry Pi models have a standard Ethernet port to connect
them to the internet; otherwise to connect Raspberry Pi to the internet,
you need a USB to Ethernet adapter.
• Raspberry Pi 4, Raspberry Pi 3, and some other Raspberry Pi can also be
wirelessly connected to the internet.
Raspberry-Pi 4
GPIO Interface

The Pi4B makes 28 BCM2711 GPIOs available


via a standard Raspberry Pi 40-pin header.
This header is backwards compatible with all
previous Raspberry Pi boards with a 40-way
header.
Raspberry-Pi 4
Raspberry-Pi 4
GPIO Pin Assignments

As well as being able to be used as


straightforward software controlled input and
output (with programmable pulls), GPIO pins
can be switched (multiplexed) into various
other modes backed by dedicated peripheral
blocks such as I2C, UART and SPI.
In addition to the standard peripheral options
found on legacy Pis, extra I2C, UART and SPI
peripherals
have been added to the BCM2711 chip and are
available as further mux options on the Pi4.
This gives
users much more flexibility when attaching
add-on hardware as compared to older
models.
Raspberry-Pi 4
• Software
• ARMv8 Instruction Set
• Mature Linux software stack
• Actively developed and maintained
– Recent Linux kernel support

• Power Requirements
The Pi4B requires a good quality USB-C power supply capable of
delivering 5V at 3A. If attached downstream USB devices
consume less than 500mA, a 5V, 2.5A supply may be used.
How to install OS in R Pi-4
Set up Raspberry Pi OS: Raspbian
• Now you’ve got all the pieces together, it’s time to
install an operating system on your Raspberry Pi, so
you can start using it. Raspberry Pi uses a custom
operating system called Raspbian.
• Raspbian is the official OS for Raspberry Pi. We're
going to install Raspbian OS on your microSD card
and start your Raspberry Pi.
How to install OS in R Pi-4

1. Download SD Card
Formatter tool
• Start by downloading
SD Card Formatter tool fro
m the SD Card Association
website
. Now attach the microSD
card to your PC and launch
SD Card Formatter (click Yes
to allow Windows to run it).
If the card isn’t
automatically recognised,
remove and reattach it and
click Refresh. The card
should be selected
automatically (or choose
How to install OS in R Pi-4

2. Format the micro SD


• Choose the Quick Format
option and then click
Format. When the card has
completed the formatting
process, it’s ready for use in
your Raspberry Pi. Leave
the micro SD card in your
computer for now and
simply note the location of
your duly formatted SD
card.
How to install OS in R Pi-4
3. Website and installation
• Download OS for windows from the website
https://www.raspberrypi.org/download/
• After download, install it in your PC.
How to install OS in R Pi-4
.exe file is downloading
How to install OS in R Pi-4
Installation-started
How to install OS in R Pi-4
Installation-continued
How to install OS in R Pi-4
Installation-finished
How to install OS in R Pi-4
• After installation, insert the Micro SD card in your PC through
card reader and write OS (Raspbian)-64 bit into it.
How to install OS in R Pi-4
How to install OS in R Pi-4
Select- Choose OS
How to install OS in R Pi-4
Select- Raspberry Pi OS (64 bit)
How to install OS in R Pi-4
Select- Choose SD CARD
How to install OS in R Pi-4
Select- your SD CARD from the list
How to install OS in R Pi-4
How to install OS in R Pi-4
Select- Write OS in your SD CARD
How to install OS in R Pi-4
Some time requires to write for large size of OS (in GB)
How to install OS in R Pi-4
Verifying…
How to install OS in R Pi-4
Raspbian OS has been written successfully
How to install OS in R Pi-4
4. Insert the micro SD card to Raspberry Pi 4
• Now it’s time to physically set up your Raspberry Pi. Flip over Raspberry Pi 4
and locate the micro SD card socket underneath. Carefully insert the microSD
card. Once it's inserted all the way in, it's time to start up your Raspberry Pi.
Check that your PC monitor is plugged into the mains and that the HDMI cable
is running to the corresponding HDMI port on your Raspberry Pi. Check that
both the keyboard and mouse are connected to USB ports on Raspberry Pi 4.
Plug in your Raspberry Pi power supply and, after a few seconds, the screen
should come on.
How to install OS in R Pi-4
• 6. Welcome to Raspberry Pi
• When Raspbian loads for the first time, you
will see this Welcome screen:
How to install OS in R Pi-4
How to install OS in R Pi-4
Any Questions
?

You might also like