Raspberry Pi Power Supply Check
1.0.0
该脚本旨在评估Raspberry Pi的电源和电缆连接的稳定性。
sudo apt-get install sysbench
wget https://raw.githubusercontent.com/senhan07/Raspberry-Pi-Power-Supply-Check/main/raspberrypi-power-supply-check.sh
sudo chmod +x raspberrypi-power-supply-check.sh
sudo ./raspberrypi-power-supply-check.sh
如果您的PI是正确的(稳定的电源和质量电缆),则在运行脚本后,您应该得到类似的东西:
45.6'C 1400 / 600 MHz 1.3813V -
55.3'C 1400 / 1400 MHz 1.3813V -
58.0'C 1400 / 1400 MHz 1.3813V -
60.2'C 1400 / 1400 MHz 1.3813V -
60.2'C 1400 / 1400 MHz 1.3813V -
61.1'C 1400 / 1400 MHz 1.3813V -
61.1'C 1400 / 1400 MHz 1.3813V -
60.8'C 1400 / 1400 MHz 1.3813V -
如果您的电源无法提供稳定的5V 2.5A或电缆不足,则脚本输出可能表示节流和电压底电压的发生:
39.7'C 1400 / 1400 MHz 1.3875V - Throttling has occurred, Under-voltage has occurred,
48.3'C 1400 / 1400 MHz 1.3875V - Throttling has occurred, Under-voltage has occurred,
52.1'C 1400 / 1400 MHz 1.3875V - Throttling has occurred, Under-voltage has occurred,
54.8'C 1400 / 1400 MHz 1.3875V - Throttling has occurred, Under-voltage has occurred,
55.8'C 1400 / 1400 MHz 1.3875V - Throttling has occurred, Under-voltage has occurred,
56.4'C 1400 / 1400 MHz 1.3875V - Throttling has occurred, Under-voltage has occurred,
57.5'C 1400 / 1400 MHz 1.3875V - Throttling has occurred, Under-voltage has occurred,
58.0'C 1400 / 1400 MHz 1.3875V - Throttling has occurred, Under-voltage has occurred,
59.6'C 1400 / 1400 MHz 1.3875V - Throttling has occurred, Under-voltage has occurred,
有关代码含义,请参阅下表:
| 代码 | 意义 |
|---|---|
| 0x80000 | 软温限制发生了 |
| 0x40000 | 限制发生了 |
| 0x20000 | 手臂频率上限发生了 |
| 0x10000 | 电压底电压发生了 |
| 0x8 | 软温极限活动 |
| 0x4 | 目前被限制 |
| 0x2 | 手臂频率上限 |
| 0x1 | 检测到底电压 |