Circuit Lake

Electronic Project and Circuit Collection

Javascript Interpreter For Microcontroller, Espruino

10/31/2012 Category: Interfacing, Microcontroller, Software

Espruino is a compact JavaScript Interpreter that allows low-power, low-memory Microcontrollers to be programmed interactively with high level language features like Maps, Objects, and Garbage Collection. It executes your code as soon as you hit enter. It’s great for learning or playing – move seamlessly from single commands to complex loops and functions. You can even inspect variables and change code while your software is running.

javascript interpreter for olimexino stm32

How do you use it?
Just plug a Microcontroller with Espruino on into your PC or Mac, and start writing JavaScript immediately in a serial terminal (no software is needed on most OS). You can easily execute functions after a period of time, or when an input changes state. When Espruino is working as you want, type save(), and whenever it powers on it will restore itself to the exact same state.

You can even add a bluetooth module so you can program Espruino wirelessly. If you just need an IO board for your PC, Mac, or Raspberry Pi, Espruino can do that too. Just plug it in and control IO lines directly from your application or script by sending JavaScript commands. Espruino currently is designed for OLIMEXINO-STM32, STM32VLDISCOVERY and STM32F4DISCOVERY boards, but we hope there will be more hardware will be supported.