Timeline for Measuring li-ion that arduino is running from
Current License: CC BY-SA 4.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 14, 2020 at 20:42 | comment | added | Edgar Bonet | @LindsayCox: No, it's 1024, although 1023 is a very widespread error, presumably because it's the highest reading you can get. According to the datasheet, “the maximum value represents the voltage on the AREF pin minus 1 LSB.” (emphasis mine) and “ADC = Vin ⋅ 1024 ÷ Vref”. The datasheet is the only authoritative source. Note that, given the uncertainty in Vbg, it doesn't really matter. | |
| Oct 14, 2020 at 17:02 | comment | added | Lindsay Cox | wouldn't it be 1.1v x 1023 x 1000? the 1023 being the 10bit total value for the ADC? | |
| Oct 14, 2020 at 16:51 | vote | accept | Lindsay Cox | ||
| Oct 14, 2020 at 16:51 | comment | added | Lindsay Cox | Thank you for the very detailed explanation! | |
| Oct 14, 2020 at 15:28 | comment | added | Duncan C | Outstanding answer, as usual. (voted) | |
| Oct 14, 2020 at 14:21 | comment | added | Edgar Bonet | @thebusybee: Thanks for the suggestion. Added. | |
| Oct 14, 2020 at 14:21 | history | edited | Edgar Bonet | CC BY-SA 4.0 | + explanation of the factor 1126400. |
| Oct 14, 2020 at 10:37 | comment | added | the busybee | You might add that 1126400 is 1024 * 1100, which is scaling the result, and why. | |
| Oct 14, 2020 at 7:31 | history | answered | Edgar Bonet | CC BY-SA 4.0 |