dinsdag 31 oktober 2017

Learning (micro)python by creating a class to read an max17043 lipo fuelgauge

I'm learning python (again) to use it on my Pycom micropython WIPY2 and LOPY modules. It is a fun language to learn.

The pycom micropython modules (https://www.pycom.io) are little IOT modules with lots of IO-pins,  LiPo battery connecter/charger, wifi, bluetooth (and lora on selected models). They are comparable with the Arduino Mkr1000 family, except you program them with (micro)python. They are great for battery operated little things.

To get back up to speed with python, I've created this little library to read out a maxim max17043 lipo fuelgauge, so you can see how much energy there is left in the LiPo battery. This is chip is used on this little board from Sparkfun ( https://www.sparkfun.com/products/10617 ).

The library is based upon this library from Luca Dentella ( https://github.com/lucadentella/ArduinoLib_MAX17043 )

My library: https://github.com/andrethemac/max17043.py

Geen opmerkingen:

Een reactie posten