【树莓派】:电压监控一直提示low voltage warning,please check your power supply 您所在的位置:网站首页 skyzone设置低电压提醒 【树莓派】:电压监控一直提示low voltage warning,please check your power supply

【树莓派】:电压监控一直提示low voltage warning,please check your power supply

2023-10-24 04:59| 来源: 网络整理| 查看: 265

使用VNC连接树莓派时桌面任务栏一直提示low voltage warning,please check your power supply 【现象分析】: 对于使用集成raspberry 4B系列产品使用官方电源一般不会有报警,本报警主要为使用CM4核心板+自制载板时出现的异常现象,报警提示如下: 在这里插入图片描述 【原因分析】: 1.CM4核心板需要3.3v的供电,首先分析是电压供电不足导致的报警: 在这里插入图片描述 发生报警时,首先检查核心板3.3V的供电是否异常,负载过多会存在较大压降, ioboard的具体原理参考: 核心板模块介绍: 载板模块介绍: 官网整个模块介绍:

2.电压检测脚本: 1.使用sh检测

#!/bin/bash # Before running this script, make sure you have sysbench installed: # sudo apt-get install sysbench # # This script helps you check if your Raspberry pi is correctly powered. # You can read more about Raspberry pi powering issues here: https://ownyourbits.com/2019/02/02/whats-wrong-with-the-raspberry-pi/ # If you're pi is correctly powered (stable power supply and quality cable), after running the script, you should get something like: # # 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 - # If your power supply can't provide a stable 5V 2.5A or if the cable is not good enough, you should get something like: # # 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, function throttleCodeMask { perl -e "printf \"%s\", $1 & $2 ? \"$3\" : \"$4\"" } # Make the throttled code readable # # See the `get_throttled` method documentation on: https://www.raspberrypi.org/documentation/raspbian/applications/vcgencmd.md # function throttledToText { throttledCode=$1 throttleCodeMask $throttledCode 0x80000 "Soft temperature limit has occurred, " "" throttleCodeMask $throttledCode 0x40000 "Throttling has occurred, " "" throttleCodeMask $throttledCode 0x20000 "Arm frequency capping has occurred, " "" throttleCodeMask $throttledCode 0x10000 "Under-voltage has occurred, " "" throttleCodeMask $throttledCode 0x8 "Soft temperature limit active, " "" throttleCodeMask $throttledCode 0x4 "Currently throttled, " "" throttleCodeMask $throttledCode 0x2 "Arm frequency capped, " "" throttleCodeMask $throttledCode 0x1 "Under-voltage detected, " "" } # Main script, kill sysbench when interrupted trap 'kill -HUP 0' EXIT sysbench --test=cpu --cpu-max-prime=10000000 --num-threads=4 run > /dev/null & maxfreq=$(( $(awk '{printf ("%0.0f",$1/1000); }' throttledCode=$1 throttleCodeMask $throttledCode 0x80000 "Soft temperature limit has occurred, " "" throttleCodeMask $throttledCode 0x40000 "Throttling has occurred, " "" throttleCodeMask $throttledCode 0x20000 "Arm frequency capping has occurred, " "" throttleCodeMask $throttledCode 0x10000 "Under-voltage has occurred, " "" throttleCodeMask $throttledCode 0x8 "Soft temperature limit active, " "" throttleCodeMask $throttledCode 0x4 "Currently throttled, " "" throttleCodeMask $throttledCode 0x2 "Arm frequency capped, " "" throttleCodeMask $throttledCode 0x1 "Under-voltage detected, " "" } temp=$(vcgencmd measure_temp | cut -f2 -d=) real_clock_speed=$(vcgencmd measure_clock arm | awk -F"=" '{printf ("%0.0f", $2 / 1000000); }' ) sys_clock_speed=$(awk '{printf ("%0.0f",$1/1000); }'


【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有