what "read_battery_voltage()" do ?
-
Is someone can explain what's the " read_battery_voltage() " in the Pytrack/Pysense lib do ?
What's the result is ?
Jiemde
-
@Jiemde
It's working here>>> py = Pysense() >>> print (py.read_battery_voltage()) 4.11466
Make sure you have everything up to date: the Pycom board, the pycom-libraries and Pysense/Pytrack firmware
-
I had this trouble with previous version of pytrack_0.0.X.dfu. Do you use 0.0.4 ?
-
Hi @Emmanuel-Goudot,
Thanks for your reply but I just read 0.802 with or without usb power supply with or without a Lipo battery pluged ?
Is it why I ask this question!
I just do: bat=py.read_battery_voltage() and bat return 0.802 and never change!
Best regards
Jiemde
-
@Jiemde When a LiPo battery is connected to pytrack/pysense, it will give the Lipo (battery) voltage ;-)