Raspberry Pi CPU温度 [英] Raspberry Pi CPU Temp
问题描述
我有一个运行Windows 10 IoT核心版的Raspberry Pi 3.我的问题是;是否有可能,或者是否有办法通过远程PowerShell连接,在命令行控制台中的本地设备上监视设备的CPU温度,或者如果使用设备上已部署的C#应用程序的所有其他操作都失败了?>
我承认自己是C#菜鸟,因此这是我的第三选择.
为什么?...我打算用Lego为一堆几个设备构建一个定制机箱,并想评估是否需要购买一堆散热器和冷却风扇等.
非常感谢您的时间和帮助.
我希望这可以引导您走上正确的轨道.
要访问IoT SDK或PowerShell客户端不提供的低级BCM2836外围设备,您需要编写自己的驱动程序.
您可以遵循 https://github.com/ms中的代码示例-iot/bsp/tree/master/drivers ,它是在WDK框架下编写的,因此您需要先熟悉一下才能开始.
我想最终您最终会得到类似驱动程序样本中的样本之一.
完成后,按照本教程https://developer.microsoft.com/zh-CN/windows/iot/win10/samples/driverlab3
我不是100%肯定这是正确的方法,但是如果有人可以纠正我或指出更好的解决方案,我将非常乐于从中学习.
I have a Raspberry Pi 3 running Windows 10 IoT Core. My question is; would it be possible, or is there a way to monitor the CPU temperature of the device either via a remote PowerShell connection, locally on the device in the command line console or if all else fails using a C# deployed app on the device?
I confess to being a C# noob, hence it being my third option.
Why?... I'm planning on building a custom case out of Lego for a stack of several devices and want to assess whether I need to purchase a bunch of heat sinks and cooling fans etc.
Many thanks for your time and assistance.
I hope this can guide you to the right track.
In order to access to low-level BCM2836 peripherals that the IoT SDK or PowerShell client does not provide, you'll need to write your own drivers.
You can follow the code samples from https://github.com/ms-iot/bsp/tree/master/drivers, it's written under WDK framework so you'll need to get yourself familiar with that in order to get started.
I guess eventually you'll end up with something like one of those samples under the drivers sample.
When you're done, deploy your driver follow this tutorial https://developer.microsoft.com/en-us/windows/iot/win10/samples/driverlab3
I'm not 100 percent sure this is the right way to go, but if someone could correct me or point out a better solution, I would be more than happy to learn from it.
这篇关于Raspberry Pi CPU温度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!