JavaScript on Microcontrollers

A presentation at HalfStack New York in August 2019 in New York, NY, USA by Niels Leenheer

Slide 1

Slide 1

JavaScript on Microcontrollers HALFSTACK NEW YORK

Slide 2

Slide 2

I am Niels Leenheer HALFSTACK NEW YORK

Slide 3

Slide 3

I’m from The Netherlands HALFSTACK NEW YORK

Slide 4

Slide 4

HALFSTACK NEW YORK

Slide 5

Slide 5

I tweet at @html5test HALFSTACK NEW YORK

Slide 6

Slide 6

I the web HALFSTACK NEW YORK

Slide 7

Slide 7

I electronics HALFSTACK NEW YORK

Slide 8

Slide 8

HALFSTACK NEW YORK

Slide 9

Slide 9

Why should I care about this? HALFSTACK NEW YORK

Slide 10

Slide 10

electronics + web = HALFSTACK NEW YORK IoT

Slide 11

Slide 11

JavaScript on Microcontrollers HALFSTACK NEW YORK

Slide 12

Slide 12

but HALFSTACK NEW YORK

Slide 13

Slide 13

sloooo Microcontrollers are slow. HALFSTACK NEW YORK

Slide 14

Slide 14

Raspberry Pi Zero W 1 GHz CPU and 512MB RAM HALFSTACK NEW YORK

Slide 15

Slide 15

micro:bit 16 MHz CPU and 16KB RAM HALFSTACK NEW YORK

Slide 16

Slide 16

60 x faster HALFSTACK NEW YORK

Slide 17

Slide 17

30.000 x memory HALFSTACK NEW YORK

Slide 18

Slide 18

“ JavaScript on microcontrollers? Are you crazy? Me – two years ago HALFSTACK NEW YORK

Slide 19

Slide 19

Microcontrollers are very power efficient. HALFSTACK NEW YORK

Slide 20

Slide 20

Microcontrollers only need to be fast enough to solve the probem. HALFSTACK NEW YORK

Slide 21

Slide 21

Microcontrollers do not have an need 45 operating seconds tosystem. boot. HALFSTACK NEW YORK

Slide 22

Slide 22

how HALFSTACK NEW YORK

Slide 23

Slide 23

Espruino HALFSTACK NEW YORK

Slide 24

Slide 24

Espruino is a JavaScript interpreter for microcontrollers. HALFSTACK NEW YORK

Slide 25

Slide 25

demo HALFSTACK NEW YORK

Slide 26

Slide 26

Experimental technology HALFSTACK NEW YORK

Slide 27

Slide 27

HALFSTACK NEW YORK