The Internet of Things !
Although things, the Internet, and connectivity are the
three core components of IoT, the value is in closing the gap
between the physical and digital world in self-reinforcing
and self-improving systems.
Architecture
ESP 8266
ESP8266 vs Arduino yun
Esp8266 Arduino yun
Mognoose OS
Code for the project
Show the rules
AWS IOT MQTT Server
•MQTT is a machine-to-machine (M2M)/"Internet of Things" connectivity protocol. It was
designed as an extremely lightweight publish/subscribe messaging transport. It is useful for
connections with remote locations where a small code footprint is required and/or network
bandwidth is at a premium.
•It is also ideal for mobile applications because of its small size, low power usage, minimised data
packets, and efficient distribution of information to one or many receivers
Example
AWS IOT Rule
Rules give your devices the ability to interact with AWS services. Rules are analyzed and actions
are performed based on the MQTT topic stream. You can use rules to support tasks like these:
•Augment or filter data received from a device.
•Write data received from a device to an Amazon DynamoDB database.
•Save a file to Amazon S3.
•Send a push notification to all users using Amazon SNS.
•Publish data to an Amazon SQS queue.
•……….
•………
Lambda function
•It allow run code without running provisioning or managing servers
•You can configure the code so that it is automatically activated by other AWS services or is
recalled directly from any web or mobile application.
SNS notification
It is a fast, flexible, and fully managed push notification
service that lets you send individual or collective messages
to a large number of recipients
Show pratical example
Aws Iot
Why we use Amazon AWS iot ?
We can use amazon AWS IOT for the use of different
devices, for example we can connect different device
in one cloud and in this case the cloud is AWS
(or temboo, azure iot, and soon).
Features of AWS IoT
Gateway device
•Enables devices to communicate safely and efficiently with AWS IoT
•Messages are exchanged using a publication/enrollment template that allows both univocal
communications and multiple devices
Authentication e authorization
•Provides mutual authentication and encryption at all connection points, so there will never be
any data exchange between devices and AWS IoT without identity verifications
•You can map roles and/or policies for each certificate to authorize device and application access
and revoke access at any time without touching your device.
Registry
•The Registry assigns an identity to the devices and monitors metadata, such as attributes and
features.
•Identity is assigned to all formatted devices consistently, regardless of the device type or
connection.
shadow
•Shadow devices retain the last state known and future status set for each device even when
offline.
Rules Engine
•The rule engine allows you to create applications that collect, process, analyze, and work on data
generated by connected devices around the world without having to manage any infrastructure
•You can create rules within the management console or write them with SQL syntax. Rules may
have different behaviors depending on the context of the message
That’s All

Presentazione Esp8266

  • 2.
    The Internet ofThings ! Although things, the Internet, and connectivity are the three core components of IoT, the value is in closing the gap between the physical and digital world in self-reinforcing and self-improving systems.
  • 3.
  • 5.
  • 8.
    ESP8266 vs Arduinoyun Esp8266 Arduino yun
  • 9.
  • 10.
    Code for theproject
  • 11.
  • 12.
    AWS IOT MQTTServer •MQTT is a machine-to-machine (M2M)/"Internet of Things" connectivity protocol. It was designed as an extremely lightweight publish/subscribe messaging transport. It is useful for connections with remote locations where a small code footprint is required and/or network bandwidth is at a premium. •It is also ideal for mobile applications because of its small size, low power usage, minimised data packets, and efficient distribution of information to one or many receivers
  • 13.
  • 14.
    AWS IOT Rule Rulesgive your devices the ability to interact with AWS services. Rules are analyzed and actions are performed based on the MQTT topic stream. You can use rules to support tasks like these: •Augment or filter data received from a device. •Write data received from a device to an Amazon DynamoDB database. •Save a file to Amazon S3. •Send a push notification to all users using Amazon SNS. •Publish data to an Amazon SQS queue. •………. •………
  • 15.
    Lambda function •It allowrun code without running provisioning or managing servers •You can configure the code so that it is automatically activated by other AWS services or is recalled directly from any web or mobile application.
  • 16.
    SNS notification It isa fast, flexible, and fully managed push notification service that lets you send individual or collective messages to a large number of recipients
  • 17.
  • 18.
  • 19.
    Why we useAmazon AWS iot ? We can use amazon AWS IOT for the use of different devices, for example we can connect different device in one cloud and in this case the cloud is AWS (or temboo, azure iot, and soon).
  • 20.
  • 21.
    Gateway device •Enables devicesto communicate safely and efficiently with AWS IoT •Messages are exchanged using a publication/enrollment template that allows both univocal communications and multiple devices
  • 22.
    Authentication e authorization •Providesmutual authentication and encryption at all connection points, so there will never be any data exchange between devices and AWS IoT without identity verifications •You can map roles and/or policies for each certificate to authorize device and application access and revoke access at any time without touching your device.
  • 23.
    Registry •The Registry assignsan identity to the devices and monitors metadata, such as attributes and features. •Identity is assigned to all formatted devices consistently, regardless of the device type or connection.
  • 24.
    shadow •Shadow devices retainthe last state known and future status set for each device even when offline.
  • 25.
    Rules Engine •The ruleengine allows you to create applications that collect, process, analyze, and work on data generated by connected devices around the world without having to manage any infrastructure •You can create rules within the management console or write them with SQL syntax. Rules may have different behaviors depending on the context of the message
  • 26.

Editor's Notes

  • #3 Sebbene le cose, l'Internet e la connettività siano le tre componenti fondamentali di IoT, il valore sta nel chiudere il divario tra il mondo fisico e quello digitale in sistemi autofirmanti e auto-miglioranti.
  • #4 the project is working with aws iot and esp8266 in this slide we can see the architecture of the project
  • #5 example we forgot to buy detergent and our is finished Then we can push the amazon button In a few hours we will receive the product Now you imagine that the system realizes that the detergent is finished and orders it and you receive one notice on email
  • #6 who is esp8266? is one microcontroller that have onboard the wifi connection it can connect at internet . Feature: 16 GPIO pins -IEEE 802.11 b/g/n wifi wep or wepa2 authentication or open network 32 bit risc cpu 96 kib data ram it Is designed to connect things to the internet
  • #7 when i use this microcontroller ? I use it when i want create for example a smart home. For example i want to avoid go shopping . i can create the system that realize when the product is finish and order it .
  • #9 the differentses are many for example the processor .. and son when i want to create a smart home i need a lot of controller and if i use only arduino yun the cost encrease incredible ... but i can use arduino yun as a web server and connect it at internet with the ethernet and i can use esp8266 yo connect other device at the web server with wifi .
  • #14 In the middle ther is MQTT --------------------------------------- AWS IoT allows you to easily connect devices to the cloud and other devices. AWS IoT supports HTTP, WebSockets and MQTT, a small communication protocol specifically designed to work in intermittent connection
  • #20 i use it becose i dont want write the code, and it write the code for me .
  • #21 Let's go explain in detail this functions
  • #22 seifly
  • #25 Shadow devices simplify the creation of applications that interact with devices because they always provide the available REST API
  • #26  For example, if the detected temperature exceeds a certain threshold, a rule that transmits data to AWS Lambda