title: Convert ADC Bins into Voltage
body: <p>Let's say I have a 12-bit Analog to Digital Converter (4096 bins).  And let's say I have a signal from 0 to 5 Volts.</p>
  
  <p>What is the proper conversion formula to convert ADC bins into Volts?</p>
  
  <pre><code>V = ADC / 4096 * 5
  </code></pre>
  
  <p>or</p>
  
  <pre><code>V = ADC / 4095 * 5
  </code></pre>
  
  <p>Do I divide by 4096 because there are 4096 bins in the ADC?<p>
  Or do I divide by 4095 because that is the highest value that the ADC returns?</p>