Changes

Jump to navigation Jump to search

X708

899 bytes added, 11:02, 21 July 2023
# HAT size. Separate the battery from the expansion board, which can save a lot of space, which will bring more flexibility.
# Reserved two kind battery port (XH2.54 and PH2.0), supports 3.7V 18650 lithium battery and 3.7V lithium polymer battery, No capacity limit, only request '''3.7V''' lithium battery (No include lithium battery)
 
==Working principle==
 
The GPIO13 is used to control the power button, It goes high for 3 seconds that means the power switch is pressed and held for 3 seconds. then the X708 will issue a pulse to inform the system to implement safeshutdown via GPIO5, and will monitor the GPIO12, once shutdown process is implemented, GPIO 12 will go to low and will be recognized by the X708, then the X708 will wait for 7-8seconds then fully cut off power.
 
Firstly you have to get the script for power management well installed and run at boot. You can use the onboard power switch to verify , press and hold for 3 seconds, the blue LED will flash slowly and the shutdown is going then all LEDs will be off. once this works, then you can use the GPIO13 control.
 
The hardware and its firmware are verified. if you have a DMM, you can use it mesuare the GPIO voltage which will be helpful to understand above.
 
==Features==

Navigation menu