IoT: Docker and Raspberry Pi for CamJam
-
Upload
alex-ellis -
Category
Technology
-
view
383 -
download
3
Transcript of IoT: Docker and Raspberry Pi for CamJam
Economist’s perspective
Realsustainablegrowthdoesnotstemfromnewresources,butfromexistingonesrearrangedtomakethemmorevaluable.-PaulRomer,Economist@NYUniversity
Introduction IoT all the things Achievement unlocked Building the hack
Agenda
Live Demo Real-time alerts Supported by Pimoroni
Feedback Q&A Github repo
IdeasforCamJam
Learncoding
Shareprojectswithfriends
Buildatutorial
Runthroughatutorial
Savetimeforworkshops
Buildasuper-computer!
Putting the Micro in Microservices
Pi Zero 5 USD micro-computer • 1GHz processor • 512MB RAM
Building the hack
Pi 2/3 4-5x cost • 4x 1.2GHz processor • 1GB RAM
Sensor
LedDashboard WebDashboardSensorSensorSensorSensor
SwarmNetworkOverlay
Manager
$ docker-compose scale sensor=4
KVPs and pub/sub enviro-pHAT Sensor
e6ca8139.temp
e6ca8139.temp.baseline
e6ca8139.live
e6ca8139.motion
sensors.data
SETec6ca.temp“20.5”EX2
Demo
$ docker info $ docker-compose up -d Creating services... $ docker-compose \ scale sensor=4 Creating sensor_2.. Creating sensor_3.. Creating sensor_4..
“We only expected to sell a few thousand Raspberry Pis”
— Eben Upton, CEO
Raspberry Pi Trading
10MunitssoldbySept‘16