SlideShare una empresa de Scribd logo
1 de 34
Descargar para leer sin conexión
Building IoT Solutions
with the Pi
Mini Hands-on
#ISSLearningDay
Dr Matthew Chua, NUS-ISS
Mr. Nicholas Ho, NUS-ISS
2 August 2019
Dr CHUA Chin Heng Matthew, BEng, PhD, CSM, PMP
 Lecturer and Consultant, Smart Health
Leadership Centre, Institute of Systems Science,
NUS
 Honorary Joint Faculty, Saw Swee Hock School
of Public Health, NUS
 Residential Fellow, Kent Ridge Hall, NUS
 Research Interests: Medical Systems, Robotics
and Artificial Intelligence.
 Principal Investigator of over S$1 million of
health grant funding
#ISSLearningDay
Introduction
• Data and IoT in Health industries forms the backbone of many
applications in our society today
• Applications ranges from:
• Rehabilitation
• Medical Devices
• Assistive and Diagnostic Systems
• Decision Systems
• Monitoring Systems
#ISSLearningDay
Enabling Technologies
• These building blocks helps create synergy with data
for health applications:
• Machine Vision
• Geo-tagging
• Telepresence
• Internet of Things
• Robotics
• Machine Learning
• Software Systems and Design
#ISSLearningDay
https://tincture.io/robots-for-everyone-3fddd94f77e0
https://www.med-technews.com/features/medical-robots-friend-or-foe/
Market Size
#ISSLearningDay
https://industry.asianhhm.com/images/reports/china-iot.jpg
ISS Courses for your Consideration
• NICF – Envisioning Smart Urban IoT Solutions
• NICF – Developing Smart Urban IoT Solutions
• NICF – Securing IoT
• NICF – Architecting IoT Solutions
• NICF – Visions Systems
• NICF – Robotic Systems
• NICF – Health Analytics
#ISSLearningDay
About Nicholas Ho
nicholashoishere@gmail.com
Specialized in architecture, design & development
• Augmented/Virtual Reality
• Internet-of-Things (IoT) & Cyber-Physical System
(CPS)
• Artificial Intelligence
7
Contents
• Introduction to Raspberry PI
• Introduction to GrovePi+ Starter Kit
• Introduction to AWS Products (Selected)
• Mini Hands-on
• Demonstration
#ISSLearningDay
Introduction to Raspberry PI
This section will enable you to understand what is a Raspberry PI and its potential
use for IoT systems.
#ISSLearningDay
What is a Raspberry PI?
#ISSLearningDay
Source: https://www.youtube.com/watch?v=f5CHEfdVE-Y
What is a Raspberry PI?
Various components:
1. ARM CPU/GPU
2. GPIO (General-purpose input/output
connection)
3. RCA (allows connection of analog TVs)
4. Audio out
5. LEDs
6. USB
7. HDMI
8. Power
9. SD cardslot
10. Ethernet
#ISSLearningDay
What is a Raspberry PI?
• An IoT device
• Low cost, credit-card sized computer
• Capable of doing everything a desktop computer can do
• Ability to interact with the outside world
• Built-in wireless/bluetooth connectivity
#ISSLearningDay
Intro to GrovePi+ Starter Kit
This section will enable you to understand what is a GrovePi+ Starter Kit and why it
may be useful for beginners.
#ISSLearningDay
Introduction to GrovePi+ Starter Kit
#ISSLearningDay
Introduction to GrovePi+ Starter Kit
#ISSLearningDay
Source: https://www.youtube.com/watch?v=WnOJa4vlS3w
Introduction to GrovePi+ Starter Kit
• Compatible with Raspberry Pi
• Add-on board with 15 Grove 4-pin interfaces, which connects
the Grove sensors to the PI
• Easy-to-use and modular system
• No need for soldering or breadboards; plug and play
#ISSLearningDay
Introduction to GrovePi+ Starter Kit
Many sensors selection:
1. Temperature
2. Humidity
3. Light
4. Sound
5. Ultrasonic
6. Rotary Angle
#ISSLearningDay
Understanding Sensors
• Light sensor – Analog
• Sound sensor – Analog
• Temperature & Humidity (DHT) Sensor – Digital
Introduction to AWS Products
This section will enable you to understand are some of the AWS products that can be
utilized to build IoT systems.
#ISSLearningDay
• Managed cloud service that lets connected devices easily and securely interact
with cloud applications and other devices
• Supports HTTP, WebSockets, and MQTT
• MQTT  A lightweight communication protocol specifically designed to tolerate
intermittent connections, minimize the code footprint on devices, and reduce
network bandwidth requirements
AWS IoT Core
• Cloud-based voice service
• Voice user interface (VUI) design platform
 Build skills (i.e. configure keywords to recognize from voice)
 Test skills
AWS Alexa Developer Console
Source: https://www.youtube.com/watch?v=qPFFLCBmJ68
Just for Laughs: Voice User Interface (VUI)
Mini Hands-on & Demonstrations
This section will allow you to try out an already developed mini IoT system and
understand what are its potential advantages at first hand.
#ISSLearningDay
Stuff you need for a basic IoT System
1. Raspberry PI already-assembled with GrovePi+ board, and the
Grove Sensors (i.e. LED, DHT, light, sound)
2. Charger for Raspberry PI
3. HDMI Wire
4. Monitor
5. Mouse and Keyboard
#ISSLearningDay
(A) Basic Setup for PI
The HDMI wire is connected from your Raspberry Pi’s
HDMI port to the monitor:
#ISSLearningDay
(A) Basic Setup for PI
The charger is connected from the power supply to the
PI:
#ISSLearningDay
Your monitor should display the
PI desktop like the above image
(A) Basic Setup for PI
The Mouse and Keyboard are connected to the USB
ports of your PI:
#ISSLearningDay
(A) Basic Setup for PI
Your PI can be controlled by you like a PC/Laptop:
#ISSLearningDay
Note: The PI actually requires
internal setup via the Linux
command codes for it to work with
Grove and AWS; this will only be
covered in the full workshop. Your
PI has already been programmed
and updated to achieve AWS IoT
functionalities.
(B) Testing your Sensors using your
Assembled PI
1. Click on the Terminal or “>_” button on your PI; found
at the top left corner of the display
#ISSLearningDay
A window will pop out. This platform enables you to gain remote access to your
Raspberry PI; you can write Linux codes here to execute files.
(B) Testing your Sensors using your
Assembled PI
2. In your PI’s Terminal, change directory (cd) to
the file with the python file, and execute the
following codes:
• cd /home/pi/Documents/groveproject
• python ssdiot01.py
#ISSLearningDay
You can see the various sensors’ values (i.e. light, sound, temp and hum, which represents
the brightness, sound, temperature and humidity levels respectively) appearing every 2
seconds
(B) Testing your Sensors using your
Assembled PI
3. Once you have executed the codes, you can
check if the sensors are working; for example:
• Cover the light sensor (to make it dark) or shine a bright light
over the light sensor (to make it bright); the light values will
change accordingly
• Make noises in front of the sound sensor; the sound values will
increase
• Put your finger/thumb over the DHT sensor; the temperature
and humidity values will increase
#ISSLearningDay
(C) Broadcasting Sensor Data to the AWS
Cloud & Using the Alexa Service
#ISSLearningDay
An IoT system enables you (via the Internet) to collect,
analyse and manage data in real-time and from a
sensory system that may NOT be within close
proximity!
(D) Summary of Today’s Session
Thank You!
nicholashoishere@gmail.com
#ISSLearningDay

Más contenido relacionado

La actualidad más candente

IoT Design Principles
IoT Design PrinciplesIoT Design Principles
IoT Design Principlesardexateam
 
IoT introduction
IoT introductionIoT introduction
IoT introductionAnssi Soinu
 
Internet of things with python
Internet of things with pythonInternet of things with python
Internet of things with pythonjasssingh49
 
How is ai important to the future of cyber security
How is ai important to the future of cyber security How is ai important to the future of cyber security
How is ai important to the future of cyber security Robert Smith
 
ARTIFICIAL INTELLIGENCE AND ROBOTICS
ARTIFICIAL INTELLIGENCE AND ROBOTICS ARTIFICIAL INTELLIGENCE AND ROBOTICS
ARTIFICIAL INTELLIGENCE AND ROBOTICS Abhishek Bhadoria
 
Introduction to the IoT using AWS
Introduction to the IoT using AWSIntroduction to the IoT using AWS
Introduction to the IoT using AWSVolodymyr Rudyi
 
IoT Agent Design Principles
IoT Agent Design PrinciplesIoT Agent Design Principles
IoT Agent Design Principlesardexateam
 
Defining the IoT Stack
Defining the IoT StackDefining the IoT Stack
Defining the IoT StackPubNub
 
Resiliency for a Cyber-physical future
Resiliency for a Cyber-physical futureResiliency for a Cyber-physical future
Resiliency for a Cyber-physical futurescoopnewsgroup
 
Iot–a unique combination of biz ux-tech-sandhi bhide oct29-2014- semi pnw bre...
Iot–a unique combination of biz ux-tech-sandhi bhide oct29-2014- semi pnw bre...Iot–a unique combination of biz ux-tech-sandhi bhide oct29-2014- semi pnw bre...
Iot–a unique combination of biz ux-tech-sandhi bhide oct29-2014- semi pnw bre...sandhibhide
 
Cisco io t for vietnam cio community 2 apr 2015 - split
Cisco io t for vietnam cio community   2 apr 2015 - splitCisco io t for vietnam cio community   2 apr 2015 - split
Cisco io t for vietnam cio community 2 apr 2015 - splitPhuc (Peter) Huynh
 
IoT and AI Services in Healthcare | AWS Public Sector Summit 2017
 IoT and AI Services in Healthcare | AWS Public Sector Summit 2017 IoT and AI Services in Healthcare | AWS Public Sector Summit 2017
IoT and AI Services in Healthcare | AWS Public Sector Summit 2017Amazon Web Services
 
Product security by Blockchain, AI and Security Certs
Product security by Blockchain, AI and Security CertsProduct security by Blockchain, AI and Security Certs
Product security by Blockchain, AI and Security CertsLabSharegroup
 
IoT: Security & Privacy at IGNITE 2015
IoT: Security & Privacy at IGNITE 2015IoT: Security & Privacy at IGNITE 2015
IoT: Security & Privacy at IGNITE 2015Hildebrand Technology
 
IoT security reference architecture
IoT security  reference architectureIoT security  reference architecture
IoT security reference architectureElias Hasnat
 
LIFT OFF 2017: IoT and MSS Deep Dive
LIFT OFF 2017: IoT and MSS Deep DiveLIFT OFF 2017: IoT and MSS Deep Dive
LIFT OFF 2017: IoT and MSS Deep DiveRobert Herjavec
 
IoT Testing by Robins Abraham
IoT Testing by Robins AbrahamIoT Testing by Robins Abraham
IoT Testing by Robins Abrahammomoahmedabad
 

La actualidad más candente (20)

IoT Design Principles
IoT Design PrinciplesIoT Design Principles
IoT Design Principles
 
IoT introduction
IoT introductionIoT introduction
IoT introduction
 
Internet of things with python
Internet of things with pythonInternet of things with python
Internet of things with python
 
How is ai important to the future of cyber security
How is ai important to the future of cyber security How is ai important to the future of cyber security
How is ai important to the future of cyber security
 
How AI connect dots for IoT
How AI connect dots for IoTHow AI connect dots for IoT
How AI connect dots for IoT
 
Sport && Wellness Hackathon
Sport && Wellness  HackathonSport && Wellness  Hackathon
Sport && Wellness Hackathon
 
ARTIFICIAL INTELLIGENCE AND ROBOTICS
ARTIFICIAL INTELLIGENCE AND ROBOTICS ARTIFICIAL INTELLIGENCE AND ROBOTICS
ARTIFICIAL INTELLIGENCE AND ROBOTICS
 
Introduction to the IoT using AWS
Introduction to the IoT using AWSIntroduction to the IoT using AWS
Introduction to the IoT using AWS
 
IoT Agent Design Principles
IoT Agent Design PrinciplesIoT Agent Design Principles
IoT Agent Design Principles
 
Defining the IoT Stack
Defining the IoT StackDefining the IoT Stack
Defining the IoT Stack
 
Cyber security and AI
Cyber security and AICyber security and AI
Cyber security and AI
 
Resiliency for a Cyber-physical future
Resiliency for a Cyber-physical futureResiliency for a Cyber-physical future
Resiliency for a Cyber-physical future
 
Iot–a unique combination of biz ux-tech-sandhi bhide oct29-2014- semi pnw bre...
Iot–a unique combination of biz ux-tech-sandhi bhide oct29-2014- semi pnw bre...Iot–a unique combination of biz ux-tech-sandhi bhide oct29-2014- semi pnw bre...
Iot–a unique combination of biz ux-tech-sandhi bhide oct29-2014- semi pnw bre...
 
Cisco io t for vietnam cio community 2 apr 2015 - split
Cisco io t for vietnam cio community   2 apr 2015 - splitCisco io t for vietnam cio community   2 apr 2015 - split
Cisco io t for vietnam cio community 2 apr 2015 - split
 
IoT and AI Services in Healthcare | AWS Public Sector Summit 2017
 IoT and AI Services in Healthcare | AWS Public Sector Summit 2017 IoT and AI Services in Healthcare | AWS Public Sector Summit 2017
IoT and AI Services in Healthcare | AWS Public Sector Summit 2017
 
Product security by Blockchain, AI and Security Certs
Product security by Blockchain, AI and Security CertsProduct security by Blockchain, AI and Security Certs
Product security by Blockchain, AI and Security Certs
 
IoT: Security & Privacy at IGNITE 2015
IoT: Security & Privacy at IGNITE 2015IoT: Security & Privacy at IGNITE 2015
IoT: Security & Privacy at IGNITE 2015
 
IoT security reference architecture
IoT security  reference architectureIoT security  reference architecture
IoT security reference architecture
 
LIFT OFF 2017: IoT and MSS Deep Dive
LIFT OFF 2017: IoT and MSS Deep DiveLIFT OFF 2017: IoT and MSS Deep Dive
LIFT OFF 2017: IoT and MSS Deep Dive
 
IoT Testing by Robins Abraham
IoT Testing by Robins AbrahamIoT Testing by Robins Abraham
IoT Testing by Robins Abraham
 

Similar a Build IoT Solutions with Pi Sensors

IoT Levels of AUtomation-case study topic
IoT Levels of AUtomation-case study topicIoT Levels of AUtomation-case study topic
IoT Levels of AUtomation-case study topicpcmech
 
Taller IoT en la Actualidad
Taller IoT en la ActualidadTaller IoT en la Actualidad
Taller IoT en la ActualidadLaurence HR
 
IoT for data science Module 5 - Raspberry Pi.pptx
IoT for data science Module 5 - Raspberry Pi.pptxIoT for data science Module 5 - Raspberry Pi.pptx
IoT for data science Module 5 - Raspberry Pi.pptxMadhurimaDas52
 
Hacking with the Raspberry Pi and Windows 10 IoT Core
Hacking with the Raspberry Pi and Windows 10 IoT CoreHacking with the Raspberry Pi and Windows 10 IoT Core
Hacking with the Raspberry Pi and Windows 10 IoT CoreNick Landry
 
Iaetsd the universal brain for all robots
Iaetsd the universal brain for all robotsIaetsd the universal brain for all robots
Iaetsd the universal brain for all robotsIaetsd Iaetsd
 
Raspberry Pi - Unlocking New Ideas for Your Library
Raspberry Pi - Unlocking New Ideas for Your LibraryRaspberry Pi - Unlocking New Ideas for Your Library
Raspberry Pi - Unlocking New Ideas for Your LibraryBrian Pichman
 
Internet of things aktu lab file
Internet of things  aktu lab fileInternet of things  aktu lab file
Internet of things aktu lab fileNitesh Dubey
 
Iaetsd the world’s smallest computer for programmers and app developers
Iaetsd the world’s smallest computer for programmers and app developersIaetsd the world’s smallest computer for programmers and app developers
Iaetsd the world’s smallest computer for programmers and app developersIaetsd Iaetsd
 
Track 3 session 4 - st dev con 2016 - sensortile
Track 3   session 4 - st dev con 2016 - sensortileTrack 3   session 4 - st dev con 2016 - sensortile
Track 3 session 4 - st dev con 2016 - sensortileST_World
 
IoT prototyping made simple
IoT prototyping made simpleIoT prototyping made simple
IoT prototyping made simpleBhavana Srinivas
 
IRJET- Wireless Notice Board using Raspberry Pi
IRJET- Wireless Notice Board using Raspberry PiIRJET- Wireless Notice Board using Raspberry Pi
IRJET- Wireless Notice Board using Raspberry PiIRJET Journal
 
IRJET- Wireless Notice Board using Raspberry Pi
IRJET- Wireless Notice Board using Raspberry PiIRJET- Wireless Notice Board using Raspberry Pi
IRJET- Wireless Notice Board using Raspberry PiIRJET Journal
 
Hack the Real World with ANDROID THINGS
Hack the Real World with ANDROID THINGSHack the Real World with ANDROID THINGS
Hack the Real World with ANDROID THINGSDevFest DC
 
ARTIFICIAL INTELLIGENCE DESKTOP VOICE ASSISTANT IN PYTHON
ARTIFICIAL INTELLIGENCE DESKTOP VOICE ASSISTANT IN PYTHONARTIFICIAL INTELLIGENCE DESKTOP VOICE ASSISTANT IN PYTHON
ARTIFICIAL INTELLIGENCE DESKTOP VOICE ASSISTANT IN PYTHONIRJET Journal
 
Python and the internet of things
Python and the internet of thingsPython and the internet of things
Python and the internet of thingsAdam Englander
 

Similar a Build IoT Solutions with Pi Sensors (20)

Iot lab manual new
Iot lab manual newIot lab manual new
Iot lab manual new
 
IoT Levels of AUtomation-case study topic
IoT Levels of AUtomation-case study topicIoT Levels of AUtomation-case study topic
IoT Levels of AUtomation-case study topic
 
Taller IoT en la Actualidad
Taller IoT en la ActualidadTaller IoT en la Actualidad
Taller IoT en la Actualidad
 
IoT for data science Module 5 - Raspberry Pi.pptx
IoT for data science Module 5 - Raspberry Pi.pptxIoT for data science Module 5 - Raspberry Pi.pptx
IoT for data science Module 5 - Raspberry Pi.pptx
 
iot_ppt.pptx
iot_ppt.pptxiot_ppt.pptx
iot_ppt.pptx
 
Hacking with the Raspberry Pi and Windows 10 IoT Core
Hacking with the Raspberry Pi and Windows 10 IoT CoreHacking with the Raspberry Pi and Windows 10 IoT Core
Hacking with the Raspberry Pi and Windows 10 IoT Core
 
Iaetsd the universal brain for all robots
Iaetsd the universal brain for all robotsIaetsd the universal brain for all robots
Iaetsd the universal brain for all robots
 
Raspberry Pi - Unlocking New Ideas for Your Library
Raspberry Pi - Unlocking New Ideas for Your LibraryRaspberry Pi - Unlocking New Ideas for Your Library
Raspberry Pi - Unlocking New Ideas for Your Library
 
Abstract of raspberry pi
Abstract of raspberry piAbstract of raspberry pi
Abstract of raspberry pi
 
Internet of things aktu lab file
Internet of things  aktu lab fileInternet of things  aktu lab file
Internet of things aktu lab file
 
IoT
IoTIoT
IoT
 
Iaetsd the world’s smallest computer for programmers and app developers
Iaetsd the world’s smallest computer for programmers and app developersIaetsd the world’s smallest computer for programmers and app developers
Iaetsd the world’s smallest computer for programmers and app developers
 
Track 3 session 4 - st dev con 2016 - sensortile
Track 3   session 4 - st dev con 2016 - sensortileTrack 3   session 4 - st dev con 2016 - sensortile
Track 3 session 4 - st dev con 2016 - sensortile
 
IoT prototyping made simple
IoT prototyping made simpleIoT prototyping made simple
IoT prototyping made simple
 
IRJET- Wireless Notice Board using Raspberry Pi
IRJET- Wireless Notice Board using Raspberry PiIRJET- Wireless Notice Board using Raspberry Pi
IRJET- Wireless Notice Board using Raspberry Pi
 
IRJET- Wireless Notice Board using Raspberry Pi
IRJET- Wireless Notice Board using Raspberry PiIRJET- Wireless Notice Board using Raspberry Pi
IRJET- Wireless Notice Board using Raspberry Pi
 
Hack the Real World with ANDROID THINGS
Hack the Real World with ANDROID THINGSHack the Real World with ANDROID THINGS
Hack the Real World with ANDROID THINGS
 
ARTIFICIAL INTELLIGENCE DESKTOP VOICE ASSISTANT IN PYTHON
ARTIFICIAL INTELLIGENCE DESKTOP VOICE ASSISTANT IN PYTHONARTIFICIAL INTELLIGENCE DESKTOP VOICE ASSISTANT IN PYTHON
ARTIFICIAL INTELLIGENCE DESKTOP VOICE ASSISTANT IN PYTHON
 
Python and the internet of things
Python and the internet of thingsPython and the internet of things
Python and the internet of things
 
Espressif Introduction
Espressif IntroductionEspressif Introduction
Espressif Introduction
 

Más de NUS-ISS

Designing Impactful Services and User Experience - Lim Wee Khee
Designing Impactful Services and User Experience - Lim Wee KheeDesigning Impactful Services and User Experience - Lim Wee Khee
Designing Impactful Services and User Experience - Lim Wee KheeNUS-ISS
 
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...NUS-ISS
 
How the World's Leading Independent Automotive Distributor is Reinventing Its...
How the World's Leading Independent Automotive Distributor is Reinventing Its...How the World's Leading Independent Automotive Distributor is Reinventing Its...
How the World's Leading Independent Automotive Distributor is Reinventing Its...NUS-ISS
 
The Importance of Cybersecurity for Digital Transformation
The Importance of Cybersecurity for Digital TransformationThe Importance of Cybersecurity for Digital Transformation
The Importance of Cybersecurity for Digital TransformationNUS-ISS
 
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...NUS-ISS
 
Understanding GenAI/LLM and What is Google Offering - Felix Goh
Understanding GenAI/LLM and What is Google Offering - Felix GohUnderstanding GenAI/LLM and What is Google Offering - Felix Goh
Understanding GenAI/LLM and What is Google Offering - Felix GohNUS-ISS
 
Digital Product-Centric Enterprise and Enterprise Architecture - Tan Eng Tsze
Digital Product-Centric Enterprise and Enterprise Architecture - Tan Eng TszeDigital Product-Centric Enterprise and Enterprise Architecture - Tan Eng Tsze
Digital Product-Centric Enterprise and Enterprise Architecture - Tan Eng TszeNUS-ISS
 
Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...
Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...
Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...NUS-ISS
 
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...NUS-ISS
 
Supply Chain Security for Containerised Workloads - Lee Chuk Munn
Supply Chain Security for Containerised Workloads - Lee Chuk MunnSupply Chain Security for Containerised Workloads - Lee Chuk Munn
Supply Chain Security for Containerised Workloads - Lee Chuk MunnNUS-ISS
 
Future of Learning - Yap Aye Wee.pdf
Future of Learning - Yap Aye Wee.pdfFuture of Learning - Yap Aye Wee.pdf
Future of Learning - Yap Aye Wee.pdfNUS-ISS
 
Future of Learning - Khoong Chan Meng
Future of Learning - Khoong Chan MengFuture of Learning - Khoong Chan Meng
Future of Learning - Khoong Chan MengNUS-ISS
 
Site Reliability Engineer (SRE), We Keep The Lights On 24/7
Site Reliability Engineer (SRE), We Keep The Lights On 24/7Site Reliability Engineer (SRE), We Keep The Lights On 24/7
Site Reliability Engineer (SRE), We Keep The Lights On 24/7NUS-ISS
 
Product Management in The Trenches for a Cloud Service
Product Management in The Trenches for a Cloud ServiceProduct Management in The Trenches for a Cloud Service
Product Management in The Trenches for a Cloud ServiceNUS-ISS
 
Overview of Data and Analytics Essentials and Foundations
Overview of Data and Analytics Essentials and FoundationsOverview of Data and Analytics Essentials and Foundations
Overview of Data and Analytics Essentials and FoundationsNUS-ISS
 
Predictive Analytics
Predictive AnalyticsPredictive Analytics
Predictive AnalyticsNUS-ISS
 
Feature Engineering for IoT
Feature Engineering for IoTFeature Engineering for IoT
Feature Engineering for IoTNUS-ISS
 
Master of Technology in Software Engineering
Master of Technology in Software EngineeringMaster of Technology in Software Engineering
Master of Technology in Software EngineeringNUS-ISS
 
Master of Technology in Enterprise Business Analytics
Master of Technology in Enterprise Business AnalyticsMaster of Technology in Enterprise Business Analytics
Master of Technology in Enterprise Business AnalyticsNUS-ISS
 
Diagnosing Complex Problems Using System Archetypes
Diagnosing Complex Problems Using System ArchetypesDiagnosing Complex Problems Using System Archetypes
Diagnosing Complex Problems Using System ArchetypesNUS-ISS
 

Más de NUS-ISS (20)

Designing Impactful Services and User Experience - Lim Wee Khee
Designing Impactful Services and User Experience - Lim Wee KheeDesigning Impactful Services and User Experience - Lim Wee Khee
Designing Impactful Services and User Experience - Lim Wee Khee
 
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...
 
How the World's Leading Independent Automotive Distributor is Reinventing Its...
How the World's Leading Independent Automotive Distributor is Reinventing Its...How the World's Leading Independent Automotive Distributor is Reinventing Its...
How the World's Leading Independent Automotive Distributor is Reinventing Its...
 
The Importance of Cybersecurity for Digital Transformation
The Importance of Cybersecurity for Digital TransformationThe Importance of Cybersecurity for Digital Transformation
The Importance of Cybersecurity for Digital Transformation
 
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...
 
Understanding GenAI/LLM and What is Google Offering - Felix Goh
Understanding GenAI/LLM and What is Google Offering - Felix GohUnderstanding GenAI/LLM and What is Google Offering - Felix Goh
Understanding GenAI/LLM and What is Google Offering - Felix Goh
 
Digital Product-Centric Enterprise and Enterprise Architecture - Tan Eng Tsze
Digital Product-Centric Enterprise and Enterprise Architecture - Tan Eng TszeDigital Product-Centric Enterprise and Enterprise Architecture - Tan Eng Tsze
Digital Product-Centric Enterprise and Enterprise Architecture - Tan Eng Tsze
 
Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...
Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...
Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...
 
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...
 
Supply Chain Security for Containerised Workloads - Lee Chuk Munn
Supply Chain Security for Containerised Workloads - Lee Chuk MunnSupply Chain Security for Containerised Workloads - Lee Chuk Munn
Supply Chain Security for Containerised Workloads - Lee Chuk Munn
 
Future of Learning - Yap Aye Wee.pdf
Future of Learning - Yap Aye Wee.pdfFuture of Learning - Yap Aye Wee.pdf
Future of Learning - Yap Aye Wee.pdf
 
Future of Learning - Khoong Chan Meng
Future of Learning - Khoong Chan MengFuture of Learning - Khoong Chan Meng
Future of Learning - Khoong Chan Meng
 
Site Reliability Engineer (SRE), We Keep The Lights On 24/7
Site Reliability Engineer (SRE), We Keep The Lights On 24/7Site Reliability Engineer (SRE), We Keep The Lights On 24/7
Site Reliability Engineer (SRE), We Keep The Lights On 24/7
 
Product Management in The Trenches for a Cloud Service
Product Management in The Trenches for a Cloud ServiceProduct Management in The Trenches for a Cloud Service
Product Management in The Trenches for a Cloud Service
 
Overview of Data and Analytics Essentials and Foundations
Overview of Data and Analytics Essentials and FoundationsOverview of Data and Analytics Essentials and Foundations
Overview of Data and Analytics Essentials and Foundations
 
Predictive Analytics
Predictive AnalyticsPredictive Analytics
Predictive Analytics
 
Feature Engineering for IoT
Feature Engineering for IoTFeature Engineering for IoT
Feature Engineering for IoT
 
Master of Technology in Software Engineering
Master of Technology in Software EngineeringMaster of Technology in Software Engineering
Master of Technology in Software Engineering
 
Master of Technology in Enterprise Business Analytics
Master of Technology in Enterprise Business AnalyticsMaster of Technology in Enterprise Business Analytics
Master of Technology in Enterprise Business Analytics
 
Diagnosing Complex Problems Using System Archetypes
Diagnosing Complex Problems Using System ArchetypesDiagnosing Complex Problems Using System Archetypes
Diagnosing Complex Problems Using System Archetypes
 

Último

Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
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 WorkerThousandEyes
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
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...Igalia
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
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 Processorsdebabhi2
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
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 RobisonAnna Loughnan Colquhoun
 
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 textsMaria Levchenko
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
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...Martijn de Jong
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 

Último (20)

Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
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
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
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...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
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
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
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
 
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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
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...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 

Build IoT Solutions with Pi Sensors

  • 1. Building IoT Solutions with the Pi Mini Hands-on #ISSLearningDay Dr Matthew Chua, NUS-ISS Mr. Nicholas Ho, NUS-ISS 2 August 2019
  • 2. Dr CHUA Chin Heng Matthew, BEng, PhD, CSM, PMP  Lecturer and Consultant, Smart Health Leadership Centre, Institute of Systems Science, NUS  Honorary Joint Faculty, Saw Swee Hock School of Public Health, NUS  Residential Fellow, Kent Ridge Hall, NUS  Research Interests: Medical Systems, Robotics and Artificial Intelligence.  Principal Investigator of over S$1 million of health grant funding #ISSLearningDay
  • 3. Introduction • Data and IoT in Health industries forms the backbone of many applications in our society today • Applications ranges from: • Rehabilitation • Medical Devices • Assistive and Diagnostic Systems • Decision Systems • Monitoring Systems #ISSLearningDay
  • 4. Enabling Technologies • These building blocks helps create synergy with data for health applications: • Machine Vision • Geo-tagging • Telepresence • Internet of Things • Robotics • Machine Learning • Software Systems and Design #ISSLearningDay https://tincture.io/robots-for-everyone-3fddd94f77e0 https://www.med-technews.com/features/medical-robots-friend-or-foe/
  • 6. ISS Courses for your Consideration • NICF – Envisioning Smart Urban IoT Solutions • NICF – Developing Smart Urban IoT Solutions • NICF – Securing IoT • NICF – Architecting IoT Solutions • NICF – Visions Systems • NICF – Robotic Systems • NICF – Health Analytics #ISSLearningDay
  • 7. About Nicholas Ho nicholashoishere@gmail.com Specialized in architecture, design & development • Augmented/Virtual Reality • Internet-of-Things (IoT) & Cyber-Physical System (CPS) • Artificial Intelligence 7
  • 8. Contents • Introduction to Raspberry PI • Introduction to GrovePi+ Starter Kit • Introduction to AWS Products (Selected) • Mini Hands-on • Demonstration #ISSLearningDay
  • 9. Introduction to Raspberry PI This section will enable you to understand what is a Raspberry PI and its potential use for IoT systems. #ISSLearningDay
  • 10. What is a Raspberry PI? #ISSLearningDay Source: https://www.youtube.com/watch?v=f5CHEfdVE-Y
  • 11. What is a Raspberry PI? Various components: 1. ARM CPU/GPU 2. GPIO (General-purpose input/output connection) 3. RCA (allows connection of analog TVs) 4. Audio out 5. LEDs 6. USB 7. HDMI 8. Power 9. SD cardslot 10. Ethernet #ISSLearningDay
  • 12. What is a Raspberry PI? • An IoT device • Low cost, credit-card sized computer • Capable of doing everything a desktop computer can do • Ability to interact with the outside world • Built-in wireless/bluetooth connectivity #ISSLearningDay
  • 13. Intro to GrovePi+ Starter Kit This section will enable you to understand what is a GrovePi+ Starter Kit and why it may be useful for beginners. #ISSLearningDay
  • 14. Introduction to GrovePi+ Starter Kit #ISSLearningDay
  • 15. Introduction to GrovePi+ Starter Kit #ISSLearningDay Source: https://www.youtube.com/watch?v=WnOJa4vlS3w
  • 16. Introduction to GrovePi+ Starter Kit • Compatible with Raspberry Pi • Add-on board with 15 Grove 4-pin interfaces, which connects the Grove sensors to the PI • Easy-to-use and modular system • No need for soldering or breadboards; plug and play #ISSLearningDay
  • 17. Introduction to GrovePi+ Starter Kit Many sensors selection: 1. Temperature 2. Humidity 3. Light 4. Sound 5. Ultrasonic 6. Rotary Angle #ISSLearningDay
  • 18. Understanding Sensors • Light sensor – Analog • Sound sensor – Analog • Temperature & Humidity (DHT) Sensor – Digital
  • 19. Introduction to AWS Products This section will enable you to understand are some of the AWS products that can be utilized to build IoT systems. #ISSLearningDay
  • 20. • Managed cloud service that lets connected devices easily and securely interact with cloud applications and other devices • Supports HTTP, WebSockets, and MQTT • MQTT  A lightweight communication protocol specifically designed to tolerate intermittent connections, minimize the code footprint on devices, and reduce network bandwidth requirements AWS IoT Core
  • 21. • Cloud-based voice service • Voice user interface (VUI) design platform  Build skills (i.e. configure keywords to recognize from voice)  Test skills AWS Alexa Developer Console
  • 23. Mini Hands-on & Demonstrations This section will allow you to try out an already developed mini IoT system and understand what are its potential advantages at first hand. #ISSLearningDay
  • 24. Stuff you need for a basic IoT System 1. Raspberry PI already-assembled with GrovePi+ board, and the Grove Sensors (i.e. LED, DHT, light, sound) 2. Charger for Raspberry PI 3. HDMI Wire 4. Monitor 5. Mouse and Keyboard #ISSLearningDay
  • 25. (A) Basic Setup for PI The HDMI wire is connected from your Raspberry Pi’s HDMI port to the monitor: #ISSLearningDay
  • 26. (A) Basic Setup for PI The charger is connected from the power supply to the PI: #ISSLearningDay Your monitor should display the PI desktop like the above image
  • 27. (A) Basic Setup for PI The Mouse and Keyboard are connected to the USB ports of your PI: #ISSLearningDay
  • 28. (A) Basic Setup for PI Your PI can be controlled by you like a PC/Laptop: #ISSLearningDay Note: The PI actually requires internal setup via the Linux command codes for it to work with Grove and AWS; this will only be covered in the full workshop. Your PI has already been programmed and updated to achieve AWS IoT functionalities.
  • 29. (B) Testing your Sensors using your Assembled PI 1. Click on the Terminal or “>_” button on your PI; found at the top left corner of the display #ISSLearningDay A window will pop out. This platform enables you to gain remote access to your Raspberry PI; you can write Linux codes here to execute files.
  • 30. (B) Testing your Sensors using your Assembled PI 2. In your PI’s Terminal, change directory (cd) to the file with the python file, and execute the following codes: • cd /home/pi/Documents/groveproject • python ssdiot01.py #ISSLearningDay You can see the various sensors’ values (i.e. light, sound, temp and hum, which represents the brightness, sound, temperature and humidity levels respectively) appearing every 2 seconds
  • 31. (B) Testing your Sensors using your Assembled PI 3. Once you have executed the codes, you can check if the sensors are working; for example: • Cover the light sensor (to make it dark) or shine a bright light over the light sensor (to make it bright); the light values will change accordingly • Make noises in front of the sound sensor; the sound values will increase • Put your finger/thumb over the DHT sensor; the temperature and humidity values will increase #ISSLearningDay
  • 32. (C) Broadcasting Sensor Data to the AWS Cloud & Using the Alexa Service #ISSLearningDay
  • 33. An IoT system enables you (via the Internet) to collect, analyse and manage data in real-time and from a sensory system that may NOT be within close proximity! (D) Summary of Today’s Session