Hi all,
I am attempting to set up my Arduino uno to monitor multiple wires using SCT013 sensors.
However I am struggling to find info on how to use more than one CT sensor.
If some one could point me in the right direction it would be greatly appreciated.
Cheers
The ole classic posting for help too soon,
found what I needed, figured I should share it anyways.
https://openenergymonitor.org/forum-archive/node/5533.html
Hello Smoke, and welcome to the OEM forum.
I hope you read right to the bottom of that thread, because Photonut really did not understand C++ classes and how emonLib works.
Just to emphasize the point, look at any of our emonTx default sketches on Github - the most straightforward is probably this
// EmonTx V3 Direct Serial example
// AC-AC adapter must be used with this example (highly recomneded for more accurate Real Power calculations)
// Useful for direct connection to Raspberry Pi or computer via USB to UART cable
// Forum thread: http://openenergymonitor.org/emon/node/3872
// Tell emonLib this is the emonTx V3
// - don't read Vcc assume Vcc = 3.3V as is always the case on emonTx V3
// - eliminates bandgap error and need for calibration http://harizanov.com/2013/09/thoughts-on-avr-adc-accuracy/
#define emonTxV3
// Include Emon Library
#include "EmonLib.h"
// Create four instances
EnergyMonitor ct1, ct2, ct3, ct4;
unsigned long lastpost = 0;
const byte LEDpin= 6; // emonTx V3 LED
This file has been truncated. show original