Espruino JavaScript Interpreter

This topic is dedicated to comments and conversations about the following RuuviLab tutorial:

If you don’t see any comments yet, don’t be afraid to be the first one to contribute!

Hello.
I’m wondering how long the battery lifetime is when using Espruino Interpreter on a RuuviTag and also how much memory does Espruino take?

Answer to both is “it depends”.

I’m not sure about exact flash or RAM requirement of Espruino, but according to https://www.espruino.com/Performance Espruino fits in under 8 kB of RAM while RuuviTag has 64 kB of RAM - whatever is configured for the Softdevice.

It’s possible to code very power efficient programs with Espruino, but there are some gotchas. For example delay keeps CPU active and therefore consumes power.

1 Like