Measure the current consumption of the device.
Arduino energy monitor calibration.
I am building it off the how to build an arduino energy monitor measuring mains voltage and current.
The arduino converts the raw data from its analog input into human readable values then sends them to the serial port monitor.
The energy monitor can calculate real power apparent power power factor rms voltage rms current.
Now you can upload your sketch onto your arduino if you haven t uploaded a sketch before then follow this guide on getting started.
I want to add a second ct input and am struggling with the code.
The code is shown in the attached images here is the link to download the energy meter code.
The sketch is the software that runs on the arduino.
An energy management system can help monitor control and reduce the energy consumption significantly.
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.
Iron electric heater etc measure vac at the input of the device.
The inbuilt wifi chip of the wemos is connected to the home router and linked to the blynk app.
All the calculations are done in the digital domain on an arduino.
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.
Upload the arduino sketch.
Connect the energy data logger on a resistive load around 2000w i e.
Ct sensors interfacing with an arduino.
This is awesome project for me and i have it working well with one current input sensor and one ac mains input.
Check these measures whit the values reported by the energy data logger thru serial monitor.
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.
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.
For a more precise calibration continue with this steps.
So you can monitor the parameters as well as calibrate and modify different settings from your smartphone via ota.
The calculated power and energy by the arduino wemos is displayed on a 0 96 oled display module.
Above all being able to monitor it from a phone makes it much more convenient.