This documentation is out of date.
The new version of the documentation is here: https://cannylogic.com/docs |
Difference between revisions of "CANNY 7.2 duo, ADC Driver"
[checked revision] | [checked revision] |
(→Examples) |
(→Examples) |
||
Line 50: | Line 50: | ||
Example of input voltage measurement diagram. | Example of input voltage measurement diagram. | ||
− | [[File: | + | [[File:17_10_2_1.PNG]] |
<!--/NOPDF--> | <!--/NOPDF--> |
Latest revision as of 19:01, 26 August 2019
General Description
CANNY 7.2 duo supports Analog-to-Digital Converter (ADC) mode for one special contact of the plate. The ADC pin can be connected to pin 1 of the X3 connector (channel 8) through a special pad.
This ADC converter have about 110k input impedance and can be used to measurement the input voltage from 0 to 32V with 12-bit resolution and 1 millisecond sample rate.
ADC driver is always active.
Also, it is possible to determine the Main Power Input voltage of the controller, for which a separate ADC is used. Information on the value of the ADC power supply of the controller is available in a special register.
Drivers Registers
The following shows permissible values for control registers of ADC Driver
ADC driver input registers allows access to the measured value:
Register | Returning Values | ||||
---|---|---|---|---|---|
|
| ||||
|
|
Examples
Example of input voltage measurement diagram.
Смотри также