Internet Of Things
The Internet Messenger by Buky Schwartz
Di cosa parleremo?
- Cos'è Internet degli oggetti (oggi)
- Prospettive
- Hardware
- Software
- Demo
Qualche osservazione
TechDay: Internet delle cose - Paolo Aliverti
TechDay: Internet delle cose - Paolo Aliverti
TechDay: Internet delle cose - Paolo Aliverti
Quanto ci ha
cambiati?
TechDay: Internet delle cose - Paolo Aliverti
TechDay: Internet delle cose - Paolo Aliverti
http://www.someecards.com/usercards/viewcard/MjAxMy05YzM4NjhkYjE2NzQ3NmFl
1990
2014
TechDay: Internet delle cose - Paolo Aliverti
http://www.tangibleinteraction.com/projects
TechDay: Internet delle cose - Paolo Aliverti
TechDay: Internet delle cose - Paolo Aliverti
TechDay: Internet delle cose - Paolo Aliverti
TechDay: Internet delle cose - Paolo Aliverti
Qualche altro
esempio...
TechDay: Internet delle cose - Paolo Aliverti
TechDay: Internet delle cose - Paolo Aliverti
Wearable
Illustrazione di Rob Nance
TechDay: Internet delle cose - Paolo Aliverti
Hiris
TechDay: Internet delle cose - Paolo Aliverti
TechDay: Internet delle cose - Paolo Aliverti
TechDay: Internet delle cose - Paolo Aliverti
TechDay: Internet delle cose - Paolo Aliverti
TechDay: Internet delle cose - Paolo Aliverti
Smart City
Smart Home Trasporti integrati
Wearable
Cosa sta accadendo?
Sembra che ogni oggetto debba
essere connesso
TechDay: Internet delle cose - Paolo Aliverti
TechDay: Internet delle cose - Paolo Aliverti
Iot: Oggetti connessi in Rete?
1980 - Wireless Sensor
1970 - RFID
Un nuovo modo di comunicare
Comunicazione
UX
Tecnologia
http://www.gartner.com/newsroom/id/2603623
Dispositivo IoT
Quanti dispositivi?
http://www.gartner.com/newsroom/id/2636073
Gartner Says the Internet of Things
Installed Base Will Grow to 26
Billion Units By 2020
Altre fonti:
3/5 bilioni di device tradizionali
1 trillione di device iot
Come interagiscono?
TechDay: Internet delle cose - Paolo Aliverti
TCP/IP?
http://www.gartner.com/newsroom/id/2603623
Non esiste ancora una vera e
propria architettura per IoT!
L'Hardware
- schede a microcontrollore
- connettività
- sensori & Co
Come realizzo un oggetto IoT
oggi?
Arduino
Arduino Ethernet
Arduino YUN
Raspberry PI
Flyport
Intel Edison
Sensori e attuatori
Network e comunicazioni
WiFi
●
Semplice da gestire
●
Diffuso
●
Costo
●
Potenza consumata
BlueTooth
●
Semplice da gestire
●
Consuma poco
●
Diffuso
●
Non consente connessione
diretta a Internet
ZigBee
●
Consuma molto poco
●
Più semplice del BT
●
Non consente connessione
diretta a Internet
●
Meno diffuso di altre
tecnologie
RF module
●
Consuma molto poco
●
Ampio raggio
●
Piccole dimensioni
●
Basso costo
●
Non consente connessione
diretta a Internet
●
Più difficile da utilizzare
●
Poco diffuso/standard
Il Software
Topologie
Web: old style
TechDay: Internet delle cose - Paolo Aliverti
TechDay: Internet delle cose - Paolo Aliverti
TechDay: Internet delle cose - Paolo Aliverti
Embedded
Server:
TCP
UDP
MQTT
REST
...
Client Http:
HTTP
WebSocket
MQTT
Un esempio
TechDay: Internet delle cose - Paolo Aliverti
demo
Raspberry PI + Button
Raspberry PI + Button
import urllib2
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
GPIO.setup(7, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
while 1:
if (GPIO.input(7) == 1):
response = urllib2.urlopen('http://192.168.0.4/setled.php?led=1')
html = response.read()
else:
response = urllib2.urlopen('http://192.168.0.4/setled.php?led=0')
html = response.read()
time.sleep(0.2)
php
<?php
$state = $_GET['led'];
$file = 'led.txt';
$value = $state."n";
file_put_contents($file, $value, LOCK_EX);
?>
php
<?php
$myfile = fopen("led.txt", "r")
or die("Unable to open file!");
echo "<".trim(fread($myfile,filesize("led.txt"))).">";
fclose($myfile);
?>
Arduino Ethernet
Arduino Ethernet
/*
Repeating Web client
*/
#include <SPI.h>
#include <Ethernet.h>
byte mac[] = {
0x90, 0xA2, 0xDA, 0x0E, 0xD4, 0xB1
};
Arduino Ethernet
void setup() {
if (Ethernet.begin(mac) == 0) {
Ethernet.begin(mac);
}
delay(1000);
pinMode(9, OUTPUT);
digitalWrite(9, LOW);
}
Arduino Ethernet
void loop() {
if (client.available()) {
char c = client.read();
if (c == '<') {
startRead = true;
pos = 0;
memset(& inString, 0, 32);
} else if (startRead) {
if (c!= '>') {
inString[pos] = c;
pos++;
} else {
startRead = false;
client.stop();
client.flush();
String str = String(inString);
if (str.toInt() == 1){
digitalWrite(9, HIGH);
Serial.println("ON");
} else {
digitalWrite(9, LOW);
Serial.println("OFF");
}
}
}
}
Arduino YUN: bridge
Bridge.begin();
HttpClient client;
client.get("http://arduino.cc/asciilogo.txt");
while (client.available()) {
char c = client.read();
Serial.print(c);
}
Serial.flush();
Grazie!
Paolo Aliverti
@zeppelinmaker
www.zeppelinmaker.it

More Related Content

PDF
Internet delle cose
PDF
Arduino&Raspberry
DOC
Arduino & raspberry pi - Un connubio stimolante
KEY
Introduzione ad Arduino
PDF
Introduzione all'elettronica con i microcontrollori: Arduino
PPTX
Arduino ICT2016 [IT]
PDF
Lezione introduttiva su Arduino
PDF
Android-Arduino interaction via Bluetooth
Internet delle cose
Arduino&Raspberry
Arduino & raspberry pi - Un connubio stimolante
Introduzione ad Arduino
Introduzione all'elettronica con i microcontrollori: Arduino
Arduino ICT2016 [IT]
Lezione introduttiva su Arduino
Android-Arduino interaction via Bluetooth

What's hot (11)

PDF
Arduino: breve introduzione & progetti
PPT
Aosta Creatività e innovazione
PPTX
Evoluzionecomputer
RTF
Arduino&raspberry pi - Un connubio vincente
PDF
Arduino nella Pmi
PDF
NFC: Tecnologia e Sicurezza
PPTX
RFID Global Company Profile 2014
PDF
Raspberry Pi - Introduzione, caratteristiche, programmazione, casi d'uso
PDF
Freedomotic pitch 12.05.16 Smart Home Now Milano
PDF
Arduino day 2017
PDF
La storia del computer dal 1890 al 2021
Arduino: breve introduzione & progetti
Aosta Creatività e innovazione
Evoluzionecomputer
Arduino&raspberry pi - Un connubio vincente
Arduino nella Pmi
NFC: Tecnologia e Sicurezza
RFID Global Company Profile 2014
Raspberry Pi - Introduzione, caratteristiche, programmazione, casi d'uso
Freedomotic pitch 12.05.16 Smart Home Now Milano
Arduino day 2017
La storia del computer dal 1890 al 2021
Ad

Similar to TechDay: Internet delle cose - Paolo Aliverti (20)

PDF
Pillole di IoT
PPTX
Azure IoTHub - Roboval 2018
PPTX
Internet of Things con .Net Micro Framework: un mondo di device interconnessi
PPTX
IOT: facciamo un po d' ordine
PDF
Think open IoT
PDF
Internet of Things, a che punto siamo?
PDF
Internet of Things. A che punto siamo? - Antonio Pintus
PDF
IoT: protocolli, dispositivi, architetture
PDF
Internet of Things: mercato, tecnologie, applicazioni e competenze
PPTX
Microsoft Azure per l'IT Pro
PDF
Internet of Things - Cos'è e cosa ci posso fare?
PDF
Reverse Engineering per dispositivi IoT
PDF
Tesi Magistrale 2014
PDF
MQTT: il protocollo che rende possibile l'Internet of Things (Ott. 2015)
PDF
Un trittico vincente: ESP32, Raspberry Pi e EMQ X Edge
PPTX
Smau Milano 2016 - Gennaro Persano
PDF
Thingspeak: fondamenti
PPTX
Smau Milano 2015 - Gennaro Persano
PDF
Moving from Internet 1.0 to Iot: le tecnologie IoT
PDF
InfoFactory: Internet of Thing per DITEDI e DigitalMeet2017
Pillole di IoT
Azure IoTHub - Roboval 2018
Internet of Things con .Net Micro Framework: un mondo di device interconnessi
IOT: facciamo un po d' ordine
Think open IoT
Internet of Things, a che punto siamo?
Internet of Things. A che punto siamo? - Antonio Pintus
IoT: protocolli, dispositivi, architetture
Internet of Things: mercato, tecnologie, applicazioni e competenze
Microsoft Azure per l'IT Pro
Internet of Things - Cos'è e cosa ci posso fare?
Reverse Engineering per dispositivi IoT
Tesi Magistrale 2014
MQTT: il protocollo che rende possibile l'Internet of Things (Ott. 2015)
Un trittico vincente: ESP32, Raspberry Pi e EMQ X Edge
Smau Milano 2016 - Gennaro Persano
Thingspeak: fondamenti
Smau Milano 2015 - Gennaro Persano
Moving from Internet 1.0 to Iot: le tecnologie IoT
InfoFactory: Internet of Thing per DITEDI e DigitalMeet2017
Ad

More from Codemotion (20)

PDF
Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...
PDF
Pompili - From hero to_zero: The FatalNoise neverending story
PPTX
Pastore - Commodore 65 - La storia
PPTX
Pennisi - Essere Richard Altwasser
PPTX
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...
PPTX
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019
PPTX
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019
PPTX
Francesco Baldassarri - Deliver Data at Scale - Codemotion Amsterdam 2019 -
PDF
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...
PDF
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
PDF
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...
PDF
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...
PDF
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019
PDF
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
PPTX
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019
PPTX
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...
PDF
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...
PDF
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019
PDF
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019
PDF
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019
Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...
Pompili - From hero to_zero: The FatalNoise neverending story
Pastore - Commodore 65 - La storia
Pennisi - Essere Richard Altwasser
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019
Francesco Baldassarri - Deliver Data at Scale - Codemotion Amsterdam 2019 -
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019

TechDay: Internet delle cose - Paolo Aliverti