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"

From CANNY Wiki
Jump to: navigation, search
[checked revision][checked revision]
(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...")
 
(Examples)
 
(One intermediate revision by the same user not shown)
Line 50: Line 50:
 
Example of input voltage measurement diagram.
 
Example of input voltage measurement diagram.
  
[[File:17_12_2_1.png]]
+
[[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
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.

17 10 2 1.PNG


Смотри также

CANNY 7.2 duo