The ac current passing through the load is sensed by the current sensor module acs712 and fed to the analog pin a0 of the arduino wemos board.
Arduino monitor solar panel voltage.
Once testing is complete and updated post will be made.
There is also a 5 volt arduino pro mini available that runs a 16 mhz clock.
Therefor the analog signals must be adapted by a circuit to match with these specifications.
Circuit diagram of arduino based digital voltmeter.
Just connect the solar panel output voltage to analog pin of arduino and convert that in digital and display result on lcd or computer.
The solar voltage monitor will stay connected to the test solar set up for a couple weeks.
Hence the output voltage of the pv panel can be formulated as the following equation.
Voltage analog value resistor factor reference voltage.
Wire is installed to sample the battery and solar panel voltage.
If you decide to use a 5v arduino simply add a boost converter after the 3 3v supply amazon model xl6009 dc to dc converter.
For measuring voltage we have to follow the given formula.
230v ac 5v dc power supply module.
The 5v power supply module provides power to the microcontroller arduino wemos the current sensor acs712 and oled display.
Power for the solar monitor is connected to the voltage out of the controller.
The arduino analog input ports accept a maximum voltage of 5v.