If you plan to use Espruino with a battery, a small LiPo cell and charger like those above are probably the best things to use - see below for where to find them.
The JST connector wiring is as follows:
Espruino itself will run from a wide range of batteries and voltages (3.6v to 15v). Some types of small batteries that can be used are:
Adafruit has a good tutorial on different kinds of Lithium Battery
Espruino Boards (apart from Jolt.js) do not contain a battery charger circuit (although the original Espruino revision 1v4 has a place where a MAX1551 charger IC can be soldered).
While NiCd and NiMh batteries can be safely trickle charged with a resistor, Lithium Ion batteries need to be charged properly or there may be a risk of fire. If using Lithium Ion batteries we'd suggest that you use a dedicated charger board (links below.
While USB Power packs are a cheap and convenient way to power Espruino, there are some things to be aware of:
If you're willing to open up your USB power pack, you may be able to add wires to power Espruino directly from the Lithium Ion cell. This can be especially useful when connecting Espruino to solar powered USB power packs.
This page is auto-generated from GitHub. If you see any mistakes or have suggestions, please let us know.