Professional Documents
Culture Documents
Lect 2 Introduction To RaspberryPi
Lect 2 Introduction To RaspberryPi
Prepared by:
Dr. Emad A. Elsheikh
Introduction
Raspberry Pi 1 Model B 38 21 Pin (26 Pin Header) 700 MHz Single 512 MB
Raspberry Pi 1 Model A 30 21 Pin (26 Pin Header) 700 MHz Single 256 MB
Connectivity Specifications
Other USB & Charge
Raspberry Pi Version Full sized USB Ports Power HDMI Ports
Methods
2 USB3.0
Raspberry Pi 4 Model B 1 USB-C 5.1V at 3A 2 micro-HDMI
2 USB2.0
• Playing games
• Browsing the internet
• Word processing
• Spreadsheets
• Editing photos
• Paying bills online
• Managing your accounts.
• Another option is to choose the OS from the menu. You can download and install the OS from the
menu, if you have a network connection. It is always recommended to download NOOBS for your
first OS.
MicroSD card Formatting
On the other hand, if you are using Model A or Model B, you need an SD card
and you need to flip your Raspberry Pi over. Now, slide the SD card while facing
the label side above. After that you need to gently press the card home.
And we know that the models Pi Zero and Zero W have the MicroSD card slot
mounted on the top surface of the board. To insert the card, you need to put the
label side facing you.
GPIO Pinout assignment
On first boot…
Terminal or Pixel
There are two options when booting:
▪ shell or
▪ Pixel desktop (graphical session)
On first boot…
▪ NOOBS installer has GUI (Raspbian
recommended)
To configure Raspbian parameters such
as enable (GPIO, PiCamera, VNC server,
SSH, SPI, …etc.)
✓ From Menu (Start) -> Preference ->
Configure Raspberry Pi -> Interfaces
Or
✓ Boots into raspi-config (you can run it
with “sudo raspi-config”)
▪ Expand file system, change password
and change keyboard layout, enable
ssh etc.
SSH
❑ Secure shell = Easy way to remotely access a Pi
❑ After connecting to a WLAN we need to find out the Pi’s ip address
❑ Type ‘> ip a’ in a terminal output is something like this
❑ If you don’t have a monitor connected you can try to nmap the ip
❑ If the Pi connects to the same router between boots or PC, DHCP should give
it the same ip
❑ You can also configure a static IP
Local ip address
SSH
When you obtained the IP address, you can access the ip with example (Putty).