Read Voltage Output

Does the GoPiGo have the ability to read the voltage from the battery? Would be nice to be able to see when the voltage drops to a certain level, you could kick off a script to shut it down before it dies.

Thanks for the great work you have done so far!!!

Hi,
The GoPiGo indeed has an ability to check the voltage levels. You can use a command on the terminal “gpg” if you are using the Dexter Industries image. Also there’s a function in the GoPiGo python library called volt() which would give you the voltage back. You can try that out in the basic_test_all.py example program.

-Karan