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

yup and did the tweak to change lines 23 and 55 i think they were to 1115 instead of 1015 and the voltage range from 4.09 to 32767 i think it was
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 7:06 pm

do the wires need to be directly on the battery itself or should it be fine wiring it to the powerboost battery inputs?
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:24 pm

cainkirisgai wrote:
Thu Feb 08, 2018 7:06 pm
do the wires need to be directly on the battery itself or should it be fine wiring it to the powerboost battery inputs?
I've also only used the 1015 so I'm not sure on the adjustments for the 1115.

I've never used the powerboost before. I would wire the battery direct to the powerboost battery input, and then solder a second wire there that will go to a0. (Or switch then a0)
Last edited by rodocop on Thu Feb 08, 2018 7:41 pm, edited 1 time in total.

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 7:36 pm

A0 is already going to the switch and the battery + is going to the switch as well from the input of the powerboost already
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 7:40 pm

is it possible that the commands might have to be run with sudo permission?
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:44 pm

I doubt that's the issue. I would double check the solder job. Its hard to tell from the pictures. But it looks a little messy. Do you have any more clear pics? Do you have a multimeter? What voltage is being read at a0?

Also. If you are worried about the install of the script. Download the minty pi image and see if it works since it has the battery monitor pre installed.

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 7:46 pm

i do not have a multimeter and i am checking a few of the solder joints as we type the ground did come off rather easy i could take some more pics if you think it will help isolate the problem
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:51 pm

if you have some more clear photos of the powerboost to ads wiring that may help, and yeah if your ground fell off you other wires may not be great, that would cause issues for sure.

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:08 pm

Here are the pics hopefully these are better. I'm going to try and redo the solder job, as I know it wasn't the best but if the rpi is getting power along with everything else they should be making sufficant contact then. I did have an issue a few months back with the sound bonnet causing me to have to do a fresh install of retropie and start everything from scratch to get it to work.
Attachments
15181455006171426660847.jpg
Hopefully you can see how the switch is wired
15181455006171426660847.jpg (2.91 MiB) Viewed 6255 times
1518145459344532350903.jpg
The ads1115
1518145459344532350903.jpg (2.79 MiB) Viewed 6255 times
15181454136801926173686.jpg
This is the powerboost
15181454136801926173686.jpg (3 MiB) Viewed 6255 times
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 8:17 pm

yeah the wiring looks like it is correct, you're certain you have the SDA and SCL wired to the proper GPIO pins on the pi?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest