Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is the value of conversion in the 8-bit A/D MCUs equal to N*Vref/255 or N*Vref/256?

conversion mcus value
0
Posted

Is the value of conversion in the 8-bit A/D MCUs equal to N*Vref/255 or N*Vref/256?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123