io t
TRANSCRIPT
![Page 1: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/1.jpg)
![Page 2: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/2.jpg)
Who am I?Who am I?● System Administrator since 1998● System Architect since 2004● CEO of 1H Ltd.● CTO of GetClouder Ltd.● Head of DevOps at Siteground.com● Teaching Linux System Administration and
Network Security in Sofia University● Hardware hacker● Helping with the organization of OpenFest, BG
Perl Workshops and IT Tour
MarianHackMan
Marinov
![Page 3: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/3.jpg)
Why I'm talking about this?
![Page 4: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/4.jpg)
Why I'm talking about this?
● Because Nakov made me!
![Page 5: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/5.jpg)
Why I'm talking about this?
● Because Nakov made me!● Because I'm a lazy ass :)
![Page 6: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/6.jpg)
Why I'm talking about this?
● Because Nakov made me!● Because I'm a lazy ass :)● Because I have done some shits that have IPs
![Page 7: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/7.jpg)
A bit of history for IoT
![Page 8: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/8.jpg)
A bit of history for IoT
● It is NOTHING new!
![Page 9: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/9.jpg)
A bit of history for IoT
● It is NOTHING new!● in 2004 I did it with NO knowledge at all
![Page 10: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/10.jpg)
ICMP PING
![Page 11: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/11.jpg)
![Page 12: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/12.jpg)
How did I do it?
● A small daemon written in Perl● Some libs :)
– Net::ICQ::On
– Device::ParallelPort
– Device::SerialPort
● Aaaand... I stole the hardware from my brother :)
![Page 13: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/13.jpg)
Ohm's Law
The things you are AFRAID
![Page 14: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/14.jpg)
Things that scare you...
![Page 15: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/15.jpg)
● If you are interested, how to do it the OLD way...
http://www.tldp.org/HOWTO/html_single/Home-Electrical-Control/
![Page 16: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/16.jpg)
Why is now any different?
● We have platforms with many GPIOs readily available to users.
● We have easier access to these GPIOs with simpler kernel interfaces.
● We have development boards, schematics and examples.
![Page 17: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/17.jpg)
Why would you want to build your own IoT device ?
● Because it is FUN
![Page 18: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/18.jpg)
Why would you want to build your own IoT device ?
● Because it is FUN● You can tailor it for your need
![Page 19: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/19.jpg)
Why would you want to build your own IoT device ?
● Because it is FUN● You can tailor it for your need● You can change it as you want
![Page 20: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/20.jpg)
Why would you want to build your own IoT device ?
● Because it is FUN● You can tailor it for your need● You can change it as you want● Because you will have full control
![Page 21: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/21.jpg)
IoT now
● The hard decisions:– Micro controller
– Full PC
![Page 22: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/22.jpg)
IoT now
● The hard decisions:– Micro controller
● Arduino based– Arduino UNO 46lv– Olimexino 44lv (the most expensive one)– TinyDuino 20$
● ESP8266 11lv
– Full PC
![Page 23: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/23.jpg)
Arduino UNO
![Page 24: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/24.jpg)
Olimexino
![Page 25: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/25.jpg)
TinyDuino
![Page 26: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/26.jpg)
TinyDuino SIZE
![Page 27: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/27.jpg)
ESP8266
Kudos to Olimex for making these!Kudos to Olimex for making these!
![Page 28: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/28.jpg)
IoT now
● The hard decisions:– Micro controller
● Arduino based– Arduino UNO 46lv– Olimexino 44lv (the most expensive one)– TinyDuino 20$
● ESP8266 11lv
– Full PC● Raspberry Pi 84lv● OlinuXino 90lv (the most expensive one)● VoCore 20$● Spark I/O 39$
![Page 29: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/29.jpg)
Raspberry Pi 2 B+
![Page 30: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/30.jpg)
OlimeXino A20 LIME
![Page 31: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/31.jpg)
VoCore
![Page 32: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/32.jpg)
Spark I/O
![Page 33: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/33.jpg)
IoT pereipherials
● Sensors● Communication
– WiFi– Bluetooth– Xbee– RF 315MHz 433 MHz– RFID & NFC
● 3D Printing for case prototypes
![Page 34: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/34.jpg)
But how to organize everything
● Olimex proposal● Spark I/O proposal● My proposal
![Page 35: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/35.jpg)
Olimex proposal● Every IoT device should be directly connected to
the internet● Pluses:
– easy installation
– easy access
– every IoT device can be made to do everything
– easier to create cloud offerings around this type of devices
● Minuses:– Security
– Too much resources wasted
– Either cables or good WiFi required
![Page 36: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/36.jpg)
Spark I/O proposal● Every IoT device should be directly connected to
the internet● Eevery device should be programmed from the
cloud● All data should be stored in the cloud● Pluses:
– easy installation
– easy access
– easy programming
– every IoT device can be made to do everything
– easier to create cloud offerings around this type of devices
![Page 37: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/37.jpg)
Spark I/O proposal● Minuses:
– Requires working WiFi
– No possibility for offline programming
– All your data is located outside your home
– Does not work as expected without Internet
– Security
– Too much resources wasted
![Page 38: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/38.jpg)
My proposal
Hybrid, have one OLinuXino act as a server
Connect all other IoT devices to it via API
● Pluses:– Very secure
– You have greater flexibilty
– You can combine any type of connectivity
● Minuses:– More complex setup
– One more device to keep at home
![Page 39: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/39.jpg)
My latest work :)
● Convert this...
![Page 40: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/40.jpg)
My latest work :)
● Convert this...● Into that...
![Page 41: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/41.jpg)
My latest work :)
● Convert this...● Into that...
● Why?
● Simply because I'm too lazy...
![Page 42: Io t](https://reader035.vdocuments.us/reader035/viewer/2022062419/55a58ae71a28abcc138b4706/html5/thumbnails/42.jpg)
Thank you...Thank you...
E-Mail: <[email protected]>IRC: hackman at irc.freenode.net #softuni
ICQ: 7556201Jabber: [email protected]