This documentation is out of date.

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

Difference between revisions of "CANNY 5.3 pico, ADC Driver"

From CANNY Wiki
Jump to: navigation, search
[checked revision][checked revision]
(Created page with "== General Description == CANNY 5.3 pico supports Analog-to-Digital Converter (ADC) mode for one special pin (contact #7) of the connector X1. This ADC converter can be used...")
 
Line 2: Line 2:
  
 
CANNY 5.3 pico supports Analog-to-Digital Converter (ADC) mode for one special pin (contact #7) 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
 
CANNY 5.3 pico supports Analog-to-Digital Converter (ADC) mode for one special pin (contact #7) 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
 
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.
 
ADC driver is always active.
Line 37: Line 35:
  
 
[[File:16_10_2_1.PNG]]
 
[[File:16_10_2_1.PNG]]
 +
 +
{|
 +
|valign="top" style="padding-left:0.5em;"|''Note:''
 +
|valign="top" style="padding-left:0.5em;"|''The CANNY 5.3 pico analog-to-digital converter is linear.''
 +
|}
 +
 +
{|
 +
|valign="top" style="padding-left:0.5em;"|''Note:''
 +
|valign="top" style="padding-left:0.5em;"|''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.''
 +
|}
  
 
<!--/NOPDF-->
 
<!--/NOPDF-->

Revision as of 19:06, 26 August 2019

General Description

CANNY 5.3 pico supports Analog-to-Digital Converter (ADC) mode for one special pin (contact #7) 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
ADC Channel Input Value Register
0...4095 = measured ADC value


Examples

Example of input voltage measurement diagram.

16 10 2 1.PNG

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.


Смотри также

CANNY 5.3 pico