From Frank Adams on vimeo:
The Raspberry Pi runs C code that reads the registers in the battery with a bit-bang SMBus using 2 of the GPIO pins. Another program runs on the Raspberry Pi at startup and monitors battery state of charge every minute over the SMBus.
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!
No comments:
Post a Comment