Currently I'm working on a sort of bicyle computer using a Pixl.js
It is for a velomobile (DF-XL) and should not only display speed, cadence and mileage, but also watch my battery status.
The velomobile does not have a dynamo and uses a LiPo battery to drive light, indicators, horn and charge equipment via USB. On longer trips it is important to have enough battery capacity (and spares) - especially when riding in the dark.
So I successfully interfaced an INA226 and show voltage, current and roughly calculate the charge percentage.
© Espruino, powered by microcosm.
Report a problem