This documentation is out of date.

The new version of the documentation is here: https://cannylogic.com/docs

CANNY 7.2 duo, ADC Driver

From CANNY Wiki
Revision as of 19:07, 12 August 2019 by Support (Talk | contribs) (Created page with "== 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 c...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Jump to: navigation, search

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
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


Examples

Example of input voltage measurement diagram.

File:17 12 2 1.png


Смотри также

CANNY 7.2 duo