Hello everyone. This is my first approach with Arduino and I have a problem with my project.
I read an analog voltage and I want to detect the change of this value (the value is around 3V but it changes only of around 1mV every time)
Depending on the input change i calculate a relative voltage output (with the same characteristic of the input).
Now, to have a good precision in reading my input i was thinking to set the analog reference as external and reduce my input with an OPAMP. Doing so i can have a good precision in input reading and output calculation.
My problem is. How can I then come back to the high output value maintaining the same precision achieved?
I attach the code for clarity.
Apologies if the language is not specific, again this is my first time.
VoltageControl.ino (2.27 KB)