Changes

Jump to navigation Jump to search

X728

940 bytes added, 11:23, 16 September 2020
==FAQ==
QQ1: Why X728 automatically shuts down?
A:
QQ2: We want automatic shutdown when the external AC power supply is disconnected, is possible? A: Yes. you can program a script to get this function. Example (The following is a pseudo code):<pre> while (1) { // invoke the API to get AC PSU status: connected or disconnected int disconnected_flag = getACPSUStatus(); // please refer to the user manual to achieve getACPSUStatus function; int battery_voltage = getBatteryVoltage(); // please refer to the user manual to achieve getBatteryVoltagefunction; // You can make your own actions based on disconnected_flag and battery_voltage, you can only select one condition also if (disconnected_flag) { // execute linux or software shutdown command }   sleep(10);} </pre>  Q3: How to restart the pi board when AC Power supply is connected? A: Please enable 'AUTO POWER ON' or 'AUTO ON' function if you want restart when the AC Power supply is reapplied.  Q4: About auto shutdown, found your board auto shutdown.
A: Please check if enable the ASD function (shorted the ASD header), if you enable the ASD function, please make sure your operation is right: first, place the battery into the battery holder, insert the jumper to ASD header <span style="color:red;">after 3 seconds</span>,this is very important!!

Navigation menu