All the calculations are done in the digital domain on an arduino.
Arduino energy monitor calibration.
Now you can upload your sketch onto your arduino if you haven t uploaded a sketch before then follow this guide on getting started.
We built our source code to handle up to 5 inputs measuring and 5 out measuring you just need to add more cts and pts for each additional input outputs as we will discuss that in hardware section.
I want to add a second ct input and am struggling with the code.
Because your setup ct resistors and input voltage may be different there is a scaling factor in the sketch which you will need to change before you will get.
I am building it off the how to build an arduino energy monitor measuring mains voltage and current.
Upload the arduino sketch.
Statistics reveal that the energy monitoring and managing systems can reduce energy costs from 8 up to 20 which is a big deal.
1x 9v ac ac power adapter 1x 100kohm resistor for step down voltage divider.
Ct sensors interfacing with an arduino.
Measure the current consumption of the device.
The energy monitor can calculate real power apparent power power factor rms voltage rms current.
Assemble the components per the diagram above.
For a more precise calibration continue with this steps.
The sketch is the software that runs on the arduino.
An energy management system can help monitor control and reduce the energy consumption significantly.
You can measure all electrical parameters for utility input and do the same for renewable source like solar or wind turbine at the same time.
Iron electric heater etc measure vac at the input of the device.
I am building a multi input energy and cycle monitor.
Check these measures whit the values reported by the energy data logger thru serial monitor.
Step one gather components.
The code is shown in the attached images here is the link to download the energy meter code.
Above all being able to monitor it from a phone makes it much more convenient.
Connect the energy data logger on a resistive load around 2000w i e.
So you can monitor the parameters as well as calibrate and modify different settings from your smartphone via ota.
The inbuilt wifi chip of the wemos is connected to the home router and linked to the blynk app.