使用 EmonTx / Arduino Uno 测量电流
Measuring Current using EmonTx / Arduino Uno
尝试使用基于 Arduino Uno/ATmega328 微处理器的 EmonTx (https://wiki.openenergymonitor.org/index.php/EmonTx_V3.4) 测量非侵入式电流时,我得到 0 个值。
我正在使用来自 openenergymonitor github 的示例草图并校准了一些设置:
- 原始代码 - https://github.com/openenergymonitor/emonTxFirmware/blob/master/emonTxV3/noRF/emonTxV3_DirectSerial/emonTxV3_DirectSerial.ino
- 将美国的电压校准更改为 130 - ct1.voltage(0, 130, 1.7);
- 将电流校准更改为 50,因为我使用的是 SCT013-050 50A 1V cT 传感器 ct1.current(1, 50);
- 向输出添加电流测量 - Serial.print(ct1.Irms);
当前测量值始终为 0。有人知道我在这里做错了什么吗?我试过使用电热水壶和电加热器,因为它们应该消耗足够的电流来记录读数。我还使用万用表检查了 cT 传感器的输出,它的输出电压在 0V 和 1V 之间,符合预期。
无论负载如何,串行输出值都不会改变。
谢谢。
非侵入式电流传感器只需要缠绕在火线或零线上,而不是两者都缠绕。我正在使用包含火线和零线的双芯电缆进行测试。当我分开电线时效果很好。
这篇文章为我指明了正确的方向。
http://www.homautomation.org/2013/09/17/current-monitoring-with-non-invasive-sensor-and-arduino/
尝试使用基于 Arduino Uno/ATmega328 微处理器的 EmonTx (https://wiki.openenergymonitor.org/index.php/EmonTx_V3.4) 测量非侵入式电流时,我得到 0 个值。
我正在使用来自 openenergymonitor github 的示例草图并校准了一些设置:
- 原始代码 - https://github.com/openenergymonitor/emonTxFirmware/blob/master/emonTxV3/noRF/emonTxV3_DirectSerial/emonTxV3_DirectSerial.ino
- 将美国的电压校准更改为 130 - ct1.voltage(0, 130, 1.7);
- 将电流校准更改为 50,因为我使用的是 SCT013-050 50A 1V cT 传感器 ct1.current(1, 50);
- 向输出添加电流测量 - Serial.print(ct1.Irms);
当前测量值始终为 0。有人知道我在这里做错了什么吗?我试过使用电热水壶和电加热器,因为它们应该消耗足够的电流来记录读数。我还使用万用表检查了 cT 传感器的输出,它的输出电压在 0V 和 1V 之间,符合预期。
无论负载如何,串行输出值都不会改变。
谢谢。
非侵入式电流传感器只需要缠绕在火线或零线上,而不是两者都缠绕。我正在使用包含火线和零线的双芯电缆进行测试。当我分开电线时效果很好。
这篇文章为我指明了正确的方向。
http://www.homautomation.org/2013/09/17/current-monitoring-with-non-invasive-sensor-and-arduino/