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 When a LiPo battery is connected to pytrack/pysense, it will give the Lipo (battery) voltage ;-)
-
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 -
I had this trouble with previous version of pytrack_0.0.X.dfu. Do you use 0.0.4 ?
-
@Jiemde
It's working here>>> py = Pysense() >>> print (py.read_battery_voltage()) 4.11466Make sure you have everything up to date: the Pycom board, the pycom-libraries and Pysense/Pytrack firmware
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login