2. “
“When we get the final hardware, the performance is
just going to skyrocket.
J Allard
2
3. 1. What is Raspberry PI ?
Let’s start with the basic questions
3
4. RPI
The Pi is a tiny computer about the size of a credit-card,
the board features a processor, RAM and typical hardware
ports you find with most computers.
4
5. 2. Arduino Vs Raspberry PI ?
What is the main difference between the two ?
5
6. Arduino Vs RPI
Arduino is a
micro-controller.Micro-controller is a simple
computer that can run one program at a time,
over and over again. It is very easy to use.
Raspberry Pi is a general-purpose
computer(Mini PC), usually with a Linux
operating system, and the ability to run
multiple programs. It is more complicated
to use than an Arduino.
6
7. What would I use each for?
Arduino is best used for simple repetitive tasks: opening and closing a
garage door, reading the outside temperature and reporting it to Twitter,
driving a simple robot.
Raspberry Pi is best used when you need a full-fledged computer: driving a
more complicated robot, performing multiple tasks, doing intense
calculations (as for Bitcoin or encryption)
7
8. How to decide between the 2 when am working on
project?
If you can describe it with less than two ‘and’s, get an
Arduino. If you need more than two ‘and’s, get a
Raspberry Pi.
8
11. Raspberry PI 3 Features
● The 1.2GHz 64-bit quad-core ARM
Cortex-A53 CPU
● Integrated 802.11n wireless LAN and
Bluetooth 4.1
● Broadcom BCM2387 chipset
● 1G RAM
11
12. 4. OS for PI ?!
There is many types of OS for RPI ,which one is the best ?!
12
16. 16
SD card Minimum size 4Gb (class 4)
HDMI to HDMI /DVI
● HDMI to HDMI lead (for HD TVs and monitors with HDMI input).
OR
● HDMI to DVI lead (for monitors with DVI input). Leads and adapters are available for few
pounds -- there is no need to buy expensive ones
Power adapter ● A good quality, micro USB power supply that can provide at least 700mA at 5V is
essential.
● Many mobile phone chargers are suitable—check the label on the plug.
● If your supply provides less than 5V then your Raspberry Pi may not work at all,
Ethernet RJ45
17. 17
Preparing the SD card
1. Download RPI OS (Raspbian recommended )
2. Unzip the file that you just downloaded
3. Download the Win32DiskImager software
4. Writing Raspbian to the SD card
5. 5. Booting your Raspberry Pi for the first time
On first boot you will come to the Raspi-config window
->Default username :pi
->Default password : raspberry
19. Static IP address
19
The following is done over SSH, but you could just as well plug your Pi into a monitor, hook up a keyboard and
mouse, and use the Terminal instead.
Start by editing the dhcpcd.conf file
sudo nano /etc/dhcpcd.conf
You’ll need to edit the
numbers in the snippet so
they match your network
configuration.
20. 20
Enable ssh
Enter sudo raspi-config in the terminal, first select Interfacing
options, then navigate to ssh, press Enter and select Enable or
disable ssh server
22. 22
About LAMP
LAMP stack is a group of open source software used to get web servers
up and running. The acronym stands for Linux, Apache, MySQL, and PHP.
Since the virtual private server is already running Ubuntu, the linux part
is taken care of.
23. Install LAMP
We recommend this script to easily install the full LAMP
without extra-command lines
23
https://github.com/ihebBenSalem/LampRapberryPI2-3