JavaScript on Microcontrollers

A presentation at HalfStack Vienna in September 2019 in Vienna, Austria by Niels Leenheer

Slide 1

Slide 1

JavaScript on Microcontrollers HALFSTACK VIENNA

Slide 2

Slide 2

I am Niels Leenheer HALFSTACK VIENNA

Slide 3

Slide 3

I’m from The Netherlands HALFSTACK VIENNA

Slide 4

Slide 4

HALFSTACK VIENNA

Slide 5

Slide 5

I tweet at @html5test HALFSTACK VIENNA

Slide 6

Slide 6

I the web HALFSTACK VIENNA

Slide 7

Slide 7

I electronics HALFSTACK VIENNA

Slide 8

Slide 8

HALFSTACK VIENNA

Slide 9

Slide 9

Slide 10

Slide 10

Why should I care about this? HALFSTACK VIENNA

Slide 11

Slide 11

electronics + web = HALFSTACK VIENNA IoT

Slide 12

Slide 12

HALFSTACK VIENNA

Slide 13

Slide 13

JavaScript on Microcontrollers HALFSTACK VIENNA

Slide 14

Slide 14

but HALFSTACK VIENNA

Slide 15

Slide 15

sloooo Microcontrollers are slow. HALFSTACK VIENNA

Slide 16

Slide 16

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

Slide 17

Slide 17

micro:bit 16 MHz CPU and 16KB RAM HALFSTACK VIENNA

Slide 18

Slide 18

60 x faster HALFSTACK VIENNA

Slide 19

Slide 19

30.000 x memory HALFSTACK VIENNA

Slide 20

Slide 20

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

Slide 21

Slide 21

Microcontrollers are very power efficient. HALFSTACK VIENNA

Slide 22

Slide 22

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

Slide 23

Slide 23

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

Slide 24

Slide 24

how HALFSTACK VIENNA

Slide 25

Slide 25

Espruino HALFSTACK VIENNA

Slide 26

Slide 26

Espruino is a JavaScript interpreter for microcontrollers. HALFSTACK VIENNA

Slide 27

Slide 27

demo HALFSTACK VIENNA

Slide 28

Slide 28

Experimental technology HALFSTACK VIENNA

Slide 29

Slide 29

HALFSTACK VIENNA

Slide 30

Slide 30

E ! A HALFSTACK VIENNA , !