TS-8390-49xx ADC Header

From Technologic Systems Manuals
Revision as of 14:00, 12 December 2014 by Mark (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The Microchip MCP3428 analog to digital converter consists of a 4-channel 16 bit sigma-delta converter and two, 2-channel analog switches. The ADC can be configured to 240hz 12-bit, 60hz 14-bit, or 15hz 16-bit samples. These are configured to allow input and conversion on two differential channels and 4 single ended channels. The 6-channel Analog to Digital signals are contained on connector HD5 which is a 16 pin (2x8) 0.1" spacing header. The connector layout and the signals carried by each pin are defined below. The input range for the differential input channels is 0- 2 VDC, and the input range on the single-ended channel is nominally 0-10 VDC.

Pinout Header
Pin Type Signal
1 Single ended Channel 6
2 N/A GND
3 Single ended Channel 5
4 N/A GND
5 Single ended Channel 4
6 N/A GND
7 Single ended Channel 3
8 N/A GND
9 N/A Not connected
10 N/A GND
11 Differential Channel 2-
12 Differential Channel 2+
13 N/A GND
14 Differential Channel 1-
15 Differential Channel 1+
16 N/A GND
TS-8390-ADC.png

The TS-4900 has example code for reading the ADC in the ts4900-utils git. https://github.com/embeddedarm/ts4900-utils/blob/master/src/adc8390.c

This command will configure the ADC to 16-bit samples (15sps) and dump all of the channels:

# adc8390 -r
adc0=409
adc1=52
adc2=0.000
adc3=0.000
adc4=3.360
adc5=2.742