28

ESP32-Based Board Uses ClojureScript to Explore Building IoT Devices

 3 years ago
source link: https://www.hackster.io/news/esp32-based-board-uses-clojurescript-to-explore-building-iot-devices-9c823bbeb011
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

With the Esprit board from Mike Fikes, now the ESP32 can run a ClojureScript REPL. It uses Espruino, which is an embedded JavaScript engine for platforms like the ESP32. This combination means you can explore programming an IoT device with ClojureScript.

Clojure is a Lisp dialect making it a programming language with a rich set of data structures. ClojureScript is a compiler for Closure that targets JavaScript. Combined with Espruino , it is now possible to run ClojureScript on an ESP32.

Fikes developed the Esprit to allow users to explore this combination of programming language and IoT-enabled hardware. On the board is a LiPo battery charging circuit, LED status indicators, and six of the ESP32's GPIO pins. The ESP32-WROVER module itself has 8 MiB SPIRAM and 16 MiB Flash.

While the Esprit does make it faster to get to using the ClojureScript REPL, Fikes does offer instructions on how to get up and running with any ESP32-WROVER based board.

Over on the Esprit-Board GitHub repository , there is design data (Proteus), Gerbers, and a bill of materials. The Esprit repo has the files for the firmware-side. You can also visit the FikesFarm Tindie store to purchase an Esprit board.

For more information about ClojureScript and how to use it with an ESP32, check out the " ClojureScript on Microcontrollers " talk by Fikes at the Clojure/North 2020 remote conference scheduled for June 25th and 26th, 2020.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK