ADC-212 Data Interpretation

Post general discussions on using our drivers to write your own software here
Post Reply

ADC-212 Data Interpretation

Post by BasheerG » Fri Jul 09, 2004 4:00 am

Hi guys,

I am writing a VB application to read data from ADC-212 both channels. However, as I noticed from your VB example that you divide by 2047 and then multiply by the voltage range to convert the read data from the two channels to mVolts, as shown below:
volts_a = values_a(index) / 2047 * mv_Range
volts_b = values_b(index) / 2047 * mv_Range

Consequently, I would appreciate if you can inform me if this equation depends on the device connected to the ADC-212 or not? And if there is any factors that I should consider at the conversion time?

Thanks in advance,

// Basheer Al Ghazawi

User avatar
Site Admin
Site Admin
Posts: 598
Joined: Wed May 07, 2003 9:45 am

Post by markspencer » Fri Jul 09, 2004 10:07 am


Thank you for your post.

The equation does not matter what sensor is attached to the ADC-212. However, the voltage range that is used in the program, ie adc200_set_range is the same voltage range that you use in the equation.

To change the adc count into voltage there are no additional factors that need to be considered.

Best regards,

Mark Spencer

Post Reply