0% found this document useful (0 votes)
94 views

Course: Internet of Things: Embedded Devices - II

Uploaded by

ramna k
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
94 views

Course: Internet of Things: Embedded Devices - II

Uploaded by

ramna k
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 46

Course : INTERNET OF THINGS

Module 3 : Embedded Devices - II

Mr. G.NARASIMHARAO
Assistant Professor
Department of EECE
GITAM Institute of Technology (GIT)
Visakhapatnam – 530045

Department of EECE, GIT Course Code and Course Title: : 19EID232: INTERNET OF THINGS
July 21, 2021 1
Module 3 : Embedded Devices II

Topics
Embedded Devices - II:
Raspberry Pi
Cases and Extension Boards
Developing on the Raspberry Pi
Some Notes on the Hardware
Openness
Other notable platforms
Mobile phones and tablets
Plug Computing: Always-on Internet of Things
Department of EECE, GIT Course Code and Course Title: : 19EID232: INTERNET OF THINGS
July 21, 2021 2
Module 3 : Embedded Devices II

Learning Outcomes:
After completion of this unit, the student will be able to
outline the architecture of Raspberry Pi
develop simple applications using Raspberry Pi
select a platform for a particular embedded computing application
 

Department of EECE, GIT Course Code and Course Title: : 19EID232: INTERNET OF THINGS
July 21, 2021 3
EMBEDDED PLATFORMS FOR PROTOTYPING

Designing a product needs a prototype development first.


A standard source board enables prototyping, an easy task for
number of IoT and M2M devices. This is because of the open-source
availabilities of IDE, middleware and software components from
number of sources and forums for the board.

Department of Biotechnology, GIT Course Code and


July 21, 2021 4
Course Title:
Several standard popular boards, modules and supporting circuits
(shields) are available from a number of sources.
Some of the boards used for prototyping are Arduino, Intel® Galileo
and Edison, Raspberry Pi, BeagleBone and mBed boards.
A board uses MCU as embedding platform for creating the IoT, M2M
and wearable devices.

Department of Biotechnology, GIT Course Code and


July 21, 2021 5
Course Title:
Module 3 : Embedded Devices II

Raspberry Pi

Department of EECE, GIT Course Code and Course Title: : 19EID232: INTERNET OF THINGS
July 21, 2021 6
Introduction

• The Raspberry Pi is a credit-card sized computer


• It can be plugged into your TV and a keyboard, and can be
used for many of the things that your average desktop
does - spreadsheets, word-processing, games and it also
plays high-definition video.

• measuring approximately 9cm x 5.5cm


Introduction
History
❖The Raspberry Pi is a series of small single-board computers
developed in the United Kingdom by the Raspberry Pi
Foundation to promote the teaching of basic computer science in
schools and in developing countries.

❖It's supported by the University of Cambridge Computer


Laboratory and tech firm Broadcomm
Raspberry Pi
 Raspberry Pi is the name of a series of single-board
computers made by the Raspberry Pi Foundation, a UK
charity that aims to educate people in computing and
create easier access to computing education.
raspberry pi as invented by Eben Upton at the
University of Cambridge in the United Kingdom for
improving the programming skills of his students.
The Raspberry Pi launched in 2012, and there have been
several iterations and variations released since then. The
original Pi had a single-core 700MHz CPU and just
256MB RAM, and the latest model has a quad-core
1.4GHz CPU with 1GB RAM

July 21, 2021 Department of EECE, GIT Course Code and Course Title: 19EID232 : INTERNET OF THINGS 10
 All over the world, people use Raspberry Pis to
learn programming skills, build hardware projects,
do home automation, and even use them in
industrial applications.
The Raspberry Pi is a very cheap computer that runs
Linux, but it also provides a set of GPIO (general
purpose input/output) pins that allow you to control
electronic components for physical computing and
explore the Internet of Things (IoT).

July 21, 2021 Department of EECE, GIT Course Code and Course Title: 19EID232 : INTERNET OF THINGS 11
Motivatio
n
❖Computer science skills increasingly important
❖Decline in CS student numbers
❖Access to computers
❖Computers are the tool of the 21st century
❖Computer Science is concerned with much more than simply
being able to use a computer.
❖Children should understand how they work and how to
program them.
What is Raspberry Pi?

•The Raspberry Pi is a fully featured micro-


computer squashed onto a circuit board measuring
approximately 9cm x 5.5cm.
The Following Table compares the specs of the latest Arduino Due with the top
end Raspberry Pi Model B
Specifications\Board Arduino Due Raspberry Pi Model B
CPU Speed 84 MHz 700 MHz ARM11
GPU None Broadcom Dual-Core VideoCore IV
Media Co-Processor

RAM 96KB 512MB


Storage 512KB SD card (4GB +)
OS Bootloader Various Linux distributions, other
operating systems available

Connections 54 GPIO pins 8 GPIO pins


12 PWM outputs 1 PWM output,1 UART
4 UARTs,SPI bus,I²C bus SPI bus with two chip selects
USB 16U2 + native host I²C bus,2 USB host sockets
12 analogue inputs (ADC) Ethernet, HDMI out
2 analogue outputs (DAC) Component video and audio out
Comparison between Raspberry Pi and
Arduino

July 21, 2021 Department of EECE, GIT Course Code and Course Title: 19EID232 : INTERNET OF THINGS 15

July 21, 2021 Department of EECE, GIT Course Code and Course Title: 19EID232 : INTERNET OF THINGS 16

July 21, 2021 Department of EECE, GIT Course Code and Course Title: 19EID232 : INTERNET OF THINGS 17
Features

•Ultra low-cost (Model A $25, Model B


$35)
•Ultra low-power ~1W
•Credit-card sized, fanless, instant
start-up
•Complete easy-to-program computer
Feature
s

•Provide a fun environment for experimenting


with programming and electronics
•Inexpensive, simple, open and easy to maintain
computer for schools
•Fun computer for children to experiment with at
home(programming, robotics, etc...)
Technology

• The Raspberry Pi has a Broadcom BCM2835 system on a


chip (SoC),which includes an ARM1176JZF-S 700 MHz
processor
• Video Core IV GPU
• originally shippedwith 256 megabytes of RAM, later
upgraded to 512MB.
• Itdoes not include a built-in hard disk , but uses an
Secure Digital SD card for booting and long-term storage.
Hardware
• 10/100 BaseT Ethernet socket
• HDMI socket
• USB 2.0 socket
• RCA video socket
• SD card socket
• Powered from microUSB socket
• 3.5mm audio out jack
• Header footprint for camera connection
July 21, 2021 Department of EECE, GIT Course Code and Course Title: : 19EID232: INTERNET OF THINGS 23
Operating System
• The Raspberry Pi Foundation recommends the use of
Raspbian, a Debian-based Linux operating system.
• Other third party operating systems available via the official
website include Ubuntu MATE, Snappy Ubuntu Core,
Windows 10 IoT Core, RISC OS and specialised distributions
for the Kodi media center and classroom management
Linux Based Operating Systems
• Android Things • Gentoo Linux
• Arch Linux • CentOS Raspberry Pi
• OpenSuse • Kali Linux
• Raspberry Pi Fedora Remix • Slackware ARM
• Pidora • Puppy Linux
For Internet of Things work, the Adafruit distro is the recommended OS. The main tweaks
that interest us are that
◾ The sshd (SSH protocol daemon) is enabled by default, so you can connect to the console
remotely.
◾ The device registers itself using zero-configuration networking (zeroconf) with the name
raspberrypi.local, so you don’t need to know or guess which IP address it picks up from
the network in order to make a connection.
Operating Systems
Module 3 : Embedded Devices II

After you boot up the Pi, you can communicate with it just
as you’d communicate with any computer—that is, either
with the keyboard and monitor that you’ve attached, or with
the Adafruit distro, via ssh as mentioned
previously.
The following command, from a Linux or Mac command
An Electric Imp (left), a micro SD card (centre), and an SD card(right).
line, lets you log in to the Pi just as you would log in to a
remote server: $ ssh [email protected]

From Windows, use an SSH client such as PuTTY (www.chiark.greenend.org.uk/~sgtatham/putty/)


After you connect to the device, you can develop a software application for it as easily as you can for
any Linux computer. How easy that turns out to be depends largely on how comfortable you are
developing for Linux.

Department of EECE, GIT Course Code and Course Title: : 19EID232: INTERNET OF THINGS
July 21, 2021 27
Module 3 : Embedded Devices II
Programming Language
 One choice to be made is which programming language and environment you want to
use. Here, again, there is some guidance from the Foundation, which suggests Python
as a good language for educational programming (and indeed the name “Pi” comes
initially from Python).
 Any language which will compile for ARMv6 can be used with the Raspberry
Pi.

Department of EECE, GIT Course Code and Course Title: : 19EID232: INTERNET OF THINGS
July 21, 2021 28
Applicatio
ns Pi Medical Device Input
Raspberry
Shield
Application
s
• Voice-Activated Coffee Machine
• Raspberry Pi Dynamic Bike Headlight Prototype
Application
s
• It can make your Old TV in to a smart TV. (You
can play Videos, 3D Games, Music, Browse
Internet and much more.
• Raspberry Pi can Act as Full HD 1080p Media
Player.
• Its a Mini Computer which just cost Rs.2,350/-
• You can connect a Monitor, Keyboard and Mouse
and use it as a normal computer.
• Its Graphics Capabilities is better than Apple
Products.
Module 3 : Embedded Devices II

Department of EECE, GIT Course Code and Course Title: : 19EID232: INTERNET OF THINGS
July 21, 2021 33
Module 3 : Embedded Devices II

Department of EECE, GIT Course Code and Course Title: : 19EID232: INTERNET OF THINGS
July 21, 2021 34
Module 3 : Embedded Devices II

Department of EECE, GIT Course Code and Course Title: : 19EID232: INTERNET OF THINGS
July 21, 2021 35
Module 3 : Embedded Devices II

Department of EECE, GIT Course Code and Course Title: : 19EID232: INTERNET OF THINGS
July 21, 2021 36
Module 3 : Embedded Devices II

Department of EECE, GIT Course Code and Course Title: : 19EID232: INTERNET OF THINGS
July 21, 2021 37
Module 3 : Embedded Devices II

Department of EECE, GIT Course Code and Course Title: : 19EID232: INTERNET OF THINGS
July 21, 2021 38
Module 3 : Embedded Devices II

Department of EECE, GIT Course Code and Course Title: : 19EID232: INTERNET OF THINGS
July 21, 2021 39
Module 3 : Embedded Devices II

Department of EECE, GIT Course Code and Course Title: : 19EID232: INTERNET OF THINGS
July 21, 2021 40
Module 3 : Embedded Devices II

Department of EECE, GIT Course Code and Course Title: : 19EID232: INTERNET OF THINGS
July 21, 2021 41
Module 3 : Embedded Devices II

Department of EECE, GIT Course Code and Course Title: : 19EID232: INTERNET OF THINGS
July 21, 2021 42
Module 3 : Embedded Devices II

Department of EECE, GIT Course Code and Course Title: : 19EID232: INTERNET OF THINGS
July 21, 2021 43
Module 3 : Embedded Devices II

Department of EECE, GIT Course Code and Course Title: : 19EID232: INTERNET OF THINGS
July 21, 2021 44
Module 3 : Embedded Devices II

Department of EECE, GIT Course Code and Course Title: : 19EID232: INTERNET OF THINGS
July 21, 2021 45
Module 3 : Embedded Devices II

Department of EECE, GIT Course Code and Course Title: : 19EID232: INTERNET OF THINGS
July 21, 2021 46

You might also like