Changes

Jump to navigation Jump to search

X708-Software

421 bytes added, 15:50, 27 April 2022
* In generally, you need to let the X708 fully charge and discharge several times before you can get more accurate voltage and power values.
* This script can also perform safe shutdown at specified voltage threshold (default voltage threshold is 3.00vdc), you can also modify this voltage threshold, '''but the voltage threshold range must be 2.5~4.1vdc'''.
 
7. How to power off command on Raspbian from software
x708off
8. Testing AC power off/loss or power adapter failure detection (need to shor the 'PLD' pin)
cd ~ cd x708v2/raspberry-pi-os sudo python x708pldpython3 pld.py 1.Make sure your power adapter is connected 2.Disconnect and then connect the power adapter again to test 3.When power adapter disconnected, you will see: AC Power Loss or Power Adapter Failure 4.When power adapter reconnected, you will see: AC Power OK, Power Adapter OK Testing Started---AC Power Loss OR Power Adapter Failure--- ---AC Power OK,Power Adapter OK--- ---AC Power Loss OR Power Adapter Failure--- ---AC Power OK,Power Adapter OK---

Navigation menu