CodingGym - Lezione 4 - Corso Linux, Android e Internet of Things

13
Linux, Android e Internet of Things ITIS G.Galilei - San Secondo (PR)

Transcript of CodingGym - Lezione 4 - Corso Linux, Android e Internet of Things

Page 1: CodingGym - Lezione 4 - Corso Linux, Android e Internet of Things

Linux, Android e

Internet of Things

ITIS G.Galilei - San Secondo (PR)

Page 2: CodingGym - Lezione 4 - Corso Linux, Android e Internet of Things

1Concetto di risorsa

Cosa si intende con il termine risorsa nell’IoT?

Page 3: CodingGym - Lezione 4 - Corso Linux, Android e Internet of Things

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

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

TRAINING!!

Avete fatto i compiti?!?

Page 6: CodingGym - Lezione 4 - Corso Linux, Android e Internet of Things

Lettura sensore e salvataggio su file

• RAW

• WiringPi

• Java

Page 7: CodingGym - Lezione 4 - Corso Linux, Android e Internet of Things

Scatto di una foto/video e salvataggio

• RAW

• Java

Page 8: CodingGym - Lezione 4 - Corso Linux, Android e Internet of Things

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

Comunicazione wireless tra Raspberry e Arduino

• Arduino

• Sensori vari

Page 10: CodingGym - Lezione 4 - Corso Linux, Android e Internet of Things

Il progetto

Page 11: CodingGym - Lezione 4 - Corso Linux, Android e Internet of Things

Thanks!ANY QUESTIONS?

You can find me at:

[email protected]

Page 12: CodingGym - Lezione 4 - Corso Linux, Android e Internet of Things

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

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.