Is the value of conversion in the 8-bit A/D MCUs equal to N*Vref/255 or N*Vref/256?
Answer Because the conversion value is of a discrete nature, it does not express an absolute value, it rather expresses a range instead. For example “0” can indicate a voltage between 0 Volts and Vref/256 while “1” can indicate a voltage between Vref/256 and 2Vref/256 etc. When using the N*Vref/256 formula, the largest error value will be Vref/256. When using the N*Vref/255 formula, the error lies between a value of -Vref/256 and Vref/256. In both cases the actual error range is the same. Therefore both the /255 or /256 value are acceptable.
Related Questions
- Rateable Value Q: A premises has 50% of their rateable value waived as a charitable organisation. How should the applicant calculate the rateable value of the premises for conversion purposes?
- When did Newalta become an income fund, and what was the fair market value of its common shares on the date of conversion?
- How Do You Write A Conversion Program That Will Convert A Value In Kilograms To Pounds, Celsius To Fahrenheit?