Prison Break - When the web escapes the browser
summary
Three concrete paths for running JavaScript on hardware with working examples and limits: use cloud APIs or MQTT to control an esp8266 LED lamp via Twilio Sync (works, pulses on Twitch online), tethered Node via Johnny-Five to emulate a belly button with an optocoupler so a toy porg screams on build failures (built and reliable), and untethered JS on boards like Tessel to run a RESTful coffee API that triggers relays to brew (prototype succeeds after wiring and protocol workarounds).
AI-written summary · about
chapters (8)
- 0:00Start
- 0:31How many of you have a Microcontroller?
- 0:49Hardware Hacking Web Developers
- 4:10Three ways to combine JavaScript & Hardware
- 19:35Example #porgjs Building your own custom peripheral
- 29:41Pros Hardware independent code with 35
- 36:03Goals Control an existing device programatically
- 48:01Pros Untethered systems running JavaScript Familar programming language Use familiar tools Bring your own Editor/IDE potentially use the npm ecosystem
related talks
32mJS in Strange Places
30mWhen Porgs Scream at Webpack and Other Stories
33mJavaScript for Hardware
26mAlice in Hardware Land - JavaScript models of interaction with the physical world
16mEscaping the Sandbox with Puck.js
37mJavaScript On Microcontrollers
27mHow I've been using JavaScript to automate my house
26mJavaScript for Microcontrollers with Espruino (ASL)
