components
Hardware Components
Raspberry Pi 3 Model B
X 1
use webOS
Arduino UNO & Genuino UNO
X 1
controls LED, RGB LED
Arduino Mega 2560 & Genuino Mega 2560
X 1
controls step motor
WIZnet w6100 Ethernet shield
X 1
communicate between raspberry pi and arduino
microphone
X 1
for speech recognition
Software Apps and online services
IFTTT Maker service this service makes it easy to generate custom commands like "increase temperature"
details
Story
Smart Bed System
We used webOS and Google Assistant library for webOS, So please refer to: https://www.webosose.org/, https://github.com/webosose/libgoogleassistant/blob/master/README.md
Architecture of System
This is architecture of system.
IFTTT is the service that makes easy to generate custom commands which google assistant don’t recognize. We used this service to make our own commands.
In short,
- Say commands which we made using IFTTT to microphone.
- webOS application sends commands to google assistant server. Then server will response to application.
- webOS application sends specific JSON data to Arduino using HTTP request based on response.
- Arduino controls right actuators depending on the data.
Usage or Scenario
- Execute webOS and launch “Smart bed” application(web application)
- Click Start button to begin speech recognition
- Say some commands we made like “I want to read”, “Increase temperature”, etc… For example, If I say “I want to read”, then the bed will be upright
Above picture is description of our entire scenarios. Basically Light is turned on/off depending on the illuminance sensor on the bed.
documents
COMMENTS