IoT & Firefox OS

Preview:

Citation preview

Internet Of Things

with firefox os

Source : http://postscapes.com/

Internet Of Things

"In the next century, planet earth will don an electronic skin.

It will use the Internet as a scaffold to support and transmit its sensations."

- Neil Gross 1999

Arduino

Raspberry Pi

Firefox OS

Firefox OS

Based on Web Technologies

Firefox OS Phone

APIs

userproximity

var uphandler = (e) => console.log(e.near)

window.addEventListener('userproximity',uphandler)

window.removeEventListener('userproximity',uphandler)

devicelight

var dlhandler = (e) => console.log(e.value)

window.addEventListener('devicelight',dlhandler)

window.removeEventListener('devicelight',dlhandler)

devicemotion

var achandler = (e) => console.log(e.accelerationIncludingGravity.x)

window.addEventListener('devicemotion',achandler)

window.removeEventListener('devicemotion',achandler)

Bluetooth doorbell

Security camera

Other projects

wotjs:

<web-arduino id="light" device-name="DEVICE">

<pin index="7" mode="OUTPUT" value="HIGH"></pin>

</web-arduino>

Other projects

Foxberry Pi:

Other projects

FlyWeb:

Thanks :)

Few demos: Arduino :

SensorBot using Arduino

SensorBot using Arduino

SensorBot using Arduino