Slide 1

Slide 1 text

androidthings Building for the IoT speakerdeck.com/hitherejoe/ android-things-building-for-the-iot

Slide 2

Slide 2 text

@hitherejoe hitherejoe joebirch.co Joe Birch - Android Engineer @ Buffer

Slide 3

Slide 3 text

@buffer buffer.com

Slide 4

Slide 4 text

The Internet of What? What exactly is the Internet of Things

Slide 5

Slide 5 text

The Internet of What? What exactly is the Internet of Things

Slide 6

Slide 6 text

The Internet of What? What exactly is the Internet of Things HUB

Slide 7

Slide 7 text

UI not always present But there will always be UX

Slide 8

Slide 8 text

Create for a wide range of use cases

Slide 9

Slide 9 text

Interaction Design

Slide 10

Slide 10 text

Inter-usability Familiarity across form factors

Slide 11

Slide 11 text

Familiar experience Making things fun and familiar

Slide 12

Slide 12 text

Getting phy-gital Sensors & Actuators Sensors Actuators

Slide 13

Slide 13 text

Android Ecosystem

Slide 14

Slide 14 text

Android Ecosystem

Slide 15

Slide 15 text

Use existing Android tools and APIs New IoT specific APIs Stay up-to-date with Android updates

Slide 16

Slide 16 text

Use existing Android tools and APIs

Slide 17

Slide 17 text

New IoT specific APIs

Slide 18

Slide 18 text

New IoT specific APIs

Slide 19

Slide 19 text

Peripheral I/O API User Driver API New IoT specific APIs

Slide 20

Slide 20 text

So I can use any API?!

Slide 21

Slide 21 text

Not quite…

Slide 22

Slide 22 text

Stay up-to-date with Android updates

Slide 23

Slide 23 text

Stay up-to-date with Android updates

Slide 24

Slide 24 text

Hardware updates Updating physical devices isn’t so easy V1 V2 V3

Slide 25

Slide 25 text

Prototyping Building ideas with plug & play components

Slide 26

Slide 26 text

BrailleBox A braille news reader for the sight impaired

Slide 27

Slide 27 text

Switches BrailleBox A braille news reader for the sight impaired

Slide 28

Slide 28 text

Switches BrailleBox A braille news reader for the sight impaired

Slide 29

Slide 29 text

Switches Schematics A braille news reader for the sight impaired

Slide 30

Slide 30 text

Switches Breadboard A braille news reader for the sight impaired

Slide 31

Slide 31 text

Switches Schematics A braille news reader for the sight impaired

Slide 32

Slide 32 text

Switches Schematics A braille news reader for the sight impaired

Slide 33

Slide 33 text

Switches Schematics A braille news reader for the sight impaired

Slide 34

Slide 34 text

Switches GPIO General Purpose Input Output

Slide 35

Slide 35 text

Switches GPIO General Purpose Input Output Output for Pin 1 Output for Pin 2 Output for Pin 3 Output for Pin 5 Output for Pin 4 Output for Pin 6

Slide 36

Slide 36 text

Using GPIO pins // Open the GPIO pin for usage val gpioPin = peripheralManagerService.openGpio(pin) // Direction Input or Output gpioPin.setDirection(DIRECTION_OUT_INITIALLY_LOW) // When the Pin is classified as Active gpioPin.setActiveType(ACTIVE_HIGH) gpioPin.setEdgeType(Gpio.EDGE_BOTH) gpioPin.registerGpioCallback(someCallback) gpioPin.setValue(true)

Slide 37

Slide 37 text

Using GPIO pins // Open the GPIO pin for usage val gpioPin = peripheralManagerService.openGpio(pin) // Direction Input or Output gpioPin.setDirection(DIRECTION_OUT_INITIALLY_LOW) // When the Pin is classified as Active gpioPin.setActiveType(ACTIVE_HIGH) gpioPin.setEdgeType(Gpio.EDGE_BOTH) gpioPin.registerGpioCallback(someCallback) gpioPin.setValue(true)

Slide 38

Slide 38 text

Using GPIO pins // Open the GPIO pin for usage val gpioPin = peripheralManagerService.openGpio(pin) // Direction Input or Output gpioPin.setDirection(DIRECTION_OUT_INITIALLY_LOW) // When the Pin is classified as Active gpioPin.setActiveType(ACTIVE_HIGH) gpioPin.setEdgeType(Gpio.EDGE_BOTH) gpioPin.registerGpioCallback(someCallback) gpioPin.setValue(true)

Slide 39

Slide 39 text

Using GPIO pins // Open the GPIO pin for usage val gpioPin = peripheralManagerService.openGpio(pin) // Direction Input or Output gpioPin.setDirection(DIRECTION_OUT_INITIALLY_LOW) // When the Pin is classified as Active gpioPin.setActiveType(ACTIVE_HIGH) gpioPin.registerGpioCallback(someCallback) gpioPin.registerGpioCallback(someCallback) gpioPin.setValue(true)

Slide 40

Slide 40 text

Switches Schematics A braille news reader for the sight impaired

Slide 41

Slide 41 text

Switches Resistor Restricting the flow current

Slide 42

Slide 42 text

Switches Schematics A braille news reader for the sight impaired

Slide 43

Slide 43 text

Switches Diode Restricting the direction current

Slide 44

Slide 44 text

Switches LED A Diode with added spark

Slide 45

Slide 45 text

Switches Schematics A braille news reader for the sight impaired

Slide 46

Slide 46 text

Switches How does the app launch? Launching a chosen activity on device launch

Slide 47

Slide 47 text

Switches IoT Launcher Starting your app at launch

Slide 48

Slide 48 text

https://github.com/hitherejoe/BrailleBox https://medium.com/@hitherejoe

Slide 49

Slide 49 text

@hitherejoe hitherejoe joebirch.co Thank you!