KNOT
A FRAMEWORK FOR IOT INTEROPERABILITY
Private innovation center
that creates products,
services and business
using information and
communication
technologies (ICT).
Identify, potentialize and
realize opportunities for
transformation of
organizations and
people's lives
WHY YOUR HOME DEVICES
ARE STILL NOT CONNECTED
TO THE INTERNET?
WHAT IS THE
INTERNET OF THINGS?
IOT IN A NUTSHELL
IOT IN A [COCO]NUTSHELL
IOT IN A [COCO]NUTSHELL
OU
IOT EM UMA “QUENGA” DE COCO
Embed connectivity,
sensors and actuators for
sharing data across mutiple
devices to add more
value.
IOT EM UMA “QUENGA” DE CÔCO
WHAT IS THE INTERNET OF THINGS?
conectividade para as coisas
WHY EVERY ONE IS LOOKING AT IOT?
Values
IOT EM UMA “QUENGA” DE CÔCO
IOT EM UMA “QUENGA” DE CÔCO
WHY YOUR HOME DEVICES ARE STILL NOT CONNECTED TO THE INTERNET?
conectividade para as coisas Every "thing" has its specific
connectivity needs:
▸ communication range
▸ baud rate
▸ power consumption
▸ cost
IOT EM UMA “QUENGA” DE CÔCO
WHY YOUR HOME DEVICES ARE STILL NOT CONNECTED TO THE INTERNET?
conectividade para as coisas…and this leads to many protocols
and protocol stacks
▸ physical layer
▸ data link and network layer
▸ transport layer
IOT EM UMA “QUENGA” DE CÔCO
THERE IS NO STANDARD YET
conectividade para as coisas
“It is very difficult to have a unique
standard for IoT as we have for the WWW,
with HTML and browsers. The THINGS in IoT
are so different and the applications as
diverse that many standards and protocols
will coexist.”
IOT EM UMA “QUENGA" DE CÔCO
IT GENERATES A PROBLEM
Complexity
HOW TO MITIGATE THIS COMPLEXITY?
Software platforms
Cloud services to exchange data
across devices
IOT EM UMA “QUENGA" DE CÔCO
HOW TO MITIGATE THIS COMPLEXITY?
Hardware platforms
Wireless microcontrollers
+ sensors to develop your
application
IOT EM UMA “QUENGA" DE CÔCO
IOT EM UMA “QUENGA” DE CÔCO
conectividade para as coisas
INTEROPERABILITY
Applications have its
own protocols…
…and they didn't talk to
each other.
What are we doing?
We are not creating one
more IoT platform!
meta plataform for IoT 

bridging the gap between existing platforms
made on top of them
IoT platforms
software
hardware
IoT platforms
software
hardware
IoT platforms
software
hardware
IoT platforms
software
hardware
open source, hardware
and software.
multi protocol 

for the physical (multi radios), data link, network and
transport layers
To address all communication needs.
end to end 

from the device to the app, crossing radios, gateways
and cloud services.
data sharing by space and time 

“to share the data only on monday, from 2pm to 3pm.”
semantic data model 

applications will know the data type of each other.
distributed cloud 

a distributed system can handle billions of devices.
low cost 

the maximum cost of cheapest device will be $5.
easy to use 

the developer only needs to implement 3 functions to
have a device connected to the internet.
architecture 1.0
Hardware - Maker Board
Hardware - Dev Board
Hardware - KNoT Mesh
Why are we doing it?
Construction of applied knowledge
The group's researches turns into
experiments in observatories,
enabling CESAR to apply the
knowledge acquired in IoT
projects.
Integrate many platforms into a unique one
It allows interoperability across platforms and across data
from many devices.
More agility in developing IoT projects
A KNoT Lamp can be simple like this:
1. Get a KNoT device core schematic and customize it
by adding a lamp actuator.
2. Write 3 functions on KNoT μOS that define your
lamp behavior.
3. Write a mobile app using KNoT lib to interact with
the lamp.
KNOT
BUILDING AN IOT SOLUTION
WITH
BUILDING AN IOT SOLUTION
device
app
KNOT MANIFESTO
BUILDING AN IOT SOLUTION
app
device
platform
KNOT MANIFESTO
BUILDING AN IOT SOLUTION
appdevice
platform
Specific (solution) code
Common (platform) code
KNOT MANIFESTO
BUILDING AN IOT SOLUTION
appdevice
cloudgateway
Specific (solution) code
Common (platform) code
KNOT MANIFESTO
BUILDING AN IOT SOLUTION WITH KNOT
appdevice
KNoT

cloud
KNoT

gateway
KNoT platform codeKNoT Thing KNoT Lib
Specific (solution) code
KNOT MANIFESTO
KNoTThing
engine
app
KNoT platform code
S
Specific (solution) codedevice
LIB
IOS ANDROID JS
BUILDING AN IOT SOLUTION WITH KNOT
KNOT MANIFESTO
COMPONENTS - KNOT THING
protocol state machine

protocol messages
hardware interface
and abstraction
manages sensors
and actuators
multiple hardware
configurations for
µC, power and radio
KNOT MANIFESTO
SW
Components - KNoT Gateway
buildroot based linux distribution
hardware interface
and abstraction.
manages devices
from one radio.
one daemon for
each radio interface.
connects to all radio
daemons and creates
a bridge to the fog
cloud instance
deployed on
gateway
web app for
gateway setup
and config
KNOT MANIFESTO
COMPONENTS - KNOT GATEWAY
Components - KNoT Cloud
planning to integrate
in the future
non-relational
database
currently supporting meshblu and FIWARE.
planning to integrate with AWS IoT and Google
Cloud.
COMPONENTS - KNOT CLOUD
KNOT MANIFESTO
Components - KNoT Lib
libraries that abstract the cloud
services. it is used to develop
applications. currently
implemented for Android, iOS
and Javascript.
LIB
IOS ANDROID JS
KNOT MANIFESTO
COMPONENTS - KNOT LIB
BRAZILIAN IOT SCENARIO
KNOT MANIFESTO
BRAZILIAN IOT SCENARIO
BRAZILIAN EFFORTS ON IOT
conectividade para as coisas
KNOT INTEGRATION
BRAZILIAN IOT SCENARIO
BRAZILIAN IOT SCENARIO
BRAZILIAN ECOSYSTEM MASTER PLAN - VERTICALS
conectividade para as coisas
Source: BNDES - "Internet das Coisas: um plano de ação para o Brasil”
BRAZILIAN IOT SCENARIO
BRAZILIAN ECOSYSTEM MASTER PLAN - HORIZONTALS
Source: BNDES - "Internet das Coisas: um plano de ação para o Brasil”
CREATING AN IOT SOLUTIONS’
ECOSYSTEM
KNOT MANIFESTO
CREATING AN IOT SOLUTIONS’ ECOSYSTEM
INTEROPERABILITY EFFORTS
conectividade para as coisas
▸ Accelerate IoT development ▸ Ensure investiments ▸ Interoperability
CREATING AN IOT SOLUTIONS’ ECOSYSTEM
STANDARDIZATION AND INTERNATIONALIZATION EFFORTS
▸ CESAR: Architectural reference models of
devices for IoT applications
▸ MCTIC+ANATEL: Framework for Internet of
things ecosystem master plan
▸ USP+MACKENZIE + UNESP: Framework
and capabilities for smart livestock farming
based on Internet of things
EDUCATIONAL EFFORTS
https://www.cesar.school/index.php/pos-em-iot-internet-of-things/
CREATING AN IOT SOLUTIONS’ ECOSYSTEM
A FRAMEWORK FOR IOT INTEROPERABILITY
OBRIGADO!Tiago Barros | tiago.barros@cesar.org.br
KNOT

KNoT - a framework for iot interoperability

  • 1.
    KNOT A FRAMEWORK FORIOT INTEROPERABILITY
  • 3.
    Private innovation center thatcreates products, services and business using information and communication technologies (ICT).
  • 4.
    Identify, potentialize and realizeopportunities for transformation of organizations and people's lives
  • 5.
    WHY YOUR HOMEDEVICES ARE STILL NOT CONNECTED TO THE INTERNET?
  • 6.
  • 7.
    IOT IN ANUTSHELL
  • 8.
    IOT IN A[COCO]NUTSHELL
  • 9.
    IOT IN A[COCO]NUTSHELL OU IOT EM UMA “QUENGA” DE COCO
  • 10.
    Embed connectivity, sensors andactuators for sharing data across mutiple devices to add more value. IOT EM UMA “QUENGA” DE CÔCO WHAT IS THE INTERNET OF THINGS? conectividade para as coisas
  • 11.
    WHY EVERY ONEIS LOOKING AT IOT? Values IOT EM UMA “QUENGA” DE CÔCO
  • 12.
    IOT EM UMA“QUENGA” DE CÔCO WHY YOUR HOME DEVICES ARE STILL NOT CONNECTED TO THE INTERNET? conectividade para as coisas Every "thing" has its specific connectivity needs: ▸ communication range ▸ baud rate ▸ power consumption ▸ cost
  • 13.
    IOT EM UMA“QUENGA” DE CÔCO WHY YOUR HOME DEVICES ARE STILL NOT CONNECTED TO THE INTERNET? conectividade para as coisas…and this leads to many protocols and protocol stacks ▸ physical layer ▸ data link and network layer ▸ transport layer
  • 14.
    IOT EM UMA“QUENGA” DE CÔCO THERE IS NO STANDARD YET conectividade para as coisas “It is very difficult to have a unique standard for IoT as we have for the WWW, with HTML and browsers. The THINGS in IoT are so different and the applications as diverse that many standards and protocols will coexist.”
  • 15.
    IOT EM UMA“QUENGA" DE CÔCO IT GENERATES A PROBLEM Complexity
  • 18.
    HOW TO MITIGATETHIS COMPLEXITY? Software platforms Cloud services to exchange data across devices IOT EM UMA “QUENGA" DE CÔCO
  • 19.
    HOW TO MITIGATETHIS COMPLEXITY? Hardware platforms Wireless microcontrollers + sensors to develop your application IOT EM UMA “QUENGA" DE CÔCO
  • 20.
    IOT EM UMA“QUENGA” DE CÔCO conectividade para as coisas INTEROPERABILITY
  • 21.
    Applications have its ownprotocols… …and they didn't talk to each other.
  • 22.
  • 24.
    We are notcreating one more IoT platform!
  • 25.
    meta plataform forIoT 
 bridging the gap between existing platforms made on top of them
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
    multi protocol 
 forthe physical (multi radios), data link, network and transport layers To address all communication needs.
  • 32.
    end to end
 from the device to the app, crossing radios, gateways and cloud services.
  • 33.
    data sharing byspace and time 
 “to share the data only on monday, from 2pm to 3pm.”
  • 34.
    semantic data model
 applications will know the data type of each other.
  • 35.
    distributed cloud 
 adistributed system can handle billions of devices.
  • 36.
    low cost 
 themaximum cost of cheapest device will be $5.
  • 37.
    easy to use
 the developer only needs to implement 3 functions to have a device connected to the internet.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
    Why are wedoing it?
  • 43.
    Construction of appliedknowledge The group's researches turns into experiments in observatories, enabling CESAR to apply the knowledge acquired in IoT projects.
  • 44.
    Integrate many platformsinto a unique one It allows interoperability across platforms and across data from many devices.
  • 45.
    More agility indeveloping IoT projects A KNoT Lamp can be simple like this: 1. Get a KNoT device core schematic and customize it by adding a lamp actuator. 2. Write 3 functions on KNoT μOS that define your lamp behavior. 3. Write a mobile app using KNoT lib to interact with the lamp.
  • 46.
    KNOT BUILDING AN IOTSOLUTION WITH
  • 47.
    BUILDING AN IOTSOLUTION device app KNOT MANIFESTO
  • 48.
    BUILDING AN IOTSOLUTION app device platform KNOT MANIFESTO
  • 49.
    BUILDING AN IOTSOLUTION appdevice platform Specific (solution) code Common (platform) code KNOT MANIFESTO
  • 50.
    BUILDING AN IOTSOLUTION appdevice cloudgateway Specific (solution) code Common (platform) code KNOT MANIFESTO
  • 51.
    BUILDING AN IOTSOLUTION WITH KNOT appdevice KNoT
 cloud KNoT
 gateway KNoT platform codeKNoT Thing KNoT Lib Specific (solution) code KNOT MANIFESTO
  • 52.
    KNoTThing engine app KNoT platform code S Specific(solution) codedevice LIB IOS ANDROID JS BUILDING AN IOT SOLUTION WITH KNOT KNOT MANIFESTO
  • 53.
    COMPONENTS - KNOTTHING protocol state machine
 protocol messages hardware interface and abstraction manages sensors and actuators multiple hardware configurations for µC, power and radio KNOT MANIFESTO
  • 54.
    SW Components - KNoTGateway buildroot based linux distribution hardware interface and abstraction. manages devices from one radio. one daemon for each radio interface. connects to all radio daemons and creates a bridge to the fog cloud instance deployed on gateway web app for gateway setup and config KNOT MANIFESTO COMPONENTS - KNOT GATEWAY
  • 55.
    Components - KNoTCloud planning to integrate in the future non-relational database currently supporting meshblu and FIWARE. planning to integrate with AWS IoT and Google Cloud. COMPONENTS - KNOT CLOUD KNOT MANIFESTO
  • 56.
    Components - KNoTLib libraries that abstract the cloud services. it is used to develop applications. currently implemented for Android, iOS and Javascript. LIB IOS ANDROID JS KNOT MANIFESTO COMPONENTS - KNOT LIB
  • 57.
  • 58.
    BRAZILIAN IOT SCENARIO BRAZILIANEFFORTS ON IOT conectividade para as coisas
  • 59.
  • 60.
    BRAZILIAN IOT SCENARIO BRAZILIANECOSYSTEM MASTER PLAN - VERTICALS conectividade para as coisas Source: BNDES - "Internet das Coisas: um plano de ação para o Brasil”
  • 61.
    BRAZILIAN IOT SCENARIO BRAZILIANECOSYSTEM MASTER PLAN - HORIZONTALS Source: BNDES - "Internet das Coisas: um plano de ação para o Brasil”
  • 62.
    CREATING AN IOTSOLUTIONS’ ECOSYSTEM KNOT MANIFESTO
  • 63.
    CREATING AN IOTSOLUTIONS’ ECOSYSTEM INTEROPERABILITY EFFORTS conectividade para as coisas ▸ Accelerate IoT development ▸ Ensure investiments ▸ Interoperability
  • 64.
    CREATING AN IOTSOLUTIONS’ ECOSYSTEM STANDARDIZATION AND INTERNATIONALIZATION EFFORTS ▸ CESAR: Architectural reference models of devices for IoT applications ▸ MCTIC+ANATEL: Framework for Internet of things ecosystem master plan ▸ USP+MACKENZIE + UNESP: Framework and capabilities for smart livestock farming based on Internet of things
  • 65.
  • 66.
    A FRAMEWORK FORIOT INTEROPERABILITY OBRIGADO!Tiago Barros | tiago.barros@cesar.org.br KNOT