Checking Battery Voltage Seen by RPi? Using HoolyHoo Script

Having trouble with your GBZ build? Ask your questions here!
Post Reply
3kidsinaustin
Posts: 27
Joined: Sat Dec 29, 2018 8:21 pm
Been thanked: 7 times

Checking Battery Voltage Seen by RPi? Using HoolyHoo Script

Post by 3kidsinaustin » Thu Apr 18, 2019 10:28 am

After finishing my build a couple months ago, I noticed that my battery monitor icon never seems to change from full, even when I let the battery totally run down. On the test bench, everything worked great, but I was grounding out the test pin on the Arduino. When I did that, the screen went right to the warning and began the shutdown.

I backtracked through all the connections and everything is soldered correctly.

Is there a way to SSH into the Pi and monitor what voltage is being sent to it?

Hope this question makes sense!

Components I am using are:
Arduino Pro Micro (monitoring battery voltage and interface with GPIO pins)
Generic power supply module
Targus hub
Custom shutdown switch

Here is a link to my build: viewtopic.php?f=43&t=7444
First Build Done! viewtopic.php?f=43&t=7444

User avatar
HoolyHoo
Posts: 766
Joined: Sat Jul 09, 2016 9:34 pm
Has thanked: 206 times
Been thanked: 741 times

Re: Checking Battery Voltage Seen by RPi? Using HoolyHoo Script

Post by HoolyHoo » Thu Apr 18, 2019 11:12 am

Change debug to 1 in the script and it should display the read voltage in a terminal window.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest