Difference between revisions of "X708-Hardware"
(50 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{GD Template Impl}} | {{GD Template Impl}} | ||
+ | [[File:X708-V12-IMG-9489-interface-2.jpg]] | ||
+ | |||
+ | 4-Pin Function Header for X708 V1.2 | ||
+ | |||
+ | [[File:X708-V12-IMG-9481-01.jpg|X708 Jumper Function]] | ||
+ | |||
[[File:X708-fn.jpg|none]] | [[File:X708-fn.jpg|none]] | ||
− | # Power Jack and Connectors | + | <span style="color:#5671B0;font-size:200%;">❶</span> Power Jack and Connectors |
{| class="wikitable" | {| class="wikitable" | ||
| Power input || 5Vdc +/- 5% , ≥3A | | Power input || 5Vdc +/- 5% , ≥3A | ||
Line 10: | Line 16: | ||
| USB power in socket || Type-C | | USB power in socket || Type-C | ||
|- | |- | ||
− | | UPS power output || 5.1Vdc 8A | + | | UPS power output || 5.1Vdc 8A(Max.) |
|- | |- | ||
− | | Power output connector || | + | | Power output connector || 2-pin XH2.54mm *2 |
|} | |} | ||
Line 18: | Line 24: | ||
* Don't power the Raspberry Pi via the Pi's type-C USB socket | * Don't power the Raspberry Pi via the Pi's type-C USB socket | ||
* X708 can be powered via the onboard DC jack or Type-C USB power socket | * X708 can be powered via the onboard DC jack or Type-C USB power socket | ||
+ | |||
+ | <span style="color:#5671B0;font-size:200%;">❷</span> 6-Pin Function Header for X708 V1.0 | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 38: | Line 46: | ||
| ASD | | ASD | ||
(Auto shutdown) | (Auto shutdown) | ||
− | Pin 5&6 || | + | Pin 5&6 |
+ | || | ||
+ | *<span style="color:red;">NOTE: ASD fundtion is removed on V1.2 version,but you can achieve this function through software programming.</span> | ||
* Short - Automatic shutdown enabled when battery low (≤3Vdc ) | * Short - Automatic shutdown enabled when battery low (≤3Vdc ) | ||
* <span style="color:red;">Procedure to enable ASD function --IMPORTANT</span> | * <span style="color:red;">Procedure to enable ASD function --IMPORTANT</span> | ||
− | 1. Battery voltage must be >3Vdc | + | 1. Battery voltage must be >3Vdc |
− | 2. Insert the battery into the holder | + | 2. Insert the battery into the holder |
− | 3. Wait 3 seconds then insert the jumper | + | 3. Wait 3 seconds then insert the jumper |
− | 4. If the jumper inserted before battery, remove battery & jumper then repeat step 1, 2 and 3. | + | 4. If the jumper inserted before battery, remove battery & jumper then repeat step 1, 2 and 3. |
* Open - Automatic shutdown disabled | * Open - Automatic shutdown disabled | ||
|} | |} | ||
+ | |||
+ | <span style="color:#5671B0;font-size:200%;">❸</span> How to connector external power switch | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Pin No. !! Pin Description | ||
+ | |- | ||
+ | | 1 || Power on/off control connecting to switch | ||
+ | |- | ||
+ | | 2 || Ground | ||
+ | |- | ||
+ | | 3 || Ground | ||
+ | |- | ||
+ | | 4 || LED+ for power on, rebooting and shutdown | ||
+ | |} | ||
+ | |||
+ | <span style="color:#5671B0;font-size:200%;">❹</span> Power button (Script for power mgnt installed) | ||
+ | {| class="wikitable" | ||
+ | ! Press and Release !! Raspberry Pi and X708 turn on | ||
+ | |- | ||
+ | | Press and hold for 1~2 seconds || System rebooting | ||
+ | |- | ||
+ | | Press and hold for 3~7 seconds || System shutting down | ||
+ | |- | ||
+ | | Press and hold for >8 seconds || <span style="color:red;">Force shutdown</span> | ||
+ | |} | ||
+ | |||
+ | <span style="color:#5671B0;font-size:200%;">❺</span> Function LEDs | ||
+ | {| class="wikitable" | ||
+ | ! LED Name !! Usage | ||
+ | |- | ||
+ | | BAT LOW | ||
+ | || | ||
+ | LED red on indicates battery low (≤3.0Vdc) or blue power button pressed (Jumper for ASD inserted) | ||
+ | |- | ||
+ | |5V OUT || LED green on flashing indicates 5V power out and UPS powered by battery | ||
+ | |- | ||
+ | | AC FAIL || LED red on indicates AC power loss or PSU failure or PSU disconnected | ||
+ | |- | ||
+ | | PWR | ||
+ | || | ||
+ | LED blue indicates | ||
+ | |||
+ | Stays on - Power on | ||
+ | |||
+ | Blinks rapidly - system rebooting | ||
+ | |||
+ | Blinks slowly - Shutting down | ||
+ | |} | ||
+ | |||
+ | <span style="color:#5671B0;font-size:200%;">❻</span> Fuel gauge - LED Indicator | ||
+ | |||
+ | Operation of Discharging | ||
+ | {| class="wikitable" | ||
+ | ! Capacity C (%) !! D1 !! D2 !! D3 !! D4 | ||
+ | |- | ||
+ | | C ≥75% || ON || ON || ON || ON | ||
+ | |- | ||
+ | | 50%≤C<75% || ON || ON || ON || OFF | ||
+ | |- | ||
+ | | 25%≤C<50% || ON || ON || OFF || OFF | ||
+ | |- | ||
+ | | 3%≤C<25% || ON || OFF || OFF || OFF | ||
+ | |- | ||
+ | | 0%<C<3% || Flashing || OFF || OFF || OFF | ||
+ | |} | ||
+ | |||
+ | Operation of charging | ||
+ | {| class="wikitable" | ||
+ | ! Capacity C (%) !! D1 !! D2 !! D3 !! D4 | ||
+ | |- | ||
+ | | Fully charged || ON || ON || ON || ON | ||
+ | |- | ||
+ | | 75%≤C || ON || ON || ON || Flashing | ||
+ | |- | ||
+ | | 50%≤C<75% || ON || ON || Flashing || OFF | ||
+ | |- | ||
+ | | 25%≤C<50% || ON || Flashing || OFF || OFF | ||
+ | |- | ||
+ | | C<25% || Flashing || OFF || OFF || OFF | ||
+ | |} | ||
+ | |||
+ | <span style="color:#5671B0;font-size:200%;">❼</span> Pins and GPIO used | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Pin No. !! Usage !! Remark | ||
+ | |- | ||
+ | | 2, 4 | ||
+ | || +5V power supply|| | ||
+ | |- | ||
+ | | 6 | ||
+ | || Ground || | ||
+ | |- | ||
+ | | 29 | ||
+ | || GPIO5 for power management|| | ||
+ | |- | ||
+ | | 32 | ||
+ | || GPIO12 for power management || | ||
+ | |- | ||
+ | | 33 | ||
+ | || GPIO13 for power management|| | ||
+ | |- | ||
+ | | 31 | ||
+ | || GPIO6 for AC power loss detection | ||
+ | (Jumper for PLD inserted,High=POWER loss, | ||
+ | Low=Power supply normal) | ||
+ | || | ||
+ | |- | ||
+ | | 36 | ||
+ | || GPIO16 for fan speed: HIGH => fast, LOW=> slow | ||
+ | || <span style="color:red;">New added on V1.2</span> | ||
+ | |||
+ | |} | ||
+ | |||
+ | <span style="color:#5671B0;font-size:200%;">❽</span> 18650 battery dimension | ||
+ | |||
+ | [[File:18650size.png|none]] | ||
+ | |||
+ | <span style="color:red;">Please do not use 18650 battery with built-in protection circuit</span> | ||
+ | |||
+ | <span style="color:#5671B0;font-size:200%;">❾</span> How to programming to get ASD function on V1.2 version | ||
+ | |||
+ | The following is fake C/C++ code: | ||
+ | <pre> | ||
+ | while(1) { | ||
+ | // You need to implement getCurrentVoltage function | ||
+ | float fVoltage = getCurrentVoltage(); | ||
+ | if (fVoltage <= 2.5) { | ||
+ | //execute shut down command, "sudo x708off" | ||
+ | break; | ||
+ | } | ||
+ | } | ||
+ | <pre> | ||
+ | |||
+ | Return to [[X708]] | ||
<!--Add review function! --> | <!--Add review function! --> |
Latest revision as of 17:04, 1 March 2024
4-Pin Function Header for X708 V1.2
❶ Power Jack and Connectors
Power input | 5Vdc +/- 5% , ≥3A |
DC Power Plug Size | 5.5*2.5mm |
USB power in socket | Type-C |
UPS power output | 5.1Vdc 8A(Max.) |
Power output connector | 2-pin XH2.54mm *2 |
- X708 powers the Raspberry Pi via the 40-pin header (Pin 2 & 4)
- Don't power the Raspberry Pi via the Pi's type-C USB socket
- X708 can be powered via the onboard DC jack or Type-C USB power socket
❷ 6-Pin Function Header for X708 V1.0
Jumper Name | Usage |
---|---|
PLD
(Power loss detection) Pin 1&2 |
|
AON
(Auto power-on) Pin 3&4 |
|
ASD
(Auto shutdown) Pin 5&6 |
1. Battery voltage must be >3Vdc 2. Insert the battery into the holder 3. Wait 3 seconds then insert the jumper 4. If the jumper inserted before battery, remove battery & jumper then repeat step 1, 2 and 3.
|
❸ How to connector external power switch
Pin No. | Pin Description |
---|---|
1 | Power on/off control connecting to switch |
2 | Ground |
3 | Ground |
4 | LED+ for power on, rebooting and shutdown |
❹ Power button (Script for power mgnt installed)
Press and Release | Raspberry Pi and X708 turn on |
---|---|
Press and hold for 1~2 seconds | System rebooting |
Press and hold for 3~7 seconds | System shutting down |
Press and hold for >8 seconds | Force shutdown |
❺ Function LEDs
LED Name | Usage |
---|---|
BAT LOW |
LED red on indicates battery low (≤3.0Vdc) or blue power button pressed (Jumper for ASD inserted) |
5V OUT | LED green on flashing indicates 5V power out and UPS powered by battery |
AC FAIL | LED red on indicates AC power loss or PSU failure or PSU disconnected |
PWR |
LED blue indicates Stays on - Power on Blinks rapidly - system rebooting Blinks slowly - Shutting down |
❻ Fuel gauge - LED Indicator
Operation of Discharging
Capacity C (%) | D1 | D2 | D3 | D4 |
---|---|---|---|---|
C ≥75% | ON | ON | ON | ON |
50%≤C<75% | ON | ON | ON | OFF |
25%≤C<50% | ON | ON | OFF | OFF |
3%≤C<25% | ON | OFF | OFF | OFF |
0%<C<3% | Flashing | OFF | OFF | OFF |
Operation of charging
Capacity C (%) | D1 | D2 | D3 | D4 |
---|---|---|---|---|
Fully charged | ON | ON | ON | ON |
75%≤C | ON | ON | ON | Flashing |
50%≤C<75% | ON | ON | Flashing | OFF |
25%≤C<50% | ON | Flashing | OFF | OFF |
C<25% | Flashing | OFF | OFF | OFF |
❼ Pins and GPIO used
Pin No. | Usage | Remark |
---|---|---|
2, 4 | +5V power supply | |
6 | Ground | |
29 | GPIO5 for power management | |
32 | GPIO12 for power management | |
33 | GPIO13 for power management | |
31 | GPIO6 for AC power loss detection
(Jumper for PLD inserted,High=POWER loss, Low=Power supply normal) |
|
36 | GPIO16 for fan speed: HIGH => fast, LOW=> slow | New added on V1.2 |
❽ 18650 battery dimension
Please do not use 18650 battery with built-in protection circuit
❾ How to programming to get ASD function on V1.2 version
The following is fake C/C++ code:
while(1) { // You need to implement getCurrentVoltage function float fVoltage = getCurrentVoltage(); if (fVoltage <= 2.5) { //execute shut down command, "sudo x708off" break; } }Return to X708Enable comment auto-refresherAnonymous user #815 months agoScore 0Permalink |Walker15 months agoScore 0PermalinkAnonymous user #1521 months agoScore 0Permalink |Lisa21 months agoScore 0PermalinkAnonymous user #1521 months agoScore 0Permalink |Lisa21 months agoScore 0PermalinkAnonymous user #1621 months agoScore 0PermalinkLisa20 months agoScore 0PermalinkAnonymous user #1421 months agoScore 0Permalink |Anonymous user #1321 months agoScore 0PermalinkAnonymous user #1421 months agoScore 0PermalinkAnonymous user #1321 months agoScore 0Permalink |Lisa21 months agoScore 0PermalinkAnonymous user #1223 months agoScore 0Permalink |Lisa23 months agoScore 0PermalinkAnonymous user #1026 months agoScore 0Permalink |Lisa26 months agoScore 0PermalinkAnonymous user #1027 months agoScore 0Permalink |Lisa27 months agoScore 0PermalinkLisa27 months agoScore 0PermalinkAnonymous user #1026 months agoScore 0PermalinkLisa26 months agoScore 0PermalinkAnonymous user #928 months agoScore 0Permalink |Lisa27 months agoScore 0PermalinkAnonymous user #828 months agoScore 0Permalink |Lisa28 months agoScore 0PermalinkAnonymous user #731 months agoScore 0Permalink |Anonymous user #345 months agoScore 0Permalink |Anonymous user #445 months agoScore 0PermalinkAnonymous user #545 months agoScore 0PermalinkAnonymous user #545 months agoScore 0PermalinkXiali43 months agoScore 0PermalinkAnonymous user #245 months agoScore 0Permalink |Anonymous user #545 months agoScore 0PermalinkAnonymous user #643 months agoScore 0PermalinkAnonymous user #1124 months agoScore 0PermalinkAnonymous user #145 months agoScore 0Permalink |