SlideShare a Scribd company logo
1 of 45
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Agenda
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
What is Internet of Things?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
What is Internet of Things?
IoT Tutorial
GPS Tracking
Mobile Gyroscope
Adaptive Brightness
Voice Detection
VOICE
Face Detection
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
What is Internet of Things?
IoT Tutorial
Connecting everyday things embedded with electronics, software and
sensors to the internet enabling them to collect and exchange data
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Why do we need IoT?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Why do we need IoT?
IoT Tutorial
Cloud
IOT continuously monitoring your health
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Why do we need IoT?
IoT Tutorial
Cloud
As any irregular condition is monitored, hospital is notified…
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Why do we need IoT?
IoT Tutorial
Cloud
Quickly the ambulance is send to the patients location….
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Why do we need IoT?
IoT Tutorial
Before ambulance arrives, all the facilities are ready for the patient based on his reports…
Prescriptions
Medicines
Operation Theater
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Why do we need IoT?
IoT Tutorial
INTERACT
CONTRIBUTE
COLLABORATE
TO THINGS
to
&
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Benefits of IoT
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Benefits of IoT
Benefits of Internet of Things
IoT Tutorial
EFFICIENT RESOURCE UTILIZATION
MINIMIZING HUMAN EFFORT
SAVES TIME
DEVELOPMENT OF AI THROUGH IOT
IMPROVED SECURITY
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
IoT Features
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
IoT Features
IoT Tutorial
IoT lets us achieve the true potential of technology
CONNECT
ANALYZE
INTEGRATE
Connect various things to the IoT Platform
Analyze the data collected and use it to build
Business Intelligence
Integrate various models to improve user experience
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
IoT Features - Connect
IoT Tutorial
CONNECT
ANALYZE
INTEGRATE
Device Virtualization
1
Standardize integration of devices with the IoT enterprise
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
IoT Features - Connect
IoT Tutorial
CONNECT
ANALYZE
INTEGRATE
Device Virtualization
1
High Speed Messaging
2
Enable reliable, secure, and bi-directional
communication between devices and the cloud
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
IoT Features - Connect
IoT Tutorial
CONNECT
ANALYZE
INTEGRATE
Device Virtualization
1
High Speed Messaging
2
Endpoint Management
3
Manage device endpoint identity, metadata
and lifecycle states for all devices
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
IoT Features
IoT Tutorial
CONNECT
ANALYZE
INTEGRATE
Stream Processing
1
Real-time analysis of incoming data streams
with event aggregation, filtering, and
correlation
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
IoT Features
IoT Tutorial
CONNECT
ANALYZE
INTEGRATE
Stream Processing
1
Data Enrichment
2
Enrich raw data streams with contextual
information and generate composite streams
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
IoT Features
IoT Tutorial
CONNECT
ANALYZE
INTEGRATE
Stream Processing
1
Data Enrichment
2
Event Store
3
Query and visualize massive amounts of data
with integrated BI Cloud Service support and
enable big data analysis
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
IoT Features
IoT Tutorial
CONNECT
ANALYZE
INTEGRATE
Enterprise Connectivity
1
Dynamically dispatch critical IoT data and
events to applications and process flows
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
IoT Features
IoT Tutorial
CONNECT
ANALYZE
INTEGRATE
Enterprise Connectivity
1
REST APIs
2
API-based integration with Cloud apps and IoT
devices
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
IoT Features
IoT Tutorial
CONNECT
ANALYZE
INTEGRATE
Enterprise Connectivity
1
REST APIs
2
Command and Control
3
Send messages to devices from enterprise and
mobile apps, independent of device connectivity
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Raspberry Pi OS Installation
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Raspberry Pi OS Installation
The Raspberry Pi Foundation recommends the use of Raspbian, a Debian-based Linux operating system
RISC OS
FreeBSD
NetBSD
Plan 9 from Bell Labs
Windows 10 IoT
1
2
3
4
5
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Raspberry Pi OS Installation
1 Download NOOBS from www.raspberrypi.org
D o w n l o a d
N O O B S . z i p
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Raspberry Pi OS Installation
1 Download NOOBS from www.raspberrypi.org
E x t r a c t t h e
z i p f i l e & G o
t o R a s p b i a n
2 Extract the zip File
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Raspberry Pi OS Installation
1 Download NOOBS from www.raspberrypi.org
C o p y t h e s e f i l e s t o S D C a r d
2 Extract the zip File
3 Copy these file to a formatted SD card
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Raspberry Pi OS Installation
1 Download NOOBS from www.raspberrypi.org
2 Extract the zip File
3 Copy these file to a formatted SD card
4 Put in Raspberry Pi SD Card slot
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Raspberry Pi OS Installation
1 Download NOOBS from www.raspberrypi.org
2 Extract the zip File
3 Copy these file to a formatted SD card
4 Put in Raspberry Pi SD Card slot
5 Follow the installation instructions
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
IoT Demo
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
IoT Demo
IoT Tutorial
To build a Weather Detection System to get real-time weather metrics live onto mobile notifications
Problem Statement
SenseHat Board will
measure weather
metrics of Temperature,
Humidity & Pressure
onto Raspberry Pi
1
We will use Raspberry Pi
to transfer the weather
data and display the
results on the SenseHat
board
2
We will use Instapush
API and Python Script to
push these notifications
across the internet
3
Figure: Three steps to build weather detection system
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
IoT Demo
IoT Tutorial
Assembling SenseHat on
Raspberry Pi
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
IoT Demo
IoT Tutorial
import pycurl, json
from StringIO import StringIO
import RPi.GPIO as GPIO
from sense_hat import SenseHat
import time
from time import asctime
sense = SenseHat()
sense.clear()
Importing Sense Hat
Importing Time
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
IoT Demo
IoT Tutorial
cold = 30
hot = 40
pushMessage = ""
#Displaying numbers
OFFSET_LEFT = 1
OFFSET_TOP = 2
NUMS =[1,1,1,1,0,1,1,0,1,1,0,1,1,1,1, # 0
0,1,0,0,1,0,0,1,0,0,1,0,0,1,0, # 1
1,1,1,0,0,1,0,1,0,1,0,0,1,1,1, # 2
1,1,1,0,0,1,1,1,1,0,0,1,1,1,1, # 3
1,0,0,1,0,1,1,1,1,0,0,1,0,0,1, # 4
1,1,1,1,0,0,1,1,1,0,0,1,1,1,1, # 5
1,1,1,1,0,0,1,1,1,1,0,1,1,1,1, # 6
1,1,1,0,0,1,0,1,0,1,0,0,1,0,0, # 7
1,1,1,1,0,1,1,1,1,1,0,1,1,1,1, # 8
1,1,1,1,0,1,1,1,1,0,0,1,0,0,1] # 9
Displaying numbers on
SenseHat
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
IoT Demo
IoT Tutorial
# Displaying a single digit (0-9)
def show_digit(val, xd, yd, r, g, b):
offset = val * 15
for p in range(offset, offset + 15):
xt = p % 3
yt = (p-offset) // 3
sense.set_pixel(xt+xd, yt+yd, r*NUMS[p], g*NUMS[p], b*NUMS[p])
# Displays a two-digit positive number (0-99)
def show_number(val, r, g, b):
abs_val = abs(val)
tens = abs_val // 10
units = abs_val % 10
if (abs_val > 9):
show_digit(tens, OFFSET_LEFT, OFFSET_TOP, r, g, b)
show_digit(units, OFFSET_LEFT+4, OFFSET_TOP, r, g, b)
Displaying numbers
on SenseHat
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
IoT Demo
IoT Tutorial
temp = round(sense.get_temperature())
humidity = round(sense.get_humidity())
pressure = round(sense.get_pressure())
message = " T=%dC, H=%d, P=%d Millibars " %(temp,humidity,pressure)
appID = "59bb6e6ba4c48a1cd674e33d“ #Adding Instapush Application
appSecret = "fd127d824390296b5f84818cddafeebe“# Add your Instapush Secret Key
pushEvent = "TempNotify"
c = pycurl.Curl()
c.setopt(c.URL, 'https://api.instapush.im/v1/post’) # Setting API URL
c.setopt(c.HTTPHEADER, ['x-instapush-appid: ' + appID,
'x-instapush-appsecret: ' + appSecret,
'Content-Type: application/json'])
buffer = StringIO() # Capture response from push API call
Getting
weather
metrics
Validating
Instapush
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
IoT Demo
IoT Tutorial
def pushmessage():
json_fields = {}
json_fields['event']=pushEvent
json_fields['trackers'] = {}
json_fields['trackers']['message']=pushMessage
#print(json_fields)
postfields = json.dumps(json_fields)
c.setopt(c.POSTFIELDS, postfields)
c.setopt(c.WRITEFUNCTION, buffer.write)
c.setopt(c.VERBOSE, True)
Defining
notification
message
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
IoT Demo
IoT Tutorial
while True:
temp = round(sense.get_temperature())
humidity = round(sense.get_humidity())
pressure = round(sense.get_pressure())
message = ' T=%dC, H=%d, P=%d ' %(temp,humidity,pressure)
time.sleep(4)
log = open('weather.txt',"a")
now = str(asctime())
temp = int(temp)
show_number(temp, 200, 0, 60)
temp1 = temp
log.write(now+''+message+'n')
print(message)
log.close()
time.sleep(5)
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
IoT Demo
IoT Tutorial
if temp >= hot:
pushMessage = "It is hot: " + message
pushmessage()
c.perform()
# Capture the response from the server
body = buffer.getvalue()
pushMessage = ""
elif temp <= cold:
pushMessage = "It is cold: " + message
c.perform()
# Capture the response from the server
body = buffer.getvalue()
# Resetting the buffer
buffer.truncate(0)
buffer.seek(0)
c.close()
GPIO.cleanup()
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Session In A Minute
What is IOT? Why IOT? Benefits Of IOT
Features of IOT Raspberry Pi Installation Demo
IoT Tutorial
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
IoT Tutorial for Beginners | Internet of Things (IoT) | IoT Training | IoT Technology | Edureka

More Related Content

What's hot

What's hot (20)

Introduction to IOT
Introduction to IOTIntroduction to IOT
Introduction to IOT
 
Iot ppt
Iot pptIot ppt
Iot ppt
 
Internet of Things (IoT) - Slide Marvels, Top PowerPoint presentation design ...
Internet of Things (IoT) - Slide Marvels, Top PowerPoint presentation design ...Internet of Things (IoT) - Slide Marvels, Top PowerPoint presentation design ...
Internet of Things (IoT) - Slide Marvels, Top PowerPoint presentation design ...
 
Internet of Things(IOT)_Seminar_Dr.G.Rajeshkumar
Internet of Things(IOT)_Seminar_Dr.G.RajeshkumarInternet of Things(IOT)_Seminar_Dr.G.Rajeshkumar
Internet of Things(IOT)_Seminar_Dr.G.Rajeshkumar
 
IoT ecosystem
IoT ecosystemIoT ecosystem
IoT ecosystem
 
basic ppt on IOT
basic ppt on IOTbasic ppt on IOT
basic ppt on IOT
 
Artificial intelligence of things(AIoT): What is AIoT: AIoT applications
Artificial intelligence of things(AIoT): What is AIoT: AIoT applicationsArtificial intelligence of things(AIoT): What is AIoT: AIoT applications
Artificial intelligence of things(AIoT): What is AIoT: AIoT applications
 
Iot - Internet of Things
Iot - Internet of ThingsIot - Internet of Things
Iot - Internet of Things
 
IoT Systems: Technology, Architecture & Performance
IoT Systems: Technology, Architecture & PerformanceIoT Systems: Technology, Architecture & Performance
IoT Systems: Technology, Architecture & Performance
 
Internet of Things(IoT) - Introduction and Research Areas for Thesis
Internet of Things(IoT) - Introduction and Research Areas for ThesisInternet of Things(IoT) - Introduction and Research Areas for Thesis
Internet of Things(IoT) - Introduction and Research Areas for Thesis
 
Artificial intelligence and IoT
Artificial intelligence and IoTArtificial intelligence and IoT
Artificial intelligence and IoT
 
IoT
IoTIoT
IoT
 
10 min IoT ppt
10 min IoT ppt10 min IoT ppt
10 min IoT ppt
 
Iot ppt
Iot pptIot ppt
Iot ppt
 
Internet of things (IoT)
Internet of things (IoT)Internet of things (IoT)
Internet of things (IoT)
 
what is Internet of things(iot) & how does it work
what is Internet of things(iot) & how does it workwhat is Internet of things(iot) & how does it work
what is Internet of things(iot) & how does it work
 
Beginners: What is Industrial IoT (IIoT)
Beginners: What is Industrial IoT (IIoT)Beginners: What is Industrial IoT (IIoT)
Beginners: What is Industrial IoT (IIoT)
 
iot seminar topic
iot seminar topic iot seminar topic
iot seminar topic
 
Internet of things (IOT) connects physical to digital
Internet of things (IOT) connects physical to digitalInternet of things (IOT) connects physical to digital
Internet of things (IOT) connects physical to digital
 
Iot how it works
Iot   how it worksIot   how it works
Iot how it works
 

Similar to IoT Tutorial for Beginners | Internet of Things (IoT) | IoT Training | IoT Technology | Edureka

Similar to IoT Tutorial for Beginners | Internet of Things (IoT) | IoT Training | IoT Technology | Edureka (20)

The IoT Offering Explained in Plain English - IOT201 - re:Invent 2017
The IoT Offering Explained in Plain English - IOT201 - re:Invent 2017The IoT Offering Explained in Plain English - IOT201 - re:Invent 2017
The IoT Offering Explained in Plain English - IOT201 - re:Invent 2017
 
IRJET- Smart Mirror using Virtual Voice Assistant
IRJET- Smart Mirror using Virtual Voice AssistantIRJET- Smart Mirror using Virtual Voice Assistant
IRJET- Smart Mirror using Virtual Voice Assistant
 
Cl17 dev net_1055_v1
Cl17 dev net_1055_v1Cl17 dev net_1055_v1
Cl17 dev net_1055_v1
 
Cl17 dev net_1055_v1
Cl17 dev net_1055_v1Cl17 dev net_1055_v1
Cl17 dev net_1055_v1
 
Internet of Everything (IoE): Driving Industry Disruption
Internet of Everything (IoE): Driving Industry DisruptionInternet of Everything (IoE): Driving Industry Disruption
Internet of Everything (IoE): Driving Industry Disruption
 
IOT311_Customer Stories of Things, Cloud, and Analytics on AWS
IOT311_Customer Stories of Things, Cloud, and Analytics on AWSIOT311_Customer Stories of Things, Cloud, and Analytics on AWS
IOT311_Customer Stories of Things, Cloud, and Analytics on AWS
 
How should startups embrace the trend of IoT and Big Data
How should startups embrace the trend of IoT and Big DataHow should startups embrace the trend of IoT and Big Data
How should startups embrace the trend of IoT and Big Data
 
Splunk Discovery: Milan 2018 - Splunk Overview
Splunk Discovery: Milan 2018 - Splunk OverviewSplunk Discovery: Milan 2018 - Splunk Overview
Splunk Discovery: Milan 2018 - Splunk Overview
 
Building the Internet of Everything
Building the Internet of Everything Building the Internet of Everything
Building the Internet of Everything
 
Internet of manufacturing and Open Source
Internet of manufacturing and Open SourceInternet of manufacturing and Open Source
Internet of manufacturing and Open Source
 
JVM-Con 2017 – Java and IoT, will it blend?
JVM-Con 2017 – Java and IoT, will it blend?JVM-Con 2017 – Java and IoT, will it blend?
JVM-Con 2017 – Java and IoT, will it blend?
 
ABD218_How Euroleague Basketball Uses IoT Analytics to Engage Fans- ABD218
ABD218_How Euroleague Basketball Uses IoT Analytics to Engage Fans- ABD218ABD218_How Euroleague Basketball Uses IoT Analytics to Engage Fans- ABD218
ABD218_How Euroleague Basketball Uses IoT Analytics to Engage Fans- ABD218
 
Bridging the Physical and digital Adances in wearables and consumer IOT; Rani...
Bridging the Physical and digital Adances in wearables and consumer IOT; Rani...Bridging the Physical and digital Adances in wearables and consumer IOT; Rani...
Bridging the Physical and digital Adances in wearables and consumer IOT; Rani...
 
IoT Developer Survey 2017
IoT Developer Survey 2017IoT Developer Survey 2017
IoT Developer Survey 2017
 
Digital Life Transformation - HackEarth
Digital Life Transformation - HackEarthDigital Life Transformation - HackEarth
Digital Life Transformation - HackEarth
 
Secure Your Edge-to-Cloud IoT Solution with Intel and AWS - IOT337 - re:Inven...
Secure Your Edge-to-Cloud IoT Solution with Intel and AWS - IOT337 - re:Inven...Secure Your Edge-to-Cloud IoT Solution with Intel and AWS - IOT337 - re:Inven...
Secure Your Edge-to-Cloud IoT Solution with Intel and AWS - IOT337 - re:Inven...
 
Bridgera enterprise IoT security
Bridgera enterprise IoT securityBridgera enterprise IoT security
Bridgera enterprise IoT security
 
Global Azure Bootcamp 2019 - AIoT powered by Azure
Global Azure Bootcamp 2019 - AIoT powered by AzureGlobal Azure Bootcamp 2019 - AIoT powered by Azure
Global Azure Bootcamp 2019 - AIoT powered by Azure
 
Intelligent IoT Projects In 7 Days
Intelligent IoT Projects In 7 Days Intelligent IoT Projects In 7 Days
Intelligent IoT Projects In 7 Days
 
Top 10 Reasons to Learn Blockchain | Blockchain Training | Blockchain Tutoria...
Top 10 Reasons to Learn Blockchain | Blockchain Training | Blockchain Tutoria...Top 10 Reasons to Learn Blockchain | Blockchain Training | Blockchain Tutoria...
Top 10 Reasons to Learn Blockchain | Blockchain Training | Blockchain Tutoria...
 

More from Edureka!

More from Edureka! (20)

What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaWhat to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | Edureka
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaTop 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaTop 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaTableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | Edureka
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | Edureka
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaTop 5 PMP Certifications | Edureka
Top 5 PMP Certifications | Edureka
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaTop Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | Edureka
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaLinux Mint Tutorial | Edureka
Linux Mint Tutorial | Edureka
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaHow to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| Edureka
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaImportance of Digital Marketing | Edureka
Importance of Digital Marketing | Edureka
 
RPA in 2020 | Edureka
RPA in 2020 | EdurekaRPA in 2020 | Edureka
RPA in 2020 | Edureka
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEmail Notifications in Jenkins | Edureka
Email Notifications in Jenkins | Edureka
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | Edureka
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaCognitive AI Tutorial | Edureka
Cognitive AI Tutorial | Edureka
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaAWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaBlue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | Edureka
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaA star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaKubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | Edureka
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | Edureka
 

Recently uploaded

Recently uploaded (20)

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 

IoT Tutorial for Beginners | Internet of Things (IoT) | IoT Training | IoT Technology | Edureka

  • 1.
  • 2. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Agenda
  • 3. Copyright © 2017, edureka and/or its affiliates. All rights reserved. What is Internet of Things?
  • 4. Copyright © 2017, edureka and/or its affiliates. All rights reserved. What is Internet of Things? IoT Tutorial GPS Tracking Mobile Gyroscope Adaptive Brightness Voice Detection VOICE Face Detection
  • 5. Copyright © 2017, edureka and/or its affiliates. All rights reserved. What is Internet of Things? IoT Tutorial Connecting everyday things embedded with electronics, software and sensors to the internet enabling them to collect and exchange data
  • 6. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Why do we need IoT?
  • 7. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Why do we need IoT? IoT Tutorial Cloud IOT continuously monitoring your health
  • 8. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Why do we need IoT? IoT Tutorial Cloud As any irregular condition is monitored, hospital is notified…
  • 9. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Why do we need IoT? IoT Tutorial Cloud Quickly the ambulance is send to the patients location….
  • 10. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Why do we need IoT? IoT Tutorial Before ambulance arrives, all the facilities are ready for the patient based on his reports… Prescriptions Medicines Operation Theater
  • 11. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Why do we need IoT? IoT Tutorial INTERACT CONTRIBUTE COLLABORATE TO THINGS to &
  • 12. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Benefits of IoT
  • 13. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Benefits of IoT Benefits of Internet of Things IoT Tutorial EFFICIENT RESOURCE UTILIZATION MINIMIZING HUMAN EFFORT SAVES TIME DEVELOPMENT OF AI THROUGH IOT IMPROVED SECURITY
  • 14. Copyright © 2017, edureka and/or its affiliates. All rights reserved. IoT Features
  • 15. Copyright © 2017, edureka and/or its affiliates. All rights reserved. IoT Features IoT Tutorial IoT lets us achieve the true potential of technology CONNECT ANALYZE INTEGRATE Connect various things to the IoT Platform Analyze the data collected and use it to build Business Intelligence Integrate various models to improve user experience
  • 16. Copyright © 2017, edureka and/or its affiliates. All rights reserved. IoT Features - Connect IoT Tutorial CONNECT ANALYZE INTEGRATE Device Virtualization 1 Standardize integration of devices with the IoT enterprise
  • 17. Copyright © 2017, edureka and/or its affiliates. All rights reserved. IoT Features - Connect IoT Tutorial CONNECT ANALYZE INTEGRATE Device Virtualization 1 High Speed Messaging 2 Enable reliable, secure, and bi-directional communication between devices and the cloud
  • 18. Copyright © 2017, edureka and/or its affiliates. All rights reserved. IoT Features - Connect IoT Tutorial CONNECT ANALYZE INTEGRATE Device Virtualization 1 High Speed Messaging 2 Endpoint Management 3 Manage device endpoint identity, metadata and lifecycle states for all devices
  • 19. Copyright © 2017, edureka and/or its affiliates. All rights reserved. IoT Features IoT Tutorial CONNECT ANALYZE INTEGRATE Stream Processing 1 Real-time analysis of incoming data streams with event aggregation, filtering, and correlation
  • 20. Copyright © 2017, edureka and/or its affiliates. All rights reserved. IoT Features IoT Tutorial CONNECT ANALYZE INTEGRATE Stream Processing 1 Data Enrichment 2 Enrich raw data streams with contextual information and generate composite streams
  • 21. Copyright © 2017, edureka and/or its affiliates. All rights reserved. IoT Features IoT Tutorial CONNECT ANALYZE INTEGRATE Stream Processing 1 Data Enrichment 2 Event Store 3 Query and visualize massive amounts of data with integrated BI Cloud Service support and enable big data analysis
  • 22. Copyright © 2017, edureka and/or its affiliates. All rights reserved. IoT Features IoT Tutorial CONNECT ANALYZE INTEGRATE Enterprise Connectivity 1 Dynamically dispatch critical IoT data and events to applications and process flows
  • 23. Copyright © 2017, edureka and/or its affiliates. All rights reserved. IoT Features IoT Tutorial CONNECT ANALYZE INTEGRATE Enterprise Connectivity 1 REST APIs 2 API-based integration with Cloud apps and IoT devices
  • 24. Copyright © 2017, edureka and/or its affiliates. All rights reserved. IoT Features IoT Tutorial CONNECT ANALYZE INTEGRATE Enterprise Connectivity 1 REST APIs 2 Command and Control 3 Send messages to devices from enterprise and mobile apps, independent of device connectivity
  • 25. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Raspberry Pi OS Installation
  • 26. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Raspberry Pi OS Installation The Raspberry Pi Foundation recommends the use of Raspbian, a Debian-based Linux operating system RISC OS FreeBSD NetBSD Plan 9 from Bell Labs Windows 10 IoT 1 2 3 4 5
  • 27. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Raspberry Pi OS Installation 1 Download NOOBS from www.raspberrypi.org D o w n l o a d N O O B S . z i p
  • 28. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Raspberry Pi OS Installation 1 Download NOOBS from www.raspberrypi.org E x t r a c t t h e z i p f i l e & G o t o R a s p b i a n 2 Extract the zip File
  • 29. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Raspberry Pi OS Installation 1 Download NOOBS from www.raspberrypi.org C o p y t h e s e f i l e s t o S D C a r d 2 Extract the zip File 3 Copy these file to a formatted SD card
  • 30. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Raspberry Pi OS Installation 1 Download NOOBS from www.raspberrypi.org 2 Extract the zip File 3 Copy these file to a formatted SD card 4 Put in Raspberry Pi SD Card slot
  • 31. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Raspberry Pi OS Installation 1 Download NOOBS from www.raspberrypi.org 2 Extract the zip File 3 Copy these file to a formatted SD card 4 Put in Raspberry Pi SD Card slot 5 Follow the installation instructions
  • 32. Copyright © 2017, edureka and/or its affiliates. All rights reserved. IoT Demo
  • 33. Copyright © 2017, edureka and/or its affiliates. All rights reserved. IoT Demo IoT Tutorial To build a Weather Detection System to get real-time weather metrics live onto mobile notifications Problem Statement SenseHat Board will measure weather metrics of Temperature, Humidity & Pressure onto Raspberry Pi 1 We will use Raspberry Pi to transfer the weather data and display the results on the SenseHat board 2 We will use Instapush API and Python Script to push these notifications across the internet 3 Figure: Three steps to build weather detection system
  • 34. Copyright © 2017, edureka and/or its affiliates. All rights reserved. IoT Demo IoT Tutorial Assembling SenseHat on Raspberry Pi
  • 35. Copyright © 2017, edureka and/or its affiliates. All rights reserved. IoT Demo IoT Tutorial import pycurl, json from StringIO import StringIO import RPi.GPIO as GPIO from sense_hat import SenseHat import time from time import asctime sense = SenseHat() sense.clear() Importing Sense Hat Importing Time
  • 36. Copyright © 2017, edureka and/or its affiliates. All rights reserved. IoT Demo IoT Tutorial cold = 30 hot = 40 pushMessage = "" #Displaying numbers OFFSET_LEFT = 1 OFFSET_TOP = 2 NUMS =[1,1,1,1,0,1,1,0,1,1,0,1,1,1,1, # 0 0,1,0,0,1,0,0,1,0,0,1,0,0,1,0, # 1 1,1,1,0,0,1,0,1,0,1,0,0,1,1,1, # 2 1,1,1,0,0,1,1,1,1,0,0,1,1,1,1, # 3 1,0,0,1,0,1,1,1,1,0,0,1,0,0,1, # 4 1,1,1,1,0,0,1,1,1,0,0,1,1,1,1, # 5 1,1,1,1,0,0,1,1,1,1,0,1,1,1,1, # 6 1,1,1,0,0,1,0,1,0,1,0,0,1,0,0, # 7 1,1,1,1,0,1,1,1,1,1,0,1,1,1,1, # 8 1,1,1,1,0,1,1,1,1,0,0,1,0,0,1] # 9 Displaying numbers on SenseHat
  • 37. Copyright © 2017, edureka and/or its affiliates. All rights reserved. IoT Demo IoT Tutorial # Displaying a single digit (0-9) def show_digit(val, xd, yd, r, g, b): offset = val * 15 for p in range(offset, offset + 15): xt = p % 3 yt = (p-offset) // 3 sense.set_pixel(xt+xd, yt+yd, r*NUMS[p], g*NUMS[p], b*NUMS[p]) # Displays a two-digit positive number (0-99) def show_number(val, r, g, b): abs_val = abs(val) tens = abs_val // 10 units = abs_val % 10 if (abs_val > 9): show_digit(tens, OFFSET_LEFT, OFFSET_TOP, r, g, b) show_digit(units, OFFSET_LEFT+4, OFFSET_TOP, r, g, b) Displaying numbers on SenseHat
  • 38. Copyright © 2017, edureka and/or its affiliates. All rights reserved. IoT Demo IoT Tutorial temp = round(sense.get_temperature()) humidity = round(sense.get_humidity()) pressure = round(sense.get_pressure()) message = " T=%dC, H=%d, P=%d Millibars " %(temp,humidity,pressure) appID = "59bb6e6ba4c48a1cd674e33d“ #Adding Instapush Application appSecret = "fd127d824390296b5f84818cddafeebe“# Add your Instapush Secret Key pushEvent = "TempNotify" c = pycurl.Curl() c.setopt(c.URL, 'https://api.instapush.im/v1/post’) # Setting API URL c.setopt(c.HTTPHEADER, ['x-instapush-appid: ' + appID, 'x-instapush-appsecret: ' + appSecret, 'Content-Type: application/json']) buffer = StringIO() # Capture response from push API call Getting weather metrics Validating Instapush
  • 39. Copyright © 2017, edureka and/or its affiliates. All rights reserved. IoT Demo IoT Tutorial def pushmessage(): json_fields = {} json_fields['event']=pushEvent json_fields['trackers'] = {} json_fields['trackers']['message']=pushMessage #print(json_fields) postfields = json.dumps(json_fields) c.setopt(c.POSTFIELDS, postfields) c.setopt(c.WRITEFUNCTION, buffer.write) c.setopt(c.VERBOSE, True) Defining notification message
  • 40. Copyright © 2017, edureka and/or its affiliates. All rights reserved. IoT Demo IoT Tutorial while True: temp = round(sense.get_temperature()) humidity = round(sense.get_humidity()) pressure = round(sense.get_pressure()) message = ' T=%dC, H=%d, P=%d ' %(temp,humidity,pressure) time.sleep(4) log = open('weather.txt',"a") now = str(asctime()) temp = int(temp) show_number(temp, 200, 0, 60) temp1 = temp log.write(now+''+message+'n') print(message) log.close() time.sleep(5)
  • 41. Copyright © 2017, edureka and/or its affiliates. All rights reserved. IoT Demo IoT Tutorial if temp >= hot: pushMessage = "It is hot: " + message pushmessage() c.perform() # Capture the response from the server body = buffer.getvalue() pushMessage = "" elif temp <= cold: pushMessage = "It is cold: " + message c.perform() # Capture the response from the server body = buffer.getvalue() # Resetting the buffer buffer.truncate(0) buffer.seek(0) c.close() GPIO.cleanup()
  • 42. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Session In A Minute What is IOT? Why IOT? Benefits Of IOT Features of IOT Raspberry Pi Installation Demo IoT Tutorial
  • 43. Copyright © 2017, edureka and/or its affiliates. All rights reserved.
  • 44. Copyright © 2017, edureka and/or its affiliates. All rights reserved.