SlideShare a Scribd company logo
1 of 26
Internet of Things
Raspberry Pi 3 to Salesforce
Integration
Created by : Venkat Garikapati
Date : Feb 2017
What is IoT
Just a Big Buzz word …
or the current trend…
or is it future of IT…
or just ‘o’ between I and T…
what is it ?
What is IoT
The Internet of things (IoT) is the inter-networking of –
- Physical devices
- Vehicles (also referred to as "connected devices" and "smart devices")
- Buildings, and other Items
Embedded with electronics, software, sensors, actuators, and network
connectivity that enable these objects to collect and exchange data, towards
specific objective(s).
What is IoT
 The Internet of Things (IoT) is a system of
- Interrelated computing devices
- Mechanical and digital machines,
- People or Animals
That are provided with unique identifiers and the ability to transfer data over a
network without requiring human-to-human or human-to-computer interaction.
What is IoT
Also there are variety of definitions across the board, and all it depends on where we are
looking at …
The Internet of Things (IoT) refers to the ever-growing network of physical objects that
feature an IP address for internet connectivity, and the communication that occurs
between these objects and other Internet-enabled devices and systems.
The Internet of Things (IoT) refers to the ever-growing network of physical objects
that feature an IP address for internet connectivity, and the communication that
occurs between these objects and other Internet-enabled devices and systems.
The IoT refers to the connection of devices (other than typical fare such as computers and
smartphones) to the Internet. Cars, kitchen appliances, and even heart monitors can all be
connected through the IoT. And as the Internet of Things grows in the next few years, more
devices will join that list.
Simply put, this is the concept of basically connecting any device with an on and off switch to the
Internet (and/or to each other). This includes everything from cellphones, coffee makers, washing
machines, headphones, lamps, wearable devices and almost anything else you can think of. This also
applies to components of machines, for example a jet engine of an airplane or the drill of an oil rig. As
I mentioned, if it has an on and off switch then chances are it can be a part of the IoT.
Why it does matter
A decade from now, everything could be connected to internet of things
Why it does matter IoT in Agriculture industry
Why it does matter IoT in Agriculture industry
Why it does matter IoT in Auto industry
Why it does matter IoT in Retail
Why it does matter IoT in …
There are many more…
List is keep growing and growing …
At its core, IoT is simple: It’s all about connecting
devices over the internet, letting them talk to us,
or applications, and each other.
IoT – Is it Simple 
IoT – What is this presentation about
This is a simple PoC to demonstrate –
How an internet connected IoT device communicates to the most popular and industry leading cloud based
service/application – ‘Salesforce’.
IoT device – in this case Raspberry Pi 3, an ARM based single-board device/computer,
connected with ‘Motion Sensor’ and an USB camera.
Reads (motion) sensor data and triggers action when motion is detected :
 Captures the scene (by clicking the picture in view to USB camera)
 Saves the image file into designated folder
 Write the Alert to Salesforce (as of now only text is writing to salesforce)
 Then send Alert email to designated email (with the picture captured)
IoT – Connectivity Methods
 Direct (point-to-point) Connectivity/Integration –
- Using REST API, directly sending data to Salesforce from Raspberry Pi
 ESB (or Middleware) Connectivity/Integration –
- Mule ESB fetches data from Raspberry Pi and write to ‘Salesforce’ using ‘Salesforce Connector’
IoT – A look at the components
Raspberry Pi 3
Motion Sensor Logitech USB Camera
Connector cables
IoT – Quick Peek at Demo Setup
IoT - What is Raspberry Pi
Raspberry Pi (RPi) is a credit-card-sized computer (with
ARM processor, that plugs into your TV or Monitor and
a keyboard).
It is a capable little computer which can be used in electronics
projects, and for many of the things that your desktop PC does,
like spreadsheets, word processing, browsing the internet, and
playing games.
IoT - Raspberry Pi 3 Specs
IoT – Connectivity
 Direct (point-to-point) Connectivity/Integration –
- Using REST API, directly sending data to Salesforce from Raspberry Pi
Raspberry Pi 3
USB
Camera
Motion
Sensor
REST API
GPIO
Source System Target System
Email to designated
IoT – Connectivity
 Direct (point-to-point) Connectivity – Steps involved in end-to-end process
 Motion Detection
- Motion Sensor is connected to RPi, through General Purpose Input-Output (GPIO) pins.
- One powerful feature of the RPi is the row of GPIO pins.
- GPIO Python Package used to read sensor data.
 Capturing the Image
- Rpi3 has 4 USB ports, where USB camera connected.
- Utility package ‘fswebcam’ is used to capture the picture, issuing the command through OS.
 Connecting to Salesforce
- Salesforce provides REST API (sample package) to connect and send data.
 Sending Email
- Email sent using SMTP (Python) Library.
IoT – Connectivity
 ESB (or Middleware) Connectivity/Integration –
- Mule ESB fetches data from Raspberry Pi and write to ‘Salesforce’ using ‘Salesforce Connector’
Raspberry Pi 3
USB
Camera
Motion
Sensor GPIO
Source System Target SystemMiddleware
FTP
Email to designated
IoT – Connectivity
 ESB (or Middleware) Connectivity – Steps involved in end-to-end process
 Motion Detection
- Motion Sensor is connected to RPi, through General Purpose Input-Output (GPIO) pins.
- One powerful feature of the RPi is the row of GPIO pins.
- GPIO Python Package used to read sensor data.
 Capturing the Image
- Rpi3 has 4 USB ports, where USB camera connected.
- Utility package ‘fswebcam’ is used to capture the picture, issuing the command through OS.
 Sending Email
- Email sent using SMTP (Python) Library.
 Mule Connects to RPi
- Mule ESB connects to RPi using FTP and fetches image file.
- Maps image file name to Alert Date and creates Alert Details, prepares Salesforce entry.
 Connecting to Salesforce
- Mule ESB connects to Salesforce (through Salesforce connector) and creates new object in
Salesforce.
IoT – Connectivity
 ESB (or Middleware) Connectivity/Integration –
- Mule ESB flow, which writes to ‘Salesforce’ using ‘Salesforce Connector’ after fetching the file form
RPi3 using FTP.
IoT – Connectivity
 Alerts in Salesforce –
- The following screen shot lists the incidents, which are fetched by Mule (middleware) from RPi3 and
created as an object in Salesforce.
Terms and Basic Definitions:
Internet of Things: A network of internet-connected objects able to collect and exchange data using embedded sensors.
Internet of Things device: Any stand-alone internet-connected device that can be monitored and/or controlled from a
remote location.
Internet of Things ecosystem: All the components that enable businesses, governments, and consumers to connect to
their IoT devices, including remotes, dashboards, networks, gateways, analytics, data storage, and security.
Entity: Includes businesses, governments, and consumers.
Physical layer: The hardware that makes an IoT device, including sensors and networking gear.
Network layer: Responsible for transmitting the data collected by the physical layer to different devices.
Application layer: This includes the protocols and interfaces that devices use to identify and communicate with each
other.
… continued …
IoT – Glossary
Terms and Basic Definitions:
Remotes: Enable entities that utilize IoT devices to connect with and control them using a dashboard, such as a mobile
application. They include smartphones, tablets, PCs, smartwatches, connected TVs, and nontraditional remotes.
Dashboard: Displays information about the IoT ecosystem to users and enables them to control their IoT ecosystem. It
is generally housed on a remote.
Analytics: Software systems that analyze the data generated by IoT devices. The analysis can be used for a variety of
scenarios, such as predictive maintenance.
Data storage: Where data from IoT devices is stored.
Networks: The internet communication layer that enables the entity to communicate with their device, and sometimes
enables devices to communicate with each other.
IoT – Glossary

More Related Content

What's hot

The Internet of Things - Industry Trends and Key Players
The Internet of Things - Industry Trends and Key PlayersThe Internet of Things - Industry Trends and Key Players
The Internet of Things - Industry Trends and Key PlayersCM Research
 
Introduction to Internet of Things (IoT)
Introduction to Internet of Things (IoT) Introduction to Internet of Things (IoT)
Introduction to Internet of Things (IoT) Francesco Felicetta
 
Internet of Things and its applications
Internet of Things and its applicationsInternet of Things and its applications
Internet of Things and its applicationsPasquale Puzio
 
IoT Applications and Networks
IoT Applications and NetworksIoT Applications and Networks
IoT Applications and NetworksAbdulrahman Fady
 
IOT (Internet Of Things)
IOT (Internet Of Things)IOT (Internet Of Things)
IOT (Internet Of Things)Rhitik Kumar
 
IoT Basics, current trends, the future
IoT Basics, current trends, the futureIoT Basics, current trends, the future
IoT Basics, current trends, the futureCharalampos Doukas
 
How the Internet of Things will disrupt your industry (Avanade Inspire 2015)
How the Internet of Things will disrupt your industry (Avanade Inspire 2015)How the Internet of Things will disrupt your industry (Avanade Inspire 2015)
How the Internet of Things will disrupt your industry (Avanade Inspire 2015)Geert van der Cruijsen
 
How the IoT will transform the Employee and Employer Experience
How the IoT will transform the Employee and Employer ExperienceHow the IoT will transform the Employee and Employer Experience
How the IoT will transform the Employee and Employer ExperienceMatthew Bailey
 
Getting Started with IoT by Niraj Shah
Getting Started with IoT by Niraj ShahGetting Started with IoT by Niraj Shah
Getting Started with IoT by Niraj Shahmomoahmedabad
 
IEEE CS Phoenix - Internet of Things Innovations & Megatrends Update 12/12/18
IEEE CS Phoenix - Internet of Things Innovations & Megatrends Update 12/12/18IEEE CS Phoenix - Internet of Things Innovations & Megatrends Update 12/12/18
IEEE CS Phoenix - Internet of Things Innovations & Megatrends Update 12/12/18Mark Goldstein
 
Internet of Things (IoT) - Seminar ppt
Internet of Things (IoT) - Seminar pptInternet of Things (IoT) - Seminar ppt
Internet of Things (IoT) - Seminar pptNishant Kayal
 

What's hot (20)

FUTURE OF IOT
FUTURE OF IOTFUTURE OF IOT
FUTURE OF IOT
 
The Internet of Things - Industry Trends and Key Players
The Internet of Things - Industry Trends and Key PlayersThe Internet of Things - Industry Trends and Key Players
The Internet of Things - Industry Trends and Key Players
 
Introduction to Internet of Things (IoT)
Introduction to Internet of Things (IoT) Introduction to Internet of Things (IoT)
Introduction to Internet of Things (IoT)
 
Internet of Things and its applications
Internet of Things and its applicationsInternet of Things and its applications
Internet of Things and its applications
 
IoT Applications and Networks
IoT Applications and NetworksIoT Applications and Networks
IoT Applications and Networks
 
Iot presentation
Iot presentationIot presentation
Iot presentation
 
Internet of Things (IoT) and Google
Internet of Things (IoT) and GoogleInternet of Things (IoT) and Google
Internet of Things (IoT) and Google
 
IOT (Internet Of Things)
IOT (Internet Of Things)IOT (Internet Of Things)
IOT (Internet Of Things)
 
Trends in IoT 2017
Trends in IoT 2017Trends in IoT 2017
Trends in IoT 2017
 
IoT Basics, current trends, the future
IoT Basics, current trends, the futureIoT Basics, current trends, the future
IoT Basics, current trends, the future
 
How the Internet of Things will disrupt your industry (Avanade Inspire 2015)
How the Internet of Things will disrupt your industry (Avanade Inspire 2015)How the Internet of Things will disrupt your industry (Avanade Inspire 2015)
How the Internet of Things will disrupt your industry (Avanade Inspire 2015)
 
IoT(internet of Things) Basics
IoT(internet of Things)  BasicsIoT(internet of Things)  Basics
IoT(internet of Things) Basics
 
How the IoT will transform the Employee and Employer Experience
How the IoT will transform the Employee and Employer ExperienceHow the IoT will transform the Employee and Employer Experience
How the IoT will transform the Employee and Employer Experience
 
IOT
IOTIOT
IOT
 
Getting Started with IoT by Niraj Shah
Getting Started with IoT by Niraj ShahGetting Started with IoT by Niraj Shah
Getting Started with IoT by Niraj Shah
 
IoT introduction
IoT introductionIoT introduction
IoT introduction
 
IoT and the Future of work
IoT and the Future of work IoT and the Future of work
IoT and the Future of work
 
IEEE CS Phoenix - Internet of Things Innovations & Megatrends Update 12/12/18
IEEE CS Phoenix - Internet of Things Innovations & Megatrends Update 12/12/18IEEE CS Phoenix - Internet of Things Innovations & Megatrends Update 12/12/18
IEEE CS Phoenix - Internet of Things Innovations & Megatrends Update 12/12/18
 
Iot
IotIot
Iot
 
Internet of Things (IoT) - Seminar ppt
Internet of Things (IoT) - Seminar pptInternet of Things (IoT) - Seminar ppt
Internet of Things (IoT) - Seminar ppt
 

Similar to Raspberry Pi 3 to Salesforce IoT Integration

IoT Introduction – From Concept to Reality.pdf
IoT Introduction – From Concept to Reality.pdfIoT Introduction – From Concept to Reality.pdf
IoT Introduction – From Concept to Reality.pdfSudhanshiBakre1
 
The internet of things (io t) : IoT academy
The internet of things (io t) : IoT academy The internet of things (io t) : IoT academy
The internet of things (io t) : IoT academy AnkitThakkar46
 
The internet of things (io t)
The internet of things (io t)The internet of things (io t)
The internet of things (io t)shashankvaidyar2
 
Convergence of cloud computing and iot
Convergence of cloud computing and iotConvergence of cloud computing and iot
Convergence of cloud computing and iotAADITYAGOEL7
 
Unit 3 - Internet of Things - www.rgpvnotes.in.pdf
Unit 3 - Internet of Things - www.rgpvnotes.in.pdfUnit 3 - Internet of Things - www.rgpvnotes.in.pdf
Unit 3 - Internet of Things - www.rgpvnotes.in.pdfShubhamYadav73126
 
Module 1 Internet of Things (2).ppt.pdf on iot
Module 1 Internet of Things (2).ppt.pdf on iotModule 1 Internet of Things (2).ppt.pdf on iot
Module 1 Internet of Things (2).ppt.pdf on iotspreya772
 
IoT Cloud architecture
IoT Cloud architectureIoT Cloud architecture
IoT Cloud architectureMachinePulse
 
Iot presentation
Iot presentationIot presentation
Iot presentationhuma742446
 
Dissecting internet of things by avinash sinha
Dissecting internet of things by avinash sinhaDissecting internet of things by avinash sinha
Dissecting internet of things by avinash sinhaAvinash Sinha
 
Development of web-based surveillance system for Internet of Things (IoT) app...
Development of web-based surveillance system for Internet of Things (IoT) app...Development of web-based surveillance system for Internet of Things (IoT) app...
Development of web-based surveillance system for Internet of Things (IoT) app...journalBEEI
 
Nilesh bimani mtech-cse
Nilesh bimani mtech-cseNilesh bimani mtech-cse
Nilesh bimani mtech-csebhimaninilesh
 
Ch 4.pptx
Ch 4.pptxCh 4.pptx
Ch 4.pptxKume3
 
Cloud computing in iot seminar report
Cloud computing in iot seminar reportCloud computing in iot seminar report
Cloud computing in iot seminar reportSKS
 
Io t & amp; industry 4.0,internet of things
Io t & amp; industry 4.0,internet of thingsIo t & amp; industry 4.0,internet of things
Io t & amp; industry 4.0,internet of thingsSumanPramanik7
 

Similar to Raspberry Pi 3 to Salesforce IoT Integration (20)

IoT Introduction – From Concept to Reality.pdf
IoT Introduction – From Concept to Reality.pdfIoT Introduction – From Concept to Reality.pdf
IoT Introduction – From Concept to Reality.pdf
 
The internet of things (io t) : IoT academy
The internet of things (io t) : IoT academy The internet of things (io t) : IoT academy
The internet of things (io t) : IoT academy
 
The internet of things (io t)
The internet of things (io t)The internet of things (io t)
The internet of things (io t)
 
Project Document
Project Document Project Document
Project Document
 
Questions in iot
Questions in iotQuestions in iot
Questions in iot
 
internet of things
internet of thingsinternet of things
internet of things
 
Convergence of cloud computing and iot
Convergence of cloud computing and iotConvergence of cloud computing and iot
Convergence of cloud computing and iot
 
Unit 3 - Internet of Things - www.rgpvnotes.in.pdf
Unit 3 - Internet of Things - www.rgpvnotes.in.pdfUnit 3 - Internet of Things - www.rgpvnotes.in.pdf
Unit 3 - Internet of Things - www.rgpvnotes.in.pdf
 
Unleashing the Potential of IoT and Android
Unleashing the Potential of IoT and AndroidUnleashing the Potential of IoT and Android
Unleashing the Potential of IoT and Android
 
Module 1 Internet of Things (2).ppt.pdf on iot
Module 1 Internet of Things (2).ppt.pdf on iotModule 1 Internet of Things (2).ppt.pdf on iot
Module 1 Internet of Things (2).ppt.pdf on iot
 
IoT Cloud architecture
IoT Cloud architectureIoT Cloud architecture
IoT Cloud architecture
 
Iot presentation
Iot presentationIot presentation
Iot presentation
 
Dissecting internet of things by avinash sinha
Dissecting internet of things by avinash sinhaDissecting internet of things by avinash sinha
Dissecting internet of things by avinash sinha
 
Development of web-based surveillance system for Internet of Things (IoT) app...
Development of web-based surveillance system for Internet of Things (IoT) app...Development of web-based surveillance system for Internet of Things (IoT) app...
Development of web-based surveillance system for Internet of Things (IoT) app...
 
IOT- UNIT-1.pptx
IOT- UNIT-1.pptxIOT- UNIT-1.pptx
IOT- UNIT-1.pptx
 
Nilesh bimani mtech-cse
Nilesh bimani mtech-cseNilesh bimani mtech-cse
Nilesh bimani mtech-cse
 
Ch 4.pptx
Ch 4.pptxCh 4.pptx
Ch 4.pptx
 
IoT and Embedded OS Lecture - Cristian Toma and George Iosif
IoT and Embedded OS Lecture - Cristian Toma and George IosifIoT and Embedded OS Lecture - Cristian Toma and George Iosif
IoT and Embedded OS Lecture - Cristian Toma and George Iosif
 
Cloud computing in iot seminar report
Cloud computing in iot seminar reportCloud computing in iot seminar report
Cloud computing in iot seminar report
 
Io t & amp; industry 4.0,internet of things
Io t & amp; industry 4.0,internet of thingsIo t & amp; industry 4.0,internet of things
Io t & amp; industry 4.0,internet of things
 

Recently uploaded

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 

Recently uploaded (20)

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 

Raspberry Pi 3 to Salesforce IoT Integration

  • 1. Internet of Things Raspberry Pi 3 to Salesforce Integration Created by : Venkat Garikapati Date : Feb 2017
  • 2. What is IoT Just a Big Buzz word … or the current trend… or is it future of IT… or just ‘o’ between I and T… what is it ?
  • 3. What is IoT The Internet of things (IoT) is the inter-networking of – - Physical devices - Vehicles (also referred to as "connected devices" and "smart devices") - Buildings, and other Items Embedded with electronics, software, sensors, actuators, and network connectivity that enable these objects to collect and exchange data, towards specific objective(s).
  • 4. What is IoT  The Internet of Things (IoT) is a system of - Interrelated computing devices - Mechanical and digital machines, - People or Animals That are provided with unique identifiers and the ability to transfer data over a network without requiring human-to-human or human-to-computer interaction.
  • 5. What is IoT Also there are variety of definitions across the board, and all it depends on where we are looking at … The Internet of Things (IoT) refers to the ever-growing network of physical objects that feature an IP address for internet connectivity, and the communication that occurs between these objects and other Internet-enabled devices and systems. The Internet of Things (IoT) refers to the ever-growing network of physical objects that feature an IP address for internet connectivity, and the communication that occurs between these objects and other Internet-enabled devices and systems. The IoT refers to the connection of devices (other than typical fare such as computers and smartphones) to the Internet. Cars, kitchen appliances, and even heart monitors can all be connected through the IoT. And as the Internet of Things grows in the next few years, more devices will join that list. Simply put, this is the concept of basically connecting any device with an on and off switch to the Internet (and/or to each other). This includes everything from cellphones, coffee makers, washing machines, headphones, lamps, wearable devices and almost anything else you can think of. This also applies to components of machines, for example a jet engine of an airplane or the drill of an oil rig. As I mentioned, if it has an on and off switch then chances are it can be a part of the IoT.
  • 6. Why it does matter A decade from now, everything could be connected to internet of things
  • 7. Why it does matter IoT in Agriculture industry
  • 8. Why it does matter IoT in Agriculture industry
  • 9. Why it does matter IoT in Auto industry
  • 10. Why it does matter IoT in Retail
  • 11. Why it does matter IoT in … There are many more… List is keep growing and growing …
  • 12. At its core, IoT is simple: It’s all about connecting devices over the internet, letting them talk to us, or applications, and each other. IoT – Is it Simple 
  • 13. IoT – What is this presentation about This is a simple PoC to demonstrate – How an internet connected IoT device communicates to the most popular and industry leading cloud based service/application – ‘Salesforce’. IoT device – in this case Raspberry Pi 3, an ARM based single-board device/computer, connected with ‘Motion Sensor’ and an USB camera. Reads (motion) sensor data and triggers action when motion is detected :  Captures the scene (by clicking the picture in view to USB camera)  Saves the image file into designated folder  Write the Alert to Salesforce (as of now only text is writing to salesforce)  Then send Alert email to designated email (with the picture captured)
  • 14. IoT – Connectivity Methods  Direct (point-to-point) Connectivity/Integration – - Using REST API, directly sending data to Salesforce from Raspberry Pi  ESB (or Middleware) Connectivity/Integration – - Mule ESB fetches data from Raspberry Pi and write to ‘Salesforce’ using ‘Salesforce Connector’
  • 15. IoT – A look at the components Raspberry Pi 3 Motion Sensor Logitech USB Camera Connector cables
  • 16. IoT – Quick Peek at Demo Setup
  • 17. IoT - What is Raspberry Pi Raspberry Pi (RPi) is a credit-card-sized computer (with ARM processor, that plugs into your TV or Monitor and a keyboard). It is a capable little computer which can be used in electronics projects, and for many of the things that your desktop PC does, like spreadsheets, word processing, browsing the internet, and playing games.
  • 18. IoT - Raspberry Pi 3 Specs
  • 19. IoT – Connectivity  Direct (point-to-point) Connectivity/Integration – - Using REST API, directly sending data to Salesforce from Raspberry Pi Raspberry Pi 3 USB Camera Motion Sensor REST API GPIO Source System Target System Email to designated
  • 20. IoT – Connectivity  Direct (point-to-point) Connectivity – Steps involved in end-to-end process  Motion Detection - Motion Sensor is connected to RPi, through General Purpose Input-Output (GPIO) pins. - One powerful feature of the RPi is the row of GPIO pins. - GPIO Python Package used to read sensor data.  Capturing the Image - Rpi3 has 4 USB ports, where USB camera connected. - Utility package ‘fswebcam’ is used to capture the picture, issuing the command through OS.  Connecting to Salesforce - Salesforce provides REST API (sample package) to connect and send data.  Sending Email - Email sent using SMTP (Python) Library.
  • 21. IoT – Connectivity  ESB (or Middleware) Connectivity/Integration – - Mule ESB fetches data from Raspberry Pi and write to ‘Salesforce’ using ‘Salesforce Connector’ Raspberry Pi 3 USB Camera Motion Sensor GPIO Source System Target SystemMiddleware FTP Email to designated
  • 22. IoT – Connectivity  ESB (or Middleware) Connectivity – Steps involved in end-to-end process  Motion Detection - Motion Sensor is connected to RPi, through General Purpose Input-Output (GPIO) pins. - One powerful feature of the RPi is the row of GPIO pins. - GPIO Python Package used to read sensor data.  Capturing the Image - Rpi3 has 4 USB ports, where USB camera connected. - Utility package ‘fswebcam’ is used to capture the picture, issuing the command through OS.  Sending Email - Email sent using SMTP (Python) Library.  Mule Connects to RPi - Mule ESB connects to RPi using FTP and fetches image file. - Maps image file name to Alert Date and creates Alert Details, prepares Salesforce entry.  Connecting to Salesforce - Mule ESB connects to Salesforce (through Salesforce connector) and creates new object in Salesforce.
  • 23. IoT – Connectivity  ESB (or Middleware) Connectivity/Integration – - Mule ESB flow, which writes to ‘Salesforce’ using ‘Salesforce Connector’ after fetching the file form RPi3 using FTP.
  • 24. IoT – Connectivity  Alerts in Salesforce – - The following screen shot lists the incidents, which are fetched by Mule (middleware) from RPi3 and created as an object in Salesforce.
  • 25. Terms and Basic Definitions: Internet of Things: A network of internet-connected objects able to collect and exchange data using embedded sensors. Internet of Things device: Any stand-alone internet-connected device that can be monitored and/or controlled from a remote location. Internet of Things ecosystem: All the components that enable businesses, governments, and consumers to connect to their IoT devices, including remotes, dashboards, networks, gateways, analytics, data storage, and security. Entity: Includes businesses, governments, and consumers. Physical layer: The hardware that makes an IoT device, including sensors and networking gear. Network layer: Responsible for transmitting the data collected by the physical layer to different devices. Application layer: This includes the protocols and interfaces that devices use to identify and communicate with each other. … continued … IoT – Glossary
  • 26. Terms and Basic Definitions: Remotes: Enable entities that utilize IoT devices to connect with and control them using a dashboard, such as a mobile application. They include smartphones, tablets, PCs, smartwatches, connected TVs, and nontraditional remotes. Dashboard: Displays information about the IoT ecosystem to users and enables them to control their IoT ecosystem. It is generally housed on a remote. Analytics: Software systems that analyze the data generated by IoT devices. The analysis can be used for a variety of scenarios, such as predictive maintenance. Data storage: Where data from IoT devices is stored. Networks: The internet communication layer that enables the entity to communicate with their device, and sometimes enables devices to communicate with each other. IoT – Glossary