This documentation is out of date.
The new version of the documentation is here: https://cannylogic.com/docs |
CANNY 5.3 pico, ADC Driver
From CANNY Wiki
General Description
CANNY 5.3 pico supports Analog-to-Digital Converter (ADC) mode for one special pin (contact #6) of the connector X1. This ADC converter can be used to measurement the input voltage from 0 to 5V with 12-bit resolution and 1 millisecond sample rate
ADC driver is always active.
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.
Note: | The CANNY 5.3 pico analog-to-digital converter is linear. |
Note: | The voltage values at the ADC pin are measured by the controllers at regular intervals. In the interval between measurements, the ADC value register stores the previous measured value. |
Смотри также