ECMA-419: The ECMAScript Embedded Systems API and J5e
summary
ECMA-419 defines a concrete, callbacks-first API for GPIO, PWM, ADC, serial and other hardware primitives and a provider model so the same code runs on local pins or a remote device. J5e implements Johnny-Five–style peripheral classes (LED, servo, switch, sensor, GPS, I2C expander) and bundles code for deployment to ESP8266/ESP32 microcontrollers so programs run standalone with no host server. Engines like XS and Moddable provide the JS runtime; there are ~3,800 embedded devs versus ~240,000 web devs, and demos boot and run when power is applied.
AI-written summary · about
chapters (18)
- 0:00Start
- 3:36Separate the Transport Layer
- 4:08Why does my robot stop when my laptop goes to sleep?
- 4:19Run it Onboard
- 5:27Cloud Solutions
- 6:48Requirements
- 8:45Why Is a Standard API Important?
- 9:21About TC53
- 10:30The Event Loop
- 11:14Event Emitters/Listeners
- 11:40Chainable Actions
- 12:45Asynchronous options
- 12:59JavaScript is Eating the World
- 13:57Community
- 14:56About ECMA-419
- 16:48ECMA-419 Parts
- 19:36The ECMA-419 Way
- 22:04The J5e Way
related talks
36mHoney, I Shrunk the Scripts! — the secret life of JS on microcontrollers
32mJS in Strange Places
54mRunning JS engine on a microcontroller (UK)
45mJavaScript all the things
33mJavaScript for Hardware
41mJavaScript Meets Zephyr
34mJavaScript on tiny, wearable hardware
41mJerryScript: An Ultra-lightweight JavaScript Engine for the Internet of Things
