测量RMS电流,RMS Volatge,功率因数 - C中的任何样品编程? [英] measuring RMS Current, RMS Volatge, Power factor - any sample prog in C?

查看:68
本文介绍了测量RMS电流,RMS Volatge,功率因数 - C中的任何样品编程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

需要编写小型编程来测量50HZ 8插头电源板的RMS电流,RMS电压和功率因数,任何样品编程?

Need to write small prog to measure RMS Current, RMS Voltage and power factor for 50HZ 8 plug power strip, any sample prog?.

推荐答案

据我所知大多数电源板通常没有数据接口。


您打算如何进行物理测量?在你提出如何编写代码以获取和处理数据的问题之前,肯定是第一个要问的问题。
To my knowledge most power strips don''t usually have a data interface.

How are you planning on physically taking the measurements? Should surely be the first question to ask before you ask the question of how you write the code to obtain and process that data.


感谢您提出问题。我设计了带有小型微控制器的小型硬件来进行这些测量。
Thanks for question. I have designed small hardware with small microcontroller to do these measurements.


确定微控制器上有哪些数据接口,例如RS232?

你有什么协议?用于通过此接口传输数据?
OK what data interface exists on the micro control, RS232 for example?
What protocol are you using to transfer data across this interface?


这篇关于测量RMS电流,RMS Volatge,功率因数 - C中的任何样品编程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆