It seems that ADC voltage reference is about 1.1 volts. This is right?.
Using new api functions adc1_config_width / adc1_config_channel_atten / adc1_get_voltage, an input value arround 1.1 volts gives raw values near 4095 using a resolution of 12 bits.
Any one has information about this?
ADC voltage reference?
Re: ADC voltage reference?
Seems approx 1.1v but would like to have temperature and Vdd compensation data.
Re: ADC voltage reference?
Strange, on my board 4095 corresponds to 3V3.
Re: ADC voltage reference?
Well anything above 1.1v is 4095 @ 0db. Did you test with lower voltage?onehorse wrote:Strange, on my board 4095 corresponds to 3V3.
Re: ADC voltage reference?
Yes, I have pin 34 connected to a voltage divider as a LiPo battery moinitor and I could track the battery while charging. I have the resistors not quite right, they are 20K/100K meaning that at 4.2 V the voltage into the ADC is 3.5 V so yes anythibng avive about 4 V into the voltage divider will show up as 4095. But with a partially drained battery I can see the voltage climb from 3 V on up while charging.
Who is online
Users browsing this forum: No registered users and 96 guests