15. Introduction to Raspberry Pi
15. Introduction to Raspberry Pi
Raspberry Pi
Raspberry Pi
01 USB ports — these are used to connect a mouse and keyboard. You can also
connect other components, such as a USB drive.
03
Ethernet port — this is used to connect the Raspberry Pi
to a network with a cable. The Raspberry Pi can also
connect to a network via wireless LAN.
06
Micro USB power connector — this is where you connect
a power supply.
Note: You should always do this last after you have
connected all your other components.
07
GPIO ports — these allow you to connect electronic
components such as LEDs and buttons to the Raspberry Pi.
Operating System Installation (Raspbian)
7
https://www.sdcard.org/downloads/formatter/index.html
Connecting Raspberry Pi
10
Blink a led using R-pi
Material Needed
What you will need What you will learn
Hardware
▪ A raspberry pi and associated peripherals
▪ 1x LED ▪ How to connect an LED to
▪ 1x resistor (any resistor 100ohms will be fine) raspberry Pi.
▪ 4x female-to-female jumper cable ▪ How to control an LED with
▪ A mini speaker or headphone Scratch 2/3
▪ Wrap the robot around the ▪ Stick some modelling clay ▪ Push a pencil into the antenna to
cardboard tube lengthways behind the robot’s antenna make a hole through the
inside the cardboard tube. cardboard tube
Connecting LED with R-PI
▪ Firstly Look at your LED. It has a short leg and a
long leg.
17