2. BASIC BUILDING BLOCKS OF AN IOT DEVICE
• Any IoT device typically requires capabilities around sensing,
actuation, communication, processing and analytics
• These devices may not require very powerful processing
capabilities and may have low power consumption requirements
3. BASIC BUILDING BLOCKS OF AN IOT DEVICE
Connectivity
USB/RJ45/Blutooth/
WiFi
Processor
CPU/GPU
Audio/Video
HDMI/VGA/Audio
Jack
Storage
Interfaces
SD-CARD
Memory
Interfaces
RAM/ROM
Other
Interfaces
I2C/UART/CAN
Interconnect Bus
4. RASPBERRY PI
• The Raspberry Pi is a series of small single-board computers
developed in the UK by the Raspberry Pi foundation to promote
teaching of basic computer science in schools and in developing
countries.
5. FEATURES AND CHARACTERISTICS OF
RASPBERRY PI
1. • Powerful yet small footprint
2 • Low cost
3 • Highly programmable
4 • Ease of application development
5 • Several connectivity options
6 • Community support
6. EXAMPLES OF OSes FOR RASPBERRY PI
OS Name Description
Raspberry Pi OS Official OS for all models of the Raspberry Pi
Raspberry Pi Desktop OS for PC and Mac based OS
Ubuntu MATE Provides a complete, familiar, desktop environment that can
be used for basic desktop computing
Ubuntu Core This OS is a secure and optimized version of Ubuntu for
production use
Ubuntu Server This is the server version of Ubuntu
OSMC Open Source Media Center – it is a free and open media built
for media and streaming services.
Mozilla WebThings It is a software distribution for smart home gateways which
allows users to directly monitor and control their smart home
over the web
7. RASPBERRY PI MODELS
Model name Speed RAM USB Ports Ethernet Wireless Bluetooth
Raspberry Pi Model A+ 700 Mhz 512 MB 1 No No No
Raspberry Pi Model B+ 700 Mhz 512 MB 4 Yes No No
Raspberry Pi 2 Model B 900 MHz 1GB 4 Yes No No
Raspberry Pi 3 Model B 1200 MHz 512 MB 1 No Yes Yes
Raspberry Pi 3 Model A+ 1400 MHz 1 GB 4 Yes Yes Yes
11. VARIABLES AND DATA TYPES
Data Types
Binary
Memory
view
Bytearry
bytes
Boolean
bool
Set
Frozenset
set
Mapping
dict
Sequence
Range
Tuple
list
Numeric
Complex
Float
Int
Text
str
12. Data Types Examples
Str X = “Hello World”
Int X=20
Float X=20.5
Complex X=1j
List X=[“apple”,”banana”,”cherry”]
Tuple X=(“apple”,”banana”,”cherry”)
Range X=range(6)
Dict X={“name” : “john” , ”age” :
36}
Set X={“apple”,”banana”,”cherry”}
Bool X=true