Escaping the Sandbox with Puck.js
summary
Shows that Puck.js running Espruino executes real JavaScript on-device so web pages control hardware via Web Bluetooth, not just demos. Claims devices run for a year on a watch battery and exposes a serial-like REPL and APIs (NRF, characteristics). Demonstrates a sweet dispenser that dispensed sweets via stepper motor from a webpage, using a tiny on-board JS server and a helper library to handle BLE quirks. Mentions low power, upcoming Bluetooth mesh, and an over‑BLE debugger.
AI-written summary · about
chapters (4)
related talks
26mJavaScript for Microcontrollers with Espruino (ASL)
33mJavaScript for Hardware
32mJS in Strange Places
23mEverything is better with Bluetooth
37mJavaScript On Microcontrollers
55mPrison Break - When the web escapes the browser
30mWhen Porgs Scream at Webpack and Other Stories
46mMonsters, lightbulbs and robots: having fun with WebBluetooth
