![Page 1: CodingGym - Lezione 4 - Corso Linux, Android e Internet of Things](https://reader031.vdocuments.pub/reader031/viewer/2022020123/55a68e611a28abb27d8b482b/html5/thumbnails/1.jpg)
Linux, Android e
Internet of Things
ITIS G.Galilei - San Secondo (PR)
![Page 2: CodingGym - Lezione 4 - Corso Linux, Android e Internet of Things](https://reader031.vdocuments.pub/reader031/viewer/2022020123/55a68e611a28abb27d8b482b/html5/thumbnails/2.jpg)
1Concetto di risorsa
Cosa si intende con il termine risorsa nell’IoT?
![Page 3: CodingGym - Lezione 4 - Corso Linux, Android e Internet of Things](https://reader031.vdocuments.pub/reader031/viewer/2022020123/55a68e611a28abb27d8b482b/html5/thumbnails/3.jpg)
Risorsa
Una risorsa è qualsiasi elemento oggetto su cui è possibile effettuare operazioni ed è identificabile univocamente
• Identificazione delle risorse• Utilizzo esplicito dei metodi CRUD• Risorse autodescrittive• Collegamenti tra risorse• Comunicazione senza stato
![Page 4: CodingGym - Lezione 4 - Corso Linux, Android e Internet of Things](https://reader031.vdocuments.pub/reader031/viewer/2022020123/55a68e611a28abb27d8b482b/html5/thumbnails/4.jpg)
Risorsa
ENTRY POINT
HUMIDITY
FAN COIL
BADGE READER
TEMPERATURE
GET
GET/POST
GET/PUT
PUTSAVE
POST
GET
![Page 5: CodingGym - Lezione 4 - Corso Linux, Android e Internet of Things](https://reader031.vdocuments.pub/reader031/viewer/2022020123/55a68e611a28abb27d8b482b/html5/thumbnails/5.jpg)
TRAINING!!
Avete fatto i compiti?!?
![Page 6: CodingGym - Lezione 4 - Corso Linux, Android e Internet of Things](https://reader031.vdocuments.pub/reader031/viewer/2022020123/55a68e611a28abb27d8b482b/html5/thumbnails/6.jpg)
Lettura sensore e salvataggio su file
• RAW
• WiringPi
• Java
![Page 7: CodingGym - Lezione 4 - Corso Linux, Android e Internet of Things](https://reader031.vdocuments.pub/reader031/viewer/2022020123/55a68e611a28abb27d8b482b/html5/thumbnails/7.jpg)
Scatto di una foto/video e salvataggio
• RAW
• Java
![Page 8: CodingGym - Lezione 4 - Corso Linux, Android e Internet of Things](https://reader031.vdocuments.pub/reader031/viewer/2022020123/55a68e611a28abb27d8b482b/html5/thumbnails/8.jpg)
Comunicazione wireless tra Raspberry e Arduino
• Raspberry
Da Seriale su GPIO
Da USB
![Page 9: CodingGym - Lezione 4 - Corso Linux, Android e Internet of Things](https://reader031.vdocuments.pub/reader031/viewer/2022020123/55a68e611a28abb27d8b482b/html5/thumbnails/9.jpg)
Comunicazione wireless tra Raspberry e Arduino
• Arduino
• Sensori vari
![Page 10: CodingGym - Lezione 4 - Corso Linux, Android e Internet of Things](https://reader031.vdocuments.pub/reader031/viewer/2022020123/55a68e611a28abb27d8b482b/html5/thumbnails/10.jpg)
Il progetto
![Page 12: CodingGym - Lezione 4 - Corso Linux, Android e Internet of Things](https://reader031.vdocuments.pub/reader031/viewer/2022020123/55a68e611a28abb27d8b482b/html5/thumbnails/12.jpg)
Generazione di segnali PWM da Raspberry
SEE ALSO
http://www.yonch.com/tech/82-linux-thread-priority
http://panteltje.com/pub/freq_pi.c
• WiringPi
• Java
![Page 13: CodingGym - Lezione 4 - Corso Linux, Android e Internet of Things](https://reader031.vdocuments.pub/reader031/viewer/2022020123/55a68e611a28abb27d8b482b/html5/thumbnails/13.jpg)
CREDITS
Special thanks to all the people who made and released these awesome resources for free:
▪ Busy Icons by Olly Holovchenko
▪ Presentation template by SlidesCarnival
▪ Photographs by Unsplash
This template is free to use under Creative Commons
Attribution license. If you use the graphic assets (photos,
icons and typographies) provided with this presentation you
must keep the Credits slide.