Mar 6, 2022

IoT devices and embedded systems with uLisp

Meet us at the European Lisp Symposium 2022 in Porto, Portugal, March 21st – March 22nd 2022, where we will give a demo »IoT devices and embedded systems with uLisp«.

You've probably seen uLisp mentioned in the list of languages on the web page of the European Lisp Symposium. But did you actually look at it and use it? With this demonstration, Max-Gerd Retzlaff invites you to do so! uLisp is a version of Lisp designed and authored by David Johnson-Davies as a subset of Common Lisp to run on microcontrollers. Max extended uLisp a bit and has been using it since January 2021 for both fun as well as commercial projects: He has made a hand-held Lisp machine for his nephew, implemented a small client for the Dydra graph database to store sensor readings directly in the database for later analysis and visualization, and even installed a little Lisp computer in his Vespa motor scooter to serve as a more accurate GPS-based speedometer and clock.

More recently, he used uLisp to design and implement a sensor device for an automated IoT device consisting of ten environmental sensors and four controllable power sockets to activate environmental control measures. It is provisioned via Bluetooth (BLE) and communicates with a REST backend over Wi-Fi via HTTPs and schema-based JSON to report sensor readings and to retrieve commands from a controlling smartphone application (developed by a different party) to control the actors or to calibrate the more complicated sensors.

This demonstrates that uLisp is not only fun but mature enough to be used for serious projects and commercial prototypes.