Comments (4)
Thanks for the kind words, glad you like it!
I don't see why not. I glimpsed at the data sheet and it seems to be a nice specialised battery monitoring chip that also works over i2c, even if bit more pricey. I wasn't aware one existed.
It's not a drop-in replacement though and unfortunately I do not plan on purchasing it to add support at this time. The ads1015 I used is already glued onto the insides of my gbz :P I'm afraid you're on your own.
It looks good though, since it's able to directly report the battery level you could get rid of all the manual calculations and approximations that I didn't put enough work into :p
That said idk how the python support is for it and that's something you'll also need to research.
Good luck! Feel free to do a pull request if you work it out :) Might put it in a separate git branch.
from gbz_overlay.
I see d-rez has already closed this issue. I certainly do not want to stand on anyone's toes and this probably breaks some GitHub etiquette. However in the interest of sharing information, and solving your problem:
My fork of this project includes an ADC plugin system, modulerising the ADC functions away from the main code, allowing new ADC or battery management modules to be added easily without impacting the main code.
https://github.com/bverc/retropie-status-overlay/tree/master/adc
Just thought I would share in case this is of interest. If you post an issue there, I am happy to take a look.
from gbz_overlay.
Thank you both for your replies!
I will have a look at your fork and what i can do!
from gbz_overlay.
@bverc eh, I don't mind really, I have not really maintained this as I could have as this was a one-off for me. Currently my gbz is completely disassembled as I have to re-print some 3d parts, fix the button board not reacting to presses sometimes and re-image the sd card sometime. Which could be a year from now lol.
So it's good that someone like you built it out independently. That's why I used github :)
I guess both could've been merged with some pull requests but this was surely an easier way for you to develop and keep building more on top of this yourself.
Sounds like your battery monitoring solution is better and would let OP add this easier indeed.
Thanks for chiming in :)
from gbz_overlay.
Related Issues (7)
- Differentiate WiFi disabled state vs disconnected HOT 1
- Remove the symbolic link requirement HOT 1
- Seems like steps for installing rapidmx and pngview are not working anymore HOT 3
- Current release of Material Design Icons won't work with the scripts HOT 1
- OSError 121 HOT 2
- Charging not recognized HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gbz_overlay.