projects: iot based on cloudlu/cse520s/slides/projects.pdf · projects: iot based on cloud ruixuan...
TRANSCRIPT
Projects: IoT based on Cloud
Ruixuan DaiSpring, 2020
Internet-of-Things
1/28/20 2
Ø Things (Devices)q Many of them
• Different Types
• Isolated Systems
q Data and Command• Sensing the world
• Give Response
q Challenge• United: Connected + Communication
• Smart: Data Analytics + Strategy
Source: https://aws.amazon.com/iot-platform/ http://www.brain-smart.net/smart-brain-health-blog/page/2/#axzz4W4oSp8a6
AWS IoT platform
1/28/20 3
United: Connect + Communication Smart: Other Cloud ServiceData StorageMachine Learning
Source: https://aws.amazon.com/iot-platform/
Stated: “Thing Shadow”
Recap: Hello AWS IoT!
1/28/20 4Source: https://aws.amazon.com/iot-platform/
Publish
Amazon SNS
Forward
Temperature sensorPeriod: 5s (0.2Hz)
Sensing Connecting Smart
Some IoT system projects in our lab
Timed Up and Go @ Home
Ø Timed Up and Go (TUG) Testq A test of mobility and fall risk in community-dwelling, frail older
adults[1]
q Widely used in hospital• Test before surgery
• Predict Falls
q Only measure the total time by the doctors
1/28/20 6
Can we do TUG @ home with more measurements?
Smartwatch TUG systemsØ A cloud-based Smartwatch TUG system
q Send reminders to the subjectsq Automatically collect and analyze the motion data
q Doctors can see the results in real time.
1/28/20 7
TUG test Result
Ø The analysis is on cloud with AWS Lambda
1/28/20 8
Raw Motion data
Smartwatch TUG System ArchitectureØ Cloud based IoT system
q Sensing• Smartwatch motion sensors
q Connection• Auto upload the sensor data to AWS S3• S3 triggers an event to AWS Lambda
q Smart • AWS Lambda does the smart analysis• Give the feedback to the doctors
1/28/20 9
Upload dataResult Storage
FeedbackAWS S3 data storage Data analysis
Alexa Voice-Agent for mental health
Ø A smart voice-agent based Amazon Alexaq An “App” in Alexa is called as a skill
q Guided Breath exercise to help soothe the patients• Mindfulness is reported to be able to relief stress[1]
1/28/20 10
[1] Academic Mindfulness Interest Group, Melbourne, and Melbourne Academic Mindfulness Interest Group. "Mindfulness-based psychotherapies: A review of conceptual foundations, empirical evidence and practical considerations." Australian and New Zealand Journal of Psychiatry 40.4 (2006): 285-294.
Mindfulness Skill Architecture
Ø Echo device as frontend (Sensor and actuator)q Get patients’ feelings; help the patient relaxed.
Ø Alexa Skill platform (Middleware)
Ø AWS Lambda (Analysis)q Build a database for each patient (AWS DynamoDB)
1/28/20 11
User infoTable
User info
Recap: IoT concepts
Ø Sensor & actuatorq Smartwatch, Raspberry Pi (with Camera, mic), motion sensors…
q Stepping motor, Light bulb, A/C
Ø Connectionq AWS IoT…
• You don’t need to use AWS IoT, but you need to connect your devices to other devices or cloud.
Ø Smartq AWS Machine learning
• Analyze the big data from the sensors, then make a smart decision
1/28/20 12