ADC 10 User's Guide Page 9

  • Download
  • Add to my manuals
  • Print
  • Page
    / 24
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 8
Product Features
7
Copyright © 1995-2007 Pico Technology. All rights reserved. adc1042.en-2
BM_STREAM is useful when you need to collect data continuously for long periods. In
principle, it would be possible to collect data indefinitely. Each time adc10_get_values
is called, it returns the new readings since the last time it was called. No_of_values
passed to adc10_run must be sufficient to ensure that the buffer does not overflow
between successive calls to adc10_get_values. For example, if you call
adc10_get_values every second, and you are collecting 500 samples per second,
no_of_values must be at least 500, and preferably 1000 to give some allowance for
delays in the operating system.
3.4
Technical information
Scaling (Converting from ADC counts to voltage)
3.4.1
Scaling
The ADC-10 is an 8-bit unipolar analog to digital converter. This means that it
produces values in the range 0 to 255 to represent voltages between 0 and 5 volts. To
convert from ADC readings to volts, you should multiply by 5 and divide by 255. Thus,
an ADC reading of 132 represents 132 x 5 / 255 = 2.588 volts.
The ADC-12 is a 12-bit unipolar analog to digital converter. This means that it
produces values in the range 0 to 4095 to represent voltages between 0 and 5 volts.
To convert from ADC readings to volts, you should multiply by 5 and divide by 4095.
Thus, an ADC reading of 132 represents 132 x 5 / 4095 = 0.161 volts.
The ADC-40 is an 8-bit bipolar analog to digital converter. This means that it produces
values in the range 0 to 255 to represent voltages between -5 and 5 volts. To convert
from ADC readings to volts, you should subtract 128, multiply by 5 and divide by 128.
Thus, an ADC reading of 132 represents (132-128) x 5 / 128 = 0.156 volts.
The ADC-42 is a 12-bit bipolar analog to digital converter. This means that it produces
values in the range 0 to 4095 to represent voltages between -5 and 5 volts. To
convert from ADC readings to volts, you should subtract 2048, multiply by 5 and
divide by 2048. Thus, an ADC reading of 132 represents (132-2048) x 5 / 2048 =
-4.677 volts.
Page view 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 ... 23 24

Comments to this Manuals

No comments