User Tools

Site Tools


arduino:divide-by-1023-or-1024

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
arduino:divide-by-1023-or-1024 [2025/06/21 11:51] – [Any comments on the various arguments in the online discussions?] Ilias Iliopoulosarduino:divide-by-1023-or-1024 [2025/06/21 11:56] (current) – [Finally, to get the voltage from the reading of analogRead(), do we divide by 1023 or 1024? What do AI engines have to say?] Ilias Iliopoulos
Line 7: Line 7:
 Discussion forums hosted several opinions, some purely theoretical, others practical and of course some totally misleading. During the past years, I have not encountered any forum that provided a conclusive response on this question. So, I wanted to check what our Artificial Intelligence friends have to say about that. Discussion forums hosted several opinions, some purely theoretical, others practical and of course some totally misleading. During the past years, I have not encountered any forum that provided a conclusive response on this question. So, I wanted to check what our Artificial Intelligence friends have to say about that.
  
-As expected, AI machines are trained by the information they find online. One was in favor of 1024, explaining that this is the correct value, because it is consistent to the theory of the operation of Analog to Digital Converters. It also considered 1024 as the value that provides the highest precision, making this approach more applicable to operations that require high accuracy. Yet, asking the machine why some people are in favor of 1023, it took an neutral position, stating that the results do not differ so much.+As expected, AI machines are trained by the information they find online. One was in favor of 1024, explaining that this is the correct value, because it is consistent to the theory of the operation of Analog to Digital Converters. It also considered 1024 as the value that provides the highest precision, making this approach more applicable to operations that require high accuracy. Yet, asking the machine why some people are in favor of 1023, it took an neutral position, stating that the results do not differ so much and that although 1024 is "dictated" by some obscure mathematical theory, 1023 provides more "practical" results, whatever that means.
  
-Another AI engine was absolutely and without any doubt in favor of 1023. After I insisted that 1024 would be a better option, it explained that the difference is subtle and provided a more detailed explanation. This same engine is do indoctrinated with 1023, that even after I asked it to summarize this article, it still insisted that this article considers 1023 as correct!!! +Another AI engine was absolutely and without any doubt in favor of 1023. After I insisted that 1024 would be a better option, it explained that the difference is subtle and provided a more detailed explanation. This same engine is so indoctrinated with 1023, that even after I asked it to summarize this very same article, it still insisted that this article considers 1023 as correct!!! 
  
 So, if our fellow colleagues of the future would like to be informed on our final verdict, would they consider that it is just a matter of personal opinion? At the time that scientists are arguing on quantum mechanics, how can we leave such a trivial issue without a clear and precise answer? So, if our fellow colleagues of the future would like to be informed on our final verdict, would they consider that it is just a matter of personal opinion? At the time that scientists are arguing on quantum mechanics, how can we leave such a trivial issue without a clear and precise answer?
arduino/divide-by-1023-or-1024.1750495860.txt.gz · Last modified: 2025/06/21 11:51 by Ilias Iliopoulos

Except where otherwise noted, content on this wiki is licensed under the following license: Private License