Skip to content

Commit

Permalink
feat: add power board from 40 pin docs
Browse files Browse the repository at this point in the history
  • Loading branch information
peterwang2050 committed Nov 11, 2024
1 parent 6e55746 commit 51abc0f
Show file tree
Hide file tree
Showing 7 changed files with 91 additions and 0 deletions.
38 changes: 38 additions & 0 deletions docs/common/general/_power_board_from_40pin.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# 如何通过 GPIO 给板子供电

大部分 radxa sbc 都可以从 40 PIN 上的 GPIO 接口来供电启动,少部分启动电压超过 5V 的除外. 5B/5B+ 5V可以启动,这里以 5B+ 为例来进行讲解。

## 准备工作

- 5V 电源
- 杜邦线 4根
- ROCK 5B+ 一块

## 步骤

:::caution
供电的电源必须是稳定 5V 输出的电源,如果出现有电源波动超过5.2V,可能会烧掉板子
:::

- 先确定 40 PIN 上 5V 和 GND 的 GPIO 位置 (一般在该产品文档的**硬件信息**部分能找到)

<img src="/img//rock5b/rock5bp_40pin_power_3.webp" alt="rock 40 pin" width="300" />

- 用杜邦线分别接电源的正负极, 2 根接正极, 2 根接负极.

- 调整电源电压为 5V,然后电源上电

- 用一端接电源正极的杜邦线接 40 PIN 的 5V 输入的 PIN 上,负极的杜邦线接到 40 PIN 的GND上

<img src="/img//rock5b/rock5bp_40pin_power_1.webp" alt="rock 40 pin power" width="700" />
<img src="/img//rock5b/rock5bp_40pin_power_2.webp" alt="rock 40 pin power" width="700" />

## 常见问题

- 是否一定要同时接 2 个 5V 的 PIN ?

这个看实际情况,如果板子的负载较小,功耗较低, 接一个 5V GPIO 供电也可以满足要求。

- GPIO 供电 最大支持的功率是多少?

在接两个 5V 输入和 所有GND的情况下 支持功率可以到 25W. 另外如果达不到25W,建议使用好一点的线材.
9 changes: 9 additions & 0 deletions docs/rock5/rock5b/hardware-design/power_board_from_40pin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
sidebar_position: 10
---

import PowerViaGPIO from "../../../common/general/_power_board_from_40pin.mdx"

# 从 40PIN GPIO 给板子供电

<PowerViaGPIO />
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# How to power the board via GPIO

Most radxa sbc's can be powered from the GPIO connector on the 40 PIN, except for a few that have a startup voltage of more than 5V. The 5B/5B+ can be powered up with 5V, so we will use the 5B+ as an example.

## Preparation

- 5V power supply
- Dupont cable 4 pcs
- ROCK 5B+ 1 piece

## Steps

:::caution
The power supply must be a stable 5V output, if the power supply fluctuates more than 5.2V, it may burn the board.
:::

- Find 5V and GND in 40 PIN GPIO (you can find the infomation at **Hardware Info** Part of the product's docs)

<img src="/img//rock5b/rock5bp_40pin_power_2.webp" alt="rock 40 pin power" width="700" />

- Use DuPont cables to connect the positive and negative terminals of the power supply, 2 to the positive terminal and 2 to the negative terminal.
- Adjust the power supply voltage to 5V, then power on the board.
- Connect the positive end of the DuPont cable to the 5V input PIN of the 40 PIN, and the negative end of the DuPont cable to the GND of the 40 PIN.
<img src="/img//rock5b/rock5bp_40pin_power_3.webp" alt="rock 40 pin" width="300" />
<img src="/img//rock5b/rock5bp_40pin_power_1.webp" alt="rock 40 pin power" width="700" />

## Frequently Asked Questions

- Is it necessary to connect 2 5V PINs at the same time?

It depends on the actual situation, if the load of the board is small and the power consumption is low, connecting one 5V GPIO supply can also meet the requirement.

- What is the maximum power supported by GPIO supply?

If you connect two 5V inputs and all GNDs, it can support up to 25W. If you can't reach 25W, it is recommended to use better cables.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
sidebar_position: 10
---

import PowerViaGPIO from "../../../common/general/_power_board_from_40pin.mdx"

# Power Board Via 40 PIN GPIO

<PowerViaGPIO />
Binary file added static/img/rock5b/rock5bp_40pin_power_1.webp
Binary file not shown.
Binary file added static/img/rock5b/rock5bp_40pin_power_2.webp
Binary file not shown.
Binary file added static/img/rock5b/rock5bp_40pin_power_3.webp
Binary file not shown.

0 comments on commit 51abc0f

Please sign in to comment.