Top Banner
Adding eyes, ears and mouth to your iot projects
46

Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

Dec 25, 2019

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

Adding eyes, ears and mouth to your iot projects

Page 2: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

YARA AND VINICIUS SENGER@yarasenger and @Vsenger

� Founders of globalcode & THEDEVCONF� BOARD OF SOUJAVA � CREATORS of IoT SURFBOARD� JAVA CHAMPIONS� DUKE CHOICE’s AWARD 2011� JAVAONE ROCKSTAR SPEAKER� RAFAEL & MARIA’s PARENTS

Page 3: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

Title3

Thanks ORACLE!

https://java-champions.java.net/

Page 4: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

Some of our Experiences...� telemetry equine

� Smart building jHome automation

� Smart Sail Boat System� Combike: Smart helmet� MINECRAFT ROBOT

� health care: Brain Strap(non invasive intracranial pressure monitoring)

Page 5: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

IoT: BASIC CONCEPTS

Page 6: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

gateway Microprocessor or SoC

Low EnergyMay support more than TCP/IP

Many responsibilitiesLimited Real-time Support

Edge DEVICEMicrocontrollersVERY Low Energy

SENSORS & CONTROLLERSMay not support TCP/IP

Real-time Support

ConsumerMQTT / AMQP / CoAP

REST / WS / API’sPhones / Tablets

Kinect / RealSense

Cloud BigData

IntelligenceSocial Network

Integration

IoT 4 Layers: Edge -> gateway -> Cloud -> Consumer

Page 7: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

Edge Device

� SMALL, LIMITED and Dedicated Device� VERY LOW ENERGY CONSUMPTION � may not support tcp/ip: RF, IR, Zigbee, etc.� not smart or “almost” smart

Page 8: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

ZIGBEE: popular Edge Device

� very low energy consumption� mashup network� digital and analog pins

Page 9: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

IoT Surfboard: One Device, hundreds Possibilities!

Page 10: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

� A NETWORK POINT THAT ACT AS AN ENTRANCE POINT TO ANOTHER NETWORK

� IT BASICALLY CONNECTS THE THINGS TO THE INTERNET

� IT MIGHT BE RESPONSIBLE FOR CONVERTING DATA AND PROTOCOLS

Gateway

Page 11: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

GEMALTO CONCEPT BOARD Java ME

� EHS6 2MB RAM� 2G / 3G / GPS*

Our Tutorial:https://www.youtube.com/watch?v=_ncdZAhSCNASmall Gateway + Edge

Page 12: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

Gateway with raspberry pi and java 8

Page 13: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

intel edison: java se + Java EE + Ble + WIFI

Page 14: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

IoTabletRASPBERRY PI & INTEL EDISON & WIFI &ZigBee & BLE

Page 15: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

IoT Surfing ServiceJava Microservices Kernel for IoT

IoT Surfing ProtocolJson based

Edge and Gateway Devices Menu

IoT Surfing API 4 ArduinoIoT Framework for Arduino

IoT Surfboard1 USB Cable LaptopIoT Surfboard2 xBee IoTablet

IoT Surfboard3G 2G or 3G Concept Board

Edge Device Connection Gateway

Page 16: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

Edge Device Code

Page 17: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

JSON Protocol...{"name" : "alcohol","value" : "361"},{"name" : "pot","value" : "1021"},{"name" : "light","value" : "138"},{"name" : "distance","value" : "0"},{"name" : "clock","value" : "11/12/2015 21:48:56"},{"name" : "temp","value" : "22.00"},{"name" : "humidity","value" : "73.00"}...

Page 18: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

Edge Device Vs. Protocol

...{"name" : "alcohol","value" : "361"},{"name" : "pot","value" : "1021"},{"name" : "light","value" : "138"},{"name" : "distance","value" : "0"},{"name" : "clock","value" : "11/12/2015 21:48:56"},{"name" : "temp","value" : "22.00"},{"name" : "humidity","value" : "73.00"}...

Page 19: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

Edge > Gateway > Cloud > Consumers

Edge & Gateway MQTT / RESTJSON Messages

MQTT / REST

Android

JavaScript

Your Client

MQTT FX!

Page 20: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

MQTT FX� MQTT.fx IS A MQTT CLIENT WRITTEN IN JAVA BASED ON ECLIPSE PAHO

THANKS:

JENS DETERS @Jeradyhttp://mqttfx.jfx4ee.org/

Page 21: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

LIVE DEMO

<mqtt.fx>pub

globalcode/audio - tempglobalcode/things

subcelular

Page 22: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

IOT SURFING SERVICE� Read and write to the connected Surfboard

� Exposes data and functionality using microservices

� MQTT, Websockets, REST, APIs or any other protocol

Page 23: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

IoT Surfing Service

Page 24: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

LIVE DEMO

Page 25: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

Eyes: Intel RealSense

Ears: Android Tasker + AutoVoice

Nose: Sensors

Mouth: eSpeak

Eyes, Ears, Nose and Mouth

Page 26: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

Open-sourceWin, Mac & LinuxSupport to different languagesExecuted with Shell commandsMQTT Integration DEMO...

eSpeak

Page 27: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

LIVE DEMO

Page 28: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

VOICE RECOGNITION :ANDROID TASKER AND AUTO-VOICE

Page 29: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

Android Voice RecognitionTasker App(U$ 3)Auto-Voice Plug-in for TaskerMQTT plug-in for Tasker

Voice Recognition

Page 30: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

LIVE DEMO

Page 31: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

INTEL REAL SENSE: RECOGNIZING GESTURES

Page 32: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

Intel RealSense

Page 33: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

Intel RealSense: Hands!

Page 34: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

Intel RealSense: Face!

Page 35: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

Intel RealSense: SDK / Development

Page 36: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

DEMO: RealSense + JavaFX

Page 37: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

Intel RealSense: Gestures to MQTT!

Gateway MQTT Message:relay?1 speaker?

1

Gestures AppEdge

Page 38: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

Intel RealSense + Surfing Service

Page 39: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

DEMO: Intel RealSense + IoT Surfing Service

Page 40: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

YOUR PROJECT’s NOSE : Sensing the real world!

� Alcohol Sensor

Page 41: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

Eclipse Paho for JavaScript

Edge & Gateway MQTT / RESTJSON Messages

WebsiteJS + Paho

JSON Sensor

Page 42: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

Eclipse Paho for JavaScript

Page 43: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

Eclipse Paho for JavaScript

Page 44: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

(LAST)LIVE

DEMO

Page 45: Adding eyes, ears and mouth to your iot projects...Adding eyes, ears and mouth to your iot projects YARA AND VINICIUS SENGER @yarasenger and @Vsenger Founders of globalcode & THEDEVCONF

Our github...

github.com/vsenger

github.com/surfboard