A presentation at YGLF Lithuania in May 2019 in Vilnius, Lithuania by Niels Leenheer
JavaScript on Microcontrollers
I am Niels Leenheer
I tweet at @html5test
I suck at drawing
I the web
I electronics
Why should I care about this?
electronics + web = IoT
IoT can be very useful.
IoT can be very interesting.
IoT can be very fun.
but
Microcontrollers are slow.
sloooooooooooooo
Raspberry Pi Zero W 1 GHz CPU and 512MB RAM
micro:bit 16 MHz CPU and 16KB RAM
micro:bit 16 MHz CPU and 16KiB RAM
60 x faster
30.000 x memory
“ JavaScript on microcontrollers? Are you crazy? Me – two years ago
JavaScript is easy.
Microcontrollers are very power efficient.
Microcontrollers only need to be fast enough to solve the probem.
Microcontrollers do not have an operating system.
Microcontrollers do not need 45 seconds to boot.
how
Espruino
Espruino is a JavaScript interpreter for microcontrollers.
Espressif ESP8266 & ESP32
NodeMCU
Nordic Semiconductor nRF52
Puck.js
Pixl.js
micro:bit
Thingy:52
demo
Experimental technology
#1 Connected lightbulb
#2 Pixelart display
#3 Remote controlled car