This documentation is out of date.
The new version of the documentation is here: https://cannylogic.com/docs |
CANNY 7.2 duo, ADC Driver
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.
Смотри также