On-Screen Battery Monitor Options

General GBZ-related chat goes here. Share ideas, tips and tricks, or ask questions that don't fit into the hardware/software help forums.
cainkirisgai
Posts: 34
Joined: Tue Jan 16, 2018 4:26 pm
Has thanked: 9 times
Been thanked: 6 times

Re: On-Screen Battery Monitor Options

Post by cainkirisgai » Thu Feb 08, 2018 8:20 pm

they should be thats how the audio bonnet is pinned out its the ADAfruit speaker bonnet
Here is my little RP3 build still working on a name
https://sudomod.com/forum/viewtopic.php?f=13&t=5042

User avatar
rodocop
Posts: 1582
Joined: Mon Aug 22, 2016 3:14 pm
Location: Saskatchewan
Has thanked: 573 times
Been thanked: 561 times

Re: On-Screen Battery Monitor Options

Post by rodocop » Thu Feb 08, 2018 8:41 pm

Either way I'm out of ideas why the battery monitor isn't working. Hopefully you get it going!

cainkirisgai
Posts: 34
Joined: Tue Jan 16, 2018 4:26 pm
Has thanked: 9 times
Been thanked: 6 times

Re: On-Screen Battery Monitor Options

Post by cainkirisgai » Thu Feb 08, 2018 8:52 pm

well thanks for your help and thanks for trying, wondering if maybe i got a bad board which would suck but altogether not entirely impossible might just order the 1015 and see.
Here is my little RP3 build still working on a name
https://sudomod.com/forum/viewtopic.php?f=13&t=5042

cainkirisgai
Posts: 34
Joined: Tue Jan 16, 2018 4:26 pm
Has thanked: 9 times
Been thanked: 6 times

Re: On-Screen Battery Monitor Options

Post by cainkirisgai » Fri Feb 09, 2018 9:25 pm

PROGRESS!!!! installed a fresh image of minty pi and downloaded the minty pi battery monitor and changed the values and now it shows on screen, but that is also troublesome cause i really dont wanna have to redo a 200gb sd card worth of stuff lol. Plus I also dont know if it is actually reading off of the battery as i have it pluged in from wall power to pi and not battery power to pi right now. Going to try and run it the same way off of my other image and see if i get the icon on screen now, i might need to to adjust the position though as it is not in the corner anymore due to the size of the screen
Attachments
15182368816311327513885.jpg
15182368816311327513885.jpg (2.41 MiB) Viewed 2708 times
Here is my little RP3 build still working on a name
https://sudomod.com/forum/viewtopic.php?f=13&t=5042

cainkirisgai
Posts: 34
Joined: Tue Jan 16, 2018 4:26 pm
Has thanked: 9 times
Been thanked: 6 times

Re: On-Screen Battery Monitor Options

Post by cainkirisgai » Tue Feb 13, 2018 1:31 pm

So it does seem that there is some type of conflict between the adafruit audio bonnet and the on screen battery display. I might just have to connect the speakers to the onboard headphone Jack and see if that works, if it does it will save a bunch of space (after rewiring everything that is.
Here is my little RP3 build still working on a name
https://sudomod.com/forum/viewtopic.php?f=13&t=5042

cainkirisgai
Posts: 34
Joined: Tue Jan 16, 2018 4:26 pm
Has thanked: 9 times
Been thanked: 6 times

Re: On-Screen Battery Monitor Options

Post by cainkirisgai » Mon Feb 26, 2018 9:36 am

welp bit the bullet and took out the audio bonnet and replaced it with the sabrent usb audio adapter, so now at least i got both sound and the battery monitor running thank you everyone for all the help and sorry for being a pain in the ass to veteran cause i know i asked you alot of questions with things but seriously man thanks for the help. Now I just gotta decide if I wanna leave the volume where its at or get the amplifier and boost the volume.
Here is my little RP3 build still working on a name
https://sudomod.com/forum/viewtopic.php?f=13&t=5042

User avatar
sixteenbit
Posts: 51
Joined: Mon Aug 21, 2017 8:42 pm
Has thanked: 18 times
Been thanked: 13 times
Contact:

Re: On-Screen Battery Monitor Options

Post by sixteenbit » Tue Feb 27, 2018 2:37 pm

Has HHBatteryMonitor.py been updated recently? I'm not seeing what to update for 16bit. Can someone tell me what should be updated?

https://github.com/HoolyHoo/gbzbatterym ... Monitor.py

joeygbsn
Posts: 50
Joined: Sun Nov 06, 2016 11:07 pm
Has thanked: 6 times
Been thanked: 15 times

Re: On-Screen Battery Monitor Options

Post by joeygbsn » Thu Mar 01, 2018 5:59 pm

sixteenbit wrote:
Tue Feb 27, 2018 2:37 pm
Has HHBatteryMonitor.py been updated recently? I'm not seeing what to update for 16bit. Can someone tell me what should be updated?

https://github.com/HoolyHoo/gbzbatterym ... Monitor.py
The script you want is in the minty pi folder on hoolyhoos github

https://github.com/HoolyHoo/Mintybatter ... Monitor.py

cainkirisgai
Posts: 34
Joined: Tue Jan 16, 2018 4:26 pm
Has thanked: 9 times
Been thanked: 6 times

Re: On-Screen Battery Monitor Options

Post by cainkirisgai » Wed Apr 11, 2018 1:35 pm

i know its been a while but i got a question/problem not sure if its the ADS1115 chip or not (since i have been through 3 of them now) but it seems that I2C connection is not being made to the SDA pin/ hole on the ADS1115 chip. when i run the command to see what it finds it is only saying it finds something on 48. After checking ( by undoing both wires to the pins ) the 48 still shows when SDA is pulled off of the pin but nothing is showing when i only pull off SCL. For Reference SDA is set to pin 3 and SCL pin 5 also using RPI 3B. Even got a voltmeter and it shows 5.12 on both wires, so this leads me to believe that at some point with all my testing that I fried my SCL pin. Can anyone else maybe help me confirm this or give any other insight to as what might be the problem? Thanks in advance for any help as usual.
Here is my little RP3 build still working on a name
https://sudomod.com/forum/viewtopic.php?f=13&t=5042

joeygbsn
Posts: 50
Joined: Sun Nov 06, 2016 11:07 pm
Has thanked: 6 times
Been thanked: 15 times

Re: On-Screen Battery Monitor Options

Post by joeygbsn » Wed Apr 18, 2018 8:30 pm

cainkirisgai wrote:
Wed Apr 11, 2018 1:35 pm
i know its been a while but i got a question/problem not sure if its the ADS1115 chip or not (since i have been through 3 of them now) but it seems that I2C connection is not being made to the SDA pin/ hole on the ADS1115 chip. when i run the command to see what it finds it is only saying it finds something on 48. After checking ( by undoing both wires to the pins ) the 48 still shows when SDA is pulled off of the pin but nothing is showing when i only pull off SCL. For Reference SDA is set to pin 3 and SCL pin 5 also using RPI 3B. Even got a voltmeter and it shows 5.12 on both wires, so this leads me to believe that at some point with all my testing that I fried my SCL pin. Can anyone else maybe help me confirm this or give any other insight to as what might be the problem? Thanks in advance for any help as usual.
Did you measure 5.12v on the pi sda and scl? If that is the case then id say you probably did fry something. Earlier in this thread I on page 6 i talked about the pull up situation when using these boards with the pi. If you power the module from 5v then scl and sda have two sets of pull ups on them. One set to 3v3 on the pi and one set to 5v on the module. In that post I simulated this set up and concluded that it was probably alright but maybe that's not the case. Probably best to remove the pull ups on the module. Not sure if this is what went wrong in your case though.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest