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

Post on 15-Jul-2015

72 views 1 download

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

Linux, Android e

Internet of Things

ITIS G.Galilei - San Secondo (PR)

1Concetto di risorsa

Cosa si intende con il termine risorsa nell’IoT?

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

Risorsa

ENTRY POINT

HUMIDITY

FAN COIL

BADGE READER

TEMPERATURE

GET

GET/POST

GET/PUT

PUTSAVE

POST

GET

TRAINING!!

Avete fatto i compiti?!?

Lettura sensore e salvataggio su file

• RAW

• WiringPi

• Java

Scatto di una foto/video e salvataggio

• RAW

• Java

Comunicazione wireless tra Raspberry e Arduino

• Raspberry

Da Seriale su GPIO

Da USB

Comunicazione wireless tra Raspberry e Arduino

• Arduino

• Sensori vari

Il progetto

Thanks!ANY QUESTIONS?

You can find me at:

mirko.mancin@gmail.com

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

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.