I wonder is it the code or little bit of hardware filtering in those commercial voltmeters or multimeters..How are they so stable on voltage display (any kind of analog reading)..?
I admit that those meters write to the display at a delay, but still they are much more stable.
Whereas when we do the same thing on the Arduino the fluctuation is much more.
How can I have a stable analog reading ..?
Can I modify the analog input so that it gets more stable or have to add more coding..?
Please suggest.
This usually requires a combination of hardware and software. A bit of filtering in hardware through an RC circuit, and some averaging in software. Usually that gets you pretty close. Keep in mind that if real world values fluctuate a bit, you actually want your device to also pick up on that. So it's not necessarily the best way to try and prevent any fluctuation in your measurement - you may be actually filtering out perfectly valid real-world fluctuations!
And …….By default with an analog reading, the 5v supply is used as the reference for the A/D , if you have other loads on the Arduino this can fluctuate .There is the option to use an internal 1.1v reference which will give more stable results .
I don't mind a non calibrated value, but the value keeps fluctuating
Even the analog reading fluctuates.(That's the reason why the calculated voltage is fluctuating too)
My question is how to have a stable value reading. Calibration part can be taken care of.
Its not only me, but I have seen with almost everyone.
I have been living with this for years.
But now I want to make modifications to get a stable reading like the DMM.
Start with putting a 103 ceramic cap into the ARef pin and gnd pin.
Deep in the guts of the A:D converter is a point where the reference voltage is used against the incoming signal. Tied to that reference point is a connection that rises all the way from the deep guts of the A:D converter to the ARef pin. Right now that long connection is nothing more then an antenna that allows corrupting signals to live.