Develop and Deploy IoT Application ...Demystified... The Idea I - - PowerPoint PPT Presentation

develop and deploy iot application
SMART_READER_LITE
LIVE PREVIEW

Develop and Deploy IoT Application ...Demystified... The Idea I - - PowerPoint PPT Presentation

Develop and Deploy IoT Application ...Demystified... The Idea I would like to make a Please, dont monitoring do it again... application which can transfer data over the cloud, for example Temperature, Humidity, Alarms Ingredients


slide-1
SLIDE 1

Develop and Deploy IoT Application

...Demystified...

slide-2
SLIDE 2

The Idea

Please, don’t do it again... I would like to make a monitoring application which can transfer data

  • ver the cloud,

for example Temperature, Humidity, Alarms

slide-3
SLIDE 3

Ingredients

  • Embedded-side application (HW + SW) to collect and

upload data

  • Server-side application to temporarily store in transit

data

  • (Different) Client-side applications to retrieve and

consume data

slide-4
SLIDE 4

System Architecture

slide-5
SLIDE 5

Embedded Side: Hardware

  • The Platform, in this case, is the electronic object that

will embed our application

  • IoT = Internet Of Things
  • In many cases “Small Things”...
  • Not much space… we have to make it as small as

possible

  • Use a Microcontroller
slide-6
SLIDE 6

What About TCP/IP Interface?

  • TCP/IP is a pretty much complicated protocol
  • It has been developed during ‘70 by a group of

engineers

  • You don’t want to do it again...
  • Use a specialized Module
  • Wiznet W5100
slide-7
SLIDE 7

HW Setup (Demo)

Wiznet Microcontroller LEDs Sensors

slide-8
SLIDE 8

Embedded Side: SW

  • Lots of IDE for Microcontroller C code development

○ Not easy to use and understand ○ C language is pretty complex

  • What about a Graphic Environment? It will reduce code
  • verhead and simplify application development :-)

○ Yes, it is scalable if you use it in the right way… ○ Yep, it could be debugged like a text based… ○ Yeah, it can be simulated as well…

slide-9
SLIDE 9

What is This?

  • We are going to use Flowcode
  • Flowcode is a Graphic Integrated Development

Environment

  • It looks like a flowchart, but allow you to program

Microcontrollers

slide-10
SLIDE 10

Using a Component

  • Inside Flowcode a lot of complex problems could be

easily solved using a component

  • A component is a set of APIs that allow you to interface

a complex peripheral inside your flowchart

  • In Flowcode, CAN, USB, Ethernet are all components
  • Besides APIs, components require also an initial

configuration, in the form of, so called, “extra properties”

  • A component is added to a project simply

Dragging&Dropping it inside the project itself

slide-11
SLIDE 11

Draft Sw Architecture

Flowcode TCP/IP Component

slide-12
SLIDE 12

Server Side: Dweet.io

  • M2M server for IoT application
  • Does not require any setup or sign on, you

just need to push data

  • Free for public data, 1,99$/month for locking

a dweet (plus 30 days of storage)

  • Basically like twitter for devices (things)
slide-13
SLIDE 13

Dweeting

  • https://dweet.io/dweet/for/MyThing?hello=world

Server Reply

slide-14
SLIDE 14

Getting Dweet

  • https://dweet.io/get/latest/dweet/for/MyThing

Server Reply

slide-15
SLIDE 15

Embedded Side: TCP/IP connection

slide-16
SLIDE 16

Embedded Side: Dweet POST

https://dweet.io/dweet/for/CloudConf2016?..data..

slide-17
SLIDE 17

Our Things on Dweet

Thing Name Data get/latest/dweet/for/CloudConf2016

slide-18
SLIDE 18

Client Side: Freeboard

A good solution for a nice data plot is Freeboard

IoT Meteo Station with Humidity, Temperature and Sample Counter Go to: https://freeboard.io/board/AVYlod

slide-19
SLIDE 19

References

Embedded Code:

  • www.francescoficili.com

FlowCode:

  • http://www.matrixtsl.com/flowcode/

Freeboard Panel:

  • https://freeboard.io/board/AVYlod
slide-20
SLIDE 20

Questions?

slide-21
SLIDE 21

Grazie :-)