+ All Categories
Home > Internet > Firefox OS & IoT - Experimental javascript meetup, Budapest, 26 February 2015

Firefox OS & IoT - Experimental javascript meetup, Budapest, 26 February 2015

Date post: 15-Jul-2015
Category:
Upload: jan-jongboom
View: 293 times
Download: 1 times
Share this document with a friend
Popular Tags:
51
Internet of Things Budapest, February 2015 …and Firefox OS
Transcript

Internet of Things

Budapest, February 2015

…and Firefox OS

@janjongboom

Telenor R&D

Mozilla things

(we're hiring)

I hate JavaScript!

VBScript <3 <3 <3

Why Firefox OS?

Why Firefox OS?Why not?

Why Firefox OS?Why not?

Rich ecosystem

Why Firefox OS?Why not?

Rich ecosystem

Low level APIs

PrerequisitesRaspberry Pi B+ (v1)

Breadboard Some LEDs

Jan's awesome Firefox OS Build

1 navigator.gpio.setPinMode(2, 'output') 2 .then(pin => { 3 pin.writeDigital(true); 4 5 setTimeout(() => pin.writeDigital(false), 500); 6 });

1 navigator.gpio.setPinMode(26, 'input') 2 .then(pin26 => { 3 4 setInterval(() => { 5 pin26.readDigital().then(v => { 6 // do something 7 }); 8 }, 50); 9 10 });

DownsideConnectivity? Camera? Accelerometer?

€ 80

€ 25

JanOSFork of Firefox OS

Same OS as Rpi Runs without display

1 # enable 2 echo 1 > /sys/devices/platform/gonzo-sysfs/red_led 3 4 # disable 5 echo 0 > /sys/devices/platform/gonzo-sysfs/red_led 6 7 # get status 8 cat /sys/devices/platform/gonzo-sysfs/red_led

This SaturdayWorkshop All the devices All the sensors

This SaturdayWorkshop All the devices All the sensors

Thank you!http://janos.io


Recommended