0% found this document useful (0 votes)
14 views16 pages

IoT & Raspberry Pi for Educators

Uploaded by

esshan paliwal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views16 pages

IoT & Raspberry Pi for Educators

Uploaded by

esshan paliwal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

Internet of Things (IoT) –

Architecture, Communication Technology, and Applications


(EED-379)

Dr. Rohit Singh 1


Raspberry Pi
Introduction & Programming
Syllabus

Dr. Rohit Singh 2


What is Raspberry Pi

The Raspberry Pi is a series of small single-


board computers developed in the United
Kingdom by the Raspberry
Syllabus
Pi Foundation to
promote the teaching of basic computer
science in schools and in developing
countries.

Dr. Rohit Singh 3


Raspberry Pi 3B+ & 4

Syllabus

Dr. Rohit Singh 4


Raspberry Pi

Syllabus

Dr. Rohit Singh 5


What is Raspberry Pi
• The Raspberry Pi is a credit card sized computer.
• Raspberry Pi can run many operating systems using
Linux
• Raspberry Pi has following interfaces
• USB Syllabus

• HDMI
• Audio out
• GPIO
• LAN
• Serial Camera
• Serial Touch Screen
Dr. Rohit Singh 6
What Raspberry Pi is NOT

• The Raspberry Pi not a microcontroller or


microprocessor, it’s a complete computer.
• Raspberry Pi is not name of any IC.
• Raspberry Pi is not the name of any software.
Syllabus

• Raspberry Pi is not programming language.


• Raspberry Pi is simply a COMPUTER in a very
small size.

Dr. Rohit Singh 7


Why Raspberry Pi for IoT

• Embedded Systems are getting very demanding these days


• High processing requires a descent operating systems like
Linux
• Boards running Linux are very costly
Syllabus
• Learning Computer in very cost-effective way is need of
time
• Development of a very cost-effective learning and
application platform

Dr. Rohit Singh 8


Primary Objective for building Raspberry Pi

• Main purpose of building Raspberry Pi was to enable kids across


the globe to learn computer.

• By providing a computer to as low as USD 35, Raspberry Pi is


the cheapest computer in world.
Syllabus

• To teach programming language to kids.

Dr. Rohit Singh 9


Raspberry Pi Versions
• 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) There has generally been a Model A and a Model
BSyllabus
of most generations. Model A has been a less
• Pi 3 Model B (2016) expensive variant and tends to have reduced RAM
• Pi Zero W (2017) and fewer ports (such as USB and Ethernet).
• Pi 3 Model B+ (2018)
• Pi 3 Model A+ (2019)
• Pi 4 Model A (2019)
• Pi 4 Model B (2020)
• Pi 400 (2021)

Dr. Rohit Singh 10


OS
Raspberry Pi OS (previously called Raspbian) is the official operating system
for all models of the Raspberry Pi.

Third Party Operating System Images

Syllabus

Dr. Rohit Singh 11


Pins of Raspberry Pi 3 B+

Syllabus

Dr. Rohit Singh 12


Pins of Raspberry Pi 3 B+

Syllabus

Dr. Rohit Singh 13


Classification of Raspberry Pi 3 B+ Pins

The pins can be divided into following categories:

1. Power pins: In Raspberry Pi 3B+, there are two pins


for 5V supply, two pins for 3.3 V supply, and eight
ground pins.
Syllabus
2. GPIO: 28 GPIO pins.

3. Communication protocol pins: pins for UART, I2C,


and SPI communication
-some of the GPIO pins perform dual purpose.

Dr. Rohit Singh 14


GPIO Access in Python
To access the GPIO pins, import Rpi.GPIO library in your program
Import Rpi.GPIO as GPIO
If this library is not installed, then install using:
sudo apt-get install rpi.gpio

Syllabus

Dr. Rohit Singh 15


Syllabus

Dr. Rohit Singh 16

You might also like