Moderator: igrr
Mikecay wrote:trackerj wrote:What is your Measured Full scale voltage for your ADC input?
Are you referring to the actual voltage on the ADC rather than the calculated voltage based in Vin * (R2/(R1+R2))? I have not measured it but I guess it probably is not exactly 1v. I will increase the resistor sizes and check the actual voltage on the ADC pin. I also read carefully the site you linked to. A quick passed showed there was a lot they were considering that I was not.
Thank you for your help.
Hi Mike,
Added a new example for Voltage divider and ESP8266 Internal ADC input voltage calculation for a 0-5V Voltage input range.
Available on Tindie: https://www.tindie.com/products/nEXT_EVO1/universal-ac-mains-dimmer-mpdmv41/
Mikecay wrote:Hi All,
I am trying to read the voltage from a 6v Home solar system installation using an ESP-12. I have a voltage divider made up of a 10k and 2k resistor. When I did my testing my voltmeter was reading 5v from the solar panel and analogread(A0) is giving me 803, from that I calculate 803/1024 * 6 to me 4.705v. This is a 6 to 7% difference, which I find pretty big. What could be causing such a large variation?
Mike
I like it when individuals come together and share thoughts.Thanks for sharing!!