Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Javascript for Things with Espruino

Javascript for Things with Espruino

Tracy Miranda

June 19, 2014
Tweet

More Decks by Tracy Miranda

Other Decks in Programming

Transcript

  1. Espruino Espruino is an open source Javascript interpreter for microcontrollers.

    The Espruino board showcases Espruino best The Espruino board showcases Espruino best features of interactivity and great battery life. It’s really easy to get started!
  2. Getting Started Demo 1. Open/Install Espruino Chrome WebApp 2. Plug-in

    your board 2. Plug-in your board 3. Start typing code!
  3. Espruino Software • Purpose built JavaScript interpreter for µCs •

    Open Source, C • No Operating System • Can run in less than 8kB RAM • Can run in less than 8kB RAM • Program using Terminal app – Multi-line editing, command history in chip – Serial or USB CDC
  4. Power Saving Interpreter knows when it can go to sleep,

    and how deeply. • Naive LED flash on a 700mAh Li-Ion battery: • Naive LED flash on a 700mAh Li-Ion battery: – Raspberry Pi : 1-2 hours – Arduino : 1-2 days – Espruino : ~ 6 months