Hi Guys,
This part of my project involves measuring solar panel voltage and current flow into a battery.
I've done all the coding and used a voltage divider (120k and 22k resistors) to get the correct ADC input levels, and for the ammeter part am simply measuring the voltage drop over a 1 ohm resistor in the system.
My problem arises from the fact the panel voltage is a sinusoidal but around a constant voltage (at that insolation level).
A regular multimeter in DC V mode says e.g. "13.7v", but an oscilloscope shows it varies by 400mv, centered on that value.
I want my PIC voltmeter to read 13.7v and stay there, but instead it (accurately) varies from 13.5 -> 13.9v in time with the panel
I dont want this.
Why does my multimeter read it as a stable voltage, and how can I adapt my PIC system to do the same?
I have the same problem when using it as an ammeter. The multimeter gives a constant 10mA, my PIC varies (but more substantially than before).
Thanks.
This part of my project involves measuring solar panel voltage and current flow into a battery.
I've done all the coding and used a voltage divider (120k and 22k resistors) to get the correct ADC input levels, and for the ammeter part am simply measuring the voltage drop over a 1 ohm resistor in the system.
My problem arises from the fact the panel voltage is a sinusoidal but around a constant voltage (at that insolation level).
A regular multimeter in DC V mode says e.g. "13.7v", but an oscilloscope shows it varies by 400mv, centered on that value.
I want my PIC voltmeter to read 13.7v and stay there, but instead it (accurately) varies from 13.5 -> 13.9v in time with the panel
I dont want this.
Why does my multimeter read it as a stable voltage, and how can I adapt my PIC system to do the same?
I have the same problem when using it as an ammeter. The multimeter gives a constant 10mA, my PIC varies (but more substantially than before).
Thanks.