Speech to RIOT Jasper, how is the temperature? Jasper, re-order - - PowerPoint PPT Presentation

speech to riot
SMART_READER_LITE
LIVE PREVIEW

Speech to RIOT Jasper, how is the temperature? Jasper, re-order - - PowerPoint PPT Presentation

Jasper, turn on the fan. Jasper, what's on my calendar today? Speech to RIOT Jasper, how is the temperature? Jasper, re-order paper towels. Jasper, set a timer for 20 minutes. Jasper, play music. Speech to RIOT


slide-1
SLIDE 1

Speech to RIOT

Jasper, how is the temperature? Jasper, set a timer for 20 minutes. Jasper, re-order paper towels. Jasper, play music. Jasper, what's on my calendar today? Jasper, turn on the fan.

slide-2
SLIDE 2

Speech to RIOT

github.com/smartuni/Speech-to-RIOT Based in Hamburg Control anything

Use your voice to control your home.

Always listening

Jasper always listening for commands

100% Open source

Build it yourself with

  • ff-the-shelf hardware
slide-3
SLIDE 3

Responsibility assignment Jasper Architecture Discovery Use case Live demo

slide-4
SLIDE 4

Responsibility assignment

Alberto Pickering: CoAP on Jasper Controller Arne Thiele: Jasper/ CoAP/ Discovery Julian Magierski: Service with actuator Marvin Butkereit: CoAP, IoT / Temperature sensor Lukas Hettwer: CoAP on Raspberry Pi side/ presentation

slide-5
SLIDE 5

Jasper

The "talking computer" TTS-Engine (text-to-speech) STT-Enging (speech-to-text) Modules are easy to add Conflict: python 2 vs. python 3

slide-6
SLIDE 6

Architecture

Raspberry Pi

Jasper Application Jasper Module Coap Sensor & Actuator

RIoT

Application CoAP

{"encoding": "Json"} {"encoding": "Json"}

slide-7
SLIDE 7

Use case: discovery

Speak to Jasper: Jasper, scan for devices! Jasper listen, handled command and talks to IoT devices

JASPER

Jasper tells result. Ok, updated the hostlists.

slide-8
SLIDE 8

Discovery

  • 1. ping6 mulitcast lowpan0
  • 2. result regex ip
  • 3. coap ip get /.well-known/core
  • 4. result scan for function
  • 5. add ip to hostlist
slide-9
SLIDE 9

Use case: temperature

Speak to Jasper: Jasper, how is the temperature today? Jasper listen, handled command and talks to IoT devices

JASPER

Jasper tells result. The temperature is 42°.

slide-10
SLIDE 10

Use case: temperature

  • 1. reading host from hostlist
  • 2. get the temperature from the host
  • 3. tell the result
slide-11
SLIDE 11

Use case: fan control

Speak to Jasper: Jasper, turn on the fan. Jasper listen, handled command and talks to IoT devices

JASPER

Jasper tells result. The fan is starting.

slide-12
SLIDE 12

Use case: fan control

  • 1. receive command
  • 2. decode with jsmn
  • 3. call function PWM low/medium/fast/off
  • 4. set PWM duty cycle
slide-13
SLIDE 13

Live demo

slide-14
SLIDE 14

Thank you