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.
User avatar
rodocop
Posts: 1723
Joined: Mon Aug 22, 2016 3:14 pm
Location: Saskatchewan
Has thanked: 606 times
Been thanked: 608 times

Re: On-Screen Battery Monitor Options

Post by rodocop » Mon Feb 05, 2018 8:43 am

TheHappiestBug wrote:
Mon Feb 05, 2018 8:32 am
You didn't change any values, just wired it up?

The ADS 1015 is exactly what is seen in the minty pi (and on the stand alone minty pi battery monitor board), and it is what hoolyhoo's script is based on. No need to change anything. You would have to alter some values if you used the ADS 1115 though, since it is 16bit vs 12bit.

User avatar
Lphillimore
Posts: 993
Joined: Sat Jan 07, 2017 7:03 pm
Location: Perth, WA
Has thanked: 796 times
Been thanked: 527 times

Re: On-Screen Battery Monitor Options

Post by Lphillimore » Mon Feb 05, 2018 8:46 am

For the 1015 it works right off the bat. The 1115 is a different matter as above and needs a code tweak.

User avatar
TheHappiestBug
Posts: 75
Joined: Mon Jan 09, 2017 8:07 am
Has thanked: 22 times
Been thanked: 14 times

Re: On-Screen Battery Monitor Options

Post by TheHappiestBug » Mon Feb 05, 2018 11:10 am

Thanks!

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 6:05 pm

ok so finally got my boards in and connected but after connecting to SDA and SCL I am now getting under volted symbol and I can clearly hear and see a difference then them not being connected :-/ kinda stumped here, but i do have a question if I have the DPDT switch installed to A0 do i still need the resistor? and if not could that be whats causing the under voltage?
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: 1723
Joined: Mon Aug 22, 2016 3:14 pm
Location: Saskatchewan
Has thanked: 606 times
Been thanked: 608 times

Re: On-Screen Battery Monitor Options

Post by rodocop » Thu Feb 08, 2018 6:10 pm

cainkirisgai wrote:
Thu Feb 08, 2018 6:05 pm
ok so finally got my boards in and connected but after connecting to SDA and SCL I am now getting under volted symbol and I can clearly hear and see a difference then them not being connected :-/ kinda stumped here, but i do have a question if I have the DPDT switch installed to A0 do i still need the resistor? and if not could that be whats causing the under voltage?
You mean the pi is giving the lightning bolt in the corner?

Where is the ads1015 getting power, I'd wire 5v from the powerboost or power strip. And then wire the battery to a0. Can't hurt to add a resistor too.

How are you powering everything else in the build? From the pi, or your powerboost?

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 6:18 pm

well right now i believe its from the powerboost. Trying to wire it the way that VeteranGamer posted on page 7. I did have a resister on A0 already, i will try to take a pic of it to show how i have it wired perhaps i have it wrong. As of right now i did disconnect a few of them so it might not look all that right
Attachments
20180208_202037.jpg
20180208_202037.jpg (2.76 MiB) Viewed 6314 times
20180208_202030.jpg
20180208_202030.jpg (3.33 MiB) Viewed 6314 times
20180208_202017.jpg
20180208_202017.jpg (3.47 MiB) Viewed 6314 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 » Thu Feb 08, 2018 6:46 pm

Well I took the resistor off and all is well right now no low voltage warning at all
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: 1723
Joined: Mon Aug 22, 2016 3:14 pm
Location: Saskatchewan
Has thanked: 606 times
Been thanked: 608 times

Re: On-Screen Battery Monitor Options

Post by rodocop » Thu Feb 08, 2018 6:47 pm

Hmm. We'll at least it's working. What resistor did you use anyway?

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 6:55 pm

it was a 10k but still not seeing the OSBD :-/
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: 1723
Joined: Mon Aug 22, 2016 3:14 pm
Location: Saskatchewan
Has thanked: 606 times
Been thanked: 608 times

Re: On-Screen Battery Monitor Options

Post by rodocop » Thu Feb 08, 2018 7:01 pm


Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest