The Amazon Echo using Java, IoT, and AWS Lambda Jeff Ramsdale - - PowerPoint PPT Presentation

the amazon echo using java iot and aws lambda
SMART_READER_LITE
LIVE PREVIEW

The Amazon Echo using Java, IoT, and AWS Lambda Jeff Ramsdale - - PowerPoint PPT Presentation

The Amazon Echo using Java, IoT, and AWS Lambda Jeff Ramsdale Introduction Jeff Ramsdale Solutions Architect at Dev9 Java Developer Electronics hobbyist Certified AWS Solutions Architect Associate What is the Amazon


slide-1
SLIDE 1

The Amazon Echo using Java, IoT, and AWS Lambda

Jeff Ramsdale

slide-2
SLIDE 2

Introduction

slide-3
SLIDE 3

Jeff Ramsdale

  • Solutions Architect at Dev9
  • Java Developer
  • Electronics hobbyist
  • Certified AWS Solutions Architect Associate
slide-4
SLIDE 4

What is the Amazon Echo?

A voice-controlled, internet-enabled, device providing a natural-language interface to services you may use already. A relatively easy-to-program front-end for any service requiring a simple interactive UI.

  • 2 speakers
  • 7 microphones
  • Bluetooth
  • WiFi
slide-5
SLIDE 5

What is the Raspberry Pi?

Very small low-power single-board computer.

  • Runs Linux
  • Supports 1080p via HDMI
  • Provides a lot of I/O pins
  • Model 3 is quad-core 64-bit PC with WiFi

and Bluetooth built in

  • Vibrant community
  • $35!!!
slide-6
SLIDE 6

What is IoT?

  • Network of everything
  • Often small Internet-enabled devices but

includes vehicles, back-end services, mobile devices, and appliances

  • 50 billion objects predicted by 2020

(Cisco)

  • Big data nightmare opportunity
  • Resilient to network interruptions
slide-7
SLIDE 7

Use Case: Monitoring Seed Starts

slide-8
SLIDE 8

Existing Seed Starting Installation

slide-9
SLIDE 9

Sensor Values

  • Ambient temperature
  • Ambient humidity
  • Seed bed temperature
  • Seed bed humidity
  • Light status (on/off)
  • Water depth (ultra-sonic)
slide-10
SLIDE 10

Adafruit.io Feeds

slide-11
SLIDE 11

Adafruit.io Dashboard

slide-12
SLIDE 12

Architecture

slide-13
SLIDE 13

Amazon Echo Demo

slide-14
SLIDE 14

Code Walkthrough

slide-15
SLIDE 15

Use Case: UFO LED Control

slide-16
SLIDE 16

Existing Installation

Cheap plastic fiber optic LED UFO from the Nickel Arcade in Portland, OR

slide-17
SLIDE 17

Architecture

slide-18
SLIDE 18

Adafruit Huzzah vs Adafruit Wiced Feather

Huzzah Breakout

  • 9 GPIO
  • No TLS 1.2 (i.e. no AWS IoT)
  • FTDI cord required ($15)
  • $10 ($15 in Feather form factor)

Wiced

  • More GPIO
  • TLS 1.2 (AWS IoT)
  • Micro USB
  • LIPO Battery charger built in
  • $35
slide-19
SLIDE 19

Raspberry Pi vs Adafruit Wiced Feather

Raspberry Pi

  • Full Linux PC
  • Multi-core
  • Low power
  • Video out
  • $35!!!

Wiced Feather

  • Single core/single thread Arduino

compatible

  • No interrupt-based OS--better for timing-

critical I/O

  • Lower power
  • $35?!
slide-20
SLIDE 20

UFO Demo

slide-21
SLIDE 21

Code Walkthrough

slide-22
SLIDE 22

Resources

Adafruit: https://www.adafruit.com/ - American electronics manufacturer DXSOUL: http://www.dxsoul.com/ - Chinese electronics reseller AWS IoT: https://aws.amazon.com/iot/ - AWS IoT Nickel Arcade: http://www.wunderlandgames.com/ - UFO supplies Adafruit Feathers: https://www.adafruit.com/feather - Microcontrollers Adafruit NeoPixels: https://www.adafruit.com/category/168 - Chainable LEDs COLOURlovers API: http://www.colourlovers.com/api - Color name to values

slide-23
SLIDE 23

Q&A

slide-24
SLIDE 24

Thanks!

jeff.ramsdale@gmail.com https://www.linkedin.com/in/jramsdale