CANNY 7.2 duo, ADC Driver

From CANNY Wiki
Jump to: navigation, search

General Description[edit]

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[edit]

The following shows permissible values for control registers of ADC Driver

ADC driver input registers allows access to the measured value:

Register Returning Values
ADC Channel Input Value Register
0...4095 = measured ADC value
ADC Main Power Input Voltage Value Register, mV
0...32760 = measured Main Power Input Voltage value in millivolts


Example of input voltage measurement diagram.

17 10 2 1.PNG

Смотри также[edit]

CANNY 7.2 duo