Having trouble measuring accurate voltage with arduino. Answered
For a week now I’m trying to get very precise voltage readings with no luck so far. I’m using a voltage shunt regulator (LM431) for reference but still. My goal is to read values low as a 1mv change. I’m using a voltage divider to convert 38 volts to 4v (According to my vref). I've read that 10 bit ADC in atmega328 is enough for this job. Is it or am I doing something wrong?
P.S i have made a lot on changes to my circuit so please go over to my new link to get up to date. Ive read all of your feedback and tried to implement it. Thanks a lot for all your answers.