Quest for a low powered home hub 120522

16
IOTLondon 22 nd May '12 Quest for a low-power home hub @paul_tanner

Transcript of Quest for a low powered home hub 120522

Page 1: Quest for a low powered home hub 120522

IOTLondon 22nd May '12

Quest for alow-power home hub

@paul_tanner

Page 2: Quest for a low powered home hub 120522

Scenario

● Many devices● Many services● Many protocols● Standards? DHYB● Crazy mess of

visualisations● Exploding routers!● It can only get worse

Page 3: Quest for a low powered home hub 120522

Hub

● Handle diverse sensors/ actuators

● Interact with various cloud services

● Single connection to home router

● Modularity/ Openness

HUB

sensors/ actuators

devices

sensors/ actuators

cloud services

Page 4: Quest for a low powered home hub 120522

Requirements

● Modular protocols● Downloadable config.● Buffer storage● Rule support● Open source● Durably packaged● Affordable● Low power

Page 5: Quest for a low powered home hub 120522

Local Devices

● 433 Mhz (prop)● 868 Mhz (prop)● Zigbee (profiles)● One-wire● 6LowPAN● RS232 Serial● UDP on LAN

Page 6: Quest for a low powered home hub 120522

Cloud Services● Cosm/ pachube

● Incl. SSL

● Thingiverse● Nimbits● AMEE● Wunderground● Proprietary APIs

● AlertMe● etc ...

Page 7: Quest for a low powered home hub 120522

Available Tech

● Nanode (Atmel)

● OpenKontrol

● SK Pang (MBED)

● BeagleBone (ARM)

● Raspberry Pi

● FriendlyARM

● Digi ConnectPort

● NSLU2 (Slug)

● Hacked routers etc.

c

Page 8: Quest for a low powered home hub 120522

SWOT – SKP Gateway

● MBED● Performance● Memory● Libraries

● Slot for 2nd RFM12● Robust packaging● Only one slot for

Xbee/ XRF

Page 9: Quest for a low powered home hub 120522

SWOT - OpenKontrol

● Two radio slots in addition to RFM12

● Lower cost processor● Restricted memory● Daughterboard

(Ethernet port)● Promise of lower

power● Indicators

Page 10: Quest for a low powered home hub 120522

Others

● Nanode

● used by OEM● BeagleBone (ARM)

✔ linux stack + node.js✔ “capes”

● FriendlyARM

● Pi (unobtainable any time soon)

✔ linux stack✗ hardware ecosystem

Page 11: Quest for a low powered home hub 120522

Example App

● Monitors emit UDP multicast

● Temperature from XRF-based sensors

● Additional data from AMEE and wundergr.

● Energy and temperature to pachube

● Feedback in graphs, twitter alerts etc.

Page 12: Quest for a low powered home hub 120522

Tests So Far

● Building kits with minimal doc?

● Some things feasible with each platform

● e.g. TCP sockets● Current library issues

● No UDP multicast for Arduino

● linux with node.js version discrepancies www.nodejs.org

Page 13: Quest for a low powered home hub 120522

Issues

● Concurrency● O/S or not?

● Support in libraries● e.g. multicast

● Memory requirements● Packaging● IDE, languages

● nodejs/ python vs. c++ www.asmithillustration.com

Page 14: Quest for a low powered home hub 120522

Conclusions

● Today: jury is still out● Initially O/S and

libraries will decide● Packaging is soluble● Memory could

therefore be a killer● Finally, power use

Page 15: Quest for a low powered home hub 120522

Questions?

www.slideshare.net/paul_tanner

@paul_tannerwww.e-ssociation.com/blog

Page 16: Quest for a low powered home hub 120522

Comparative Factors

Platform O/S On (W) S/Save (W)

Sleep multicast enclosure

OK Gateway

* 0.7 Y

MBED * 1.7 Y

Beaglebone linux 2.5 Y

NSLU2 linux

iMac OS/X 75 50 2 Y

PC Win7 100 52 1 Y

* could use qp, FreeRTOS, Contiki etc.