ClojureScript on Microcontrollers
summary
Shows running ClojureScript on an ESP32 using Espruino on ESP32 with a REPL over serial and Wi‑Fi, picking the WROVER module with WROVER 8MB RAM so cljs core (~30k js vars) fits; raises Espruino js var cap to ~55,000 and relocates flash partitions so cljs core loads (takes ~15s). Delivers custom PCBs with battery charging, LEDs and a solenoid lock demo, integrates UWB ranging, and publishes tools in the esprit repo on GitHub.
AI-written summary · about
chapters (19)
- 0:00Introduction to talk
- 1:52Motivation for project
- 5:23ESP32 hardware overview
- 9:34From prototype to product
- 10:16Esperino and ClojureScript
- 13:05ClojureScript REPL challenges
- 14:50ESP32-WROVER variant
- 17:15Changes needed for ClojureScript
- 20:07Esprit project overview
- 21:31Esperino limitations
- 23:58Optimizing code size
- 24:19Custom board design
- 27:49Hardware assembly process
- 29:13Flashing and REPL demo
- 31:53LED control demo
- 33:41Physical lock control demo
- 35:29Ultra-wideband demo
- 37:36Open source availability
- 37:58Future possibilities
related talks
27mHow I've been using JavaScript to automate my house
41mJavaScript Meets Zephyr
55mClojure and ClojureScript Update
41mClojureScript for Skeptics
38mProduction Ready ClojureScript: Tales from the Frontier
54mGive your ESP32s the Gift of Serviceability
13mRun, Build and Grow Small Systems Without Leaving Your Text Editor
13mLightweight IOT abstractions for Embedded WebAssembly
