CONSTRUINDO PROJETOS COM
GOOGLE ASSISTANT E IoT
Alvaro Viebrantz
aviebrantz.com
@alvaroviebrantz
Alvaro Viebrantz
@alvaroviebrantz
aviebrantz.com
Google Developer Expert for IoT
Product Engineer @ Leverege
Organizador do GDG Cuiabá e DevMT
Um número
crescente de
dispositivos
VOCÊ PODE
CONSTRUIR TAMBÉM
COMO ISSO FUNCIONA?
Design Develop Discover
Google Home/Mobile device — A superfície para interagir com
o Google Assistant.
The Google Assistant — Uma conversa entre você e o Google
que te ajuda a realizar uma atividade no seu dia a dia.
Actions on Google — Como desenvolvedores podem extender
o Google Assistant (com Assistant apps)
Well, it’s kind of cold outside, so I'd like
something to warm me up, like a hot
soup, and I want it fast.
I have some chicken, and also canned
tomatoes.
Ok Google, talk
to Personal
Chef
Well, it’s kind of
cold outside, so
I’d like...
Sure, here’s
Personal Chef
What are you
in the mood
for?
What protein
would you like
to use?
Speech to Text
NLP
Knowledge Graph
ML Ranking
User Profile
Text to Speech
Speech to Text
Text to Speech
...
Invoke Personal
Chef action
Parse query and
generate
response
Well, it’s kind of cold outside, so I'd like
something to warm me up, like a hot
soup, and I want it fast.
I have some chicken, and also canned
tomatoes.
“
Intent Matching — Relacione e categorize o que o
usuário diz com alguma intenção.
Entity Extraction — Identificar palavras chaves e
frases ditas pelo usuário.@
Ok Google, talk
to Personal
Chef
Well, it’s kind of
cold outside, so
I’d like...
Sure, here’s
Personal Chef
What are you
in the mood
for?
What protein
would you like
to use?
Speech to Text
NLP
Knowledge Graph
ML Ranking
User Profile
Speech to Text
Text to Speech
...
...
...
Trigger WELCOME
event
...
NLP:
Intent Matching
Entity Extraction
MÃO NA MASSA
COMO FALAR COM PLANTAS

🌱🛠🗣
Como falar com plantas !!!
Google Assistant + Dialogflow + Internet das Coisas
19
Particle Photon
Tbm tem versão com ESP8266
Sensor de umidade

do solo
BMP280
Sensor de Temperatura
e Pressão
Anel de Neopixels

Leds endereçaveis
20
Bomba d’agua
Duh
Módulo relé
Acionar luz e bomba d’água
Luz de crescimento
(Grow Light)

Luz especifica para plantas
21
VOICE USER INTERFACE - VUI
COMO FOI MODELADA A CONVERSA
ENTITIES
ENTITIES
RESPOSTAS
FULFILLMENTS
!32
!33
PROCESSAMENTO DA CONVERSA
F L U XO DA A P L I C AÇ ÃO
!35
PROGRAMAÇÃO
ORIENTADA A EVENTOS
NODEJS
PYTHON (BETA)
GOLANG (ALPHA)
39
40
41
Relembrando arquitetura
Google Assistant + Dialogflow + Internet das Coisas
RECEBIMENTO DOS DADOS
ARMAZENAMENTO DOS DADOS
DADOS EM FORMA DE ÁRVORE - JSON
SDK PARA VÁRIAS LINGUAGENS
49
50
51
52
53
54
55
56
FIREBASE DEPLOY 🔥 🔥 🔥
DEMO TIME

MAY THE DEMO GODS BE WITH US
DÁ PRA FAZER MAIS COISAS ?
SEGUNDO PROJETO

GOPHER ROBOTIC ARM
github.com/alvarowolfx/golang-voice-iot
63
PCA9685
Module de 16 Canais PWM
Orange Pi Zero 🍊
4x Micro Servo Motores
MeArm
Garra robotica Open Source
DEMO TIME [2]

MAY THE DEMO GODS BE WITH US - AGAIN
OUTRAS FORMAS DE COMEÇAR

COM O GOOGLE ASSISTANT
71
AIY Projects - Voice Kit
IA para humanos
72
https://www.facebook.com/alvarowolfx/videos/
1372040179529841/
Demo
AIY com Google Assistant SDK
73
https://www.youtube.com/watch?v=FvmdYvQnJpk
https://developer.amazon.com/alexa-voice-service
Alexa Voice Service
DIY Amazon Echo - Alexa
COMO COMEÇAR ?
Blog posts
Dois tutoriais com arquitetura completa de IoT e Google Cloud
""www.iotforall.com
OBRIGADO
Alvaro Viebrantz
aviebrantz.com
@alvaroviebrantz

Construindo projetos com Google Assistant e IoT