Since the adc of the microcontroller is coded in 10 bits the resolution of the pv panel module voltage is 0 00489 v 5 1023 and the input voltage of this module must be more than 0 02445 v 0 00489 v 5.
Arduino monitor solar panel voltage.
Power for the solar monitor is connected to the voltage out of the controller.
Therefor the analog signals must be adapted by a circuit to match with these specifications.
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.
There is also a 5 volt arduino pro mini available that runs a 16 mhz clock.
Hence the output voltage of the pv panel can be formulated as the following equation.
The arduino analog input ports accept a maximum voltage of 5v.
The solar voltage monitor will stay connected to the test solar set up for a couple weeks.
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 5v power supply module provides power to the microcontroller arduino wemos the current sensor acs712 and oled display.
In your design you can use nanoif you need the extra clock speed or possibly need to attach 5 v peripherals.
And suppose if you want to measure up to 10 volts then you have to use the given circuitry.
Circuit diagram of arduino based digital voltmeter.
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.
Wire is installed to sample the battery and solar panel voltage.
Voltage analog value resistor factor reference voltage.