Rev. 1.0 (June 2012) 7 © DLP Design, Inc.
Set
Reference
Voltage &
Save
Two-Byte
Command
Select
Reference
Voltage for
ASCII Mode
Voltage
Calculation
Command:
‘*’ (0x2A)
Followed by
‘0’ – ‘9’.
0 0 2.2V reference selected and saved.
1 1 2.5V reference selected and saved.
2 2 3.0V reference selected and saved.
3 3 3.3V reference selected and saved.
4 4 3.5V reference selected and saved.
5 5 4.0V reference selected and saved.
6 6 4.096V reference selected and saved.
7 7 4.5V reference selected and saved.
8 8 4.8V reference selected and saved.
9 9 5.0V reference selected and saved. (Default)
Reference voltage used in ASCII Mode by the DLP-IO14
for calculating voltage. (Not required in Binary Mode
since actual voltage is calculated in the host program.)
Selection is saved for power-up default. EX:
*9 sent via
HyperTerminal sets 5.0 volt reference.
Set Sample
Rate &
Save
Two-Byte
Command
Select the
A/D Sample
Rate Used
by
Command
0x7A
Command:
‘=’ (0x3D)
Followed by
‘0’-‘7’ or
0x30-0x37
0 0x30 200s/s selected and saved.
1 0x31 500s/s selected and saved.
2 0x32 1Ks/s selected and saved.
3 0x33 2Ks/s selected and saved.
4 0x34 4Ks/s selected and saved.
5 0x35 10Ks/s selected and saved.
6 0x36 20Ks/s selected and saved.
7 0x37 30Ks/s selected and saved.
Sets the A/D sample rate for Command 0x7A. The
selection is saved for power-up default. EX: 0x3D, 0x05
sets the conversion rate at 10K samples per second.
Set
Number of
Samples &
Save
Two-Byte
Command
Set the
Number of
Samples
Acquired by
Command
0x7A
Command:
‘[‘ (0x5B)
Followed by
‘0’-‘8’ or
0x30-0x38
0 0x30 32 return samples selected and saved.
1 0x31 64 return samples selected and saved.
2 0x32 128 return samples selected and saved.
3 0x33 256 return samples selected and saved.
4 0x34 512 return samples selected and saved.
5 0x35 1024 return samples selected and saved.
6 0x36 2048 return samples selected and saved.
7 0x37 4096 return samples selected and saved.
8 0x38 8192 return samples selected and saved.
Sets the number of A/D samples returned from
Command 0x7A. The selection is saved for power-up
default. EX: 0x5B, 0x06 sets the number of samples to
2048.
Read
Current
Setup
Read and
Return the
Current
Saved Setup
j 0x6A Returns the six saved parameters. (See Table 3 for a
description of each parameter.)
In ASCII Mode, six ASCII characters (0-9) separated by
spaces are returned followed by a CR/LF.
In Binary Mode, 6 bytes are returned.
Rev. 1.0 (June 2012) 8 © DLP Design, Inc.
Single A/D
Conversion
Read Analog
Voltage from
the Current
Channel and
Return to Host
v 0x76 Read a single voltage from the selected channel.
2 bytes are returned for each conversion.
If in ASCII Mode, voltage is calculated using current
voltage reference parameters (see Table 3) and
returned as an ASCII string followed by CR/LF.
If in Binary Mode, two bytes for the 10-bit A/D counts
are returned--LSByte first. To calculate voltage for
Channels 1-12:
int temp = byte2 * 255 + byte1;
float volts = temp / 1023 * reference voltage;
To calculate voltage for ch13 or ch14, *add* this line of
code:
volts = ( volts - (vrefvoltage/2.0) ) * 2.0;
Multiple
A/D
Conversion
Read Multiple
Analog
Voltages from
the Current
Channel and
Return to Host
z 0x7A Read multiple voltages from the selected channel per
the selected setup parameters (see Table 3).
2 Bytes are returned for each conversion.
This command is only available in Binary Mode.
Two bytes for the 10-bit A/D counts from each
measurement are returned; MSByte first.
To calculate voltage for Channels 1-12:
int temp = byte1 * 255 + byte2;
float volts = temp / 1023 * reference voltage;
To calculate voltage for ch13 and ch14, *add* this line
of code:
volts = ( volts - (vrefvoltage/2.0) ) * 2.0;
Notes
:
1. Requires a DS18B20+ digital temperature sensor (purchased separately). See Section 10.0 of
this document for connection details. Before issuing a Convert Sensor Command, make sure
that a digital temperature sensor is present on the selected digital I/O channel with a 1.5K-ohm
pullup resistor. (Refer to the DLP-IO14 demo code provided for temperature calculation method
in Binary Mode.) Other examples are available from www.maxim-ic.com
in Application Note
AN162.pdf.
2. Using the host 5V power supply as a reference may not produce accurate voltage measure-
ments. For better accuracy, connect and select a precision voltage reference to Channel 3. (See
Commands 0x78 and 0x2A for more details.)
Rev. 1.0 (June 2012) 9 © DLP Design, Inc.
TABLE 3
Selectable Power-Up Default Settings
Range Voltage
Reference
Sample
Rate
Number of Samples
Returned
°C/°F Return
Mode
Reference
Source
0 2.2V 200s/s 32 °F ASCII Internal 5V
1 2.5V 500s/s 64 °C Binary External
2 3.0V 1Ks/s 128
3 3.3V 2Ks/s 256
4 3.5V 4Ks/s 512
5 4.0V 10Ks/s 1024
6 4.096V 20Ks/s 2048
7 4.5V 30Ks/s 4096
8 4.8V 8192 Default
9 5.0V
9.0 REFERENCE JUMPER SELECTION
A three-pin jumper selection is provided for setting the reference used by the analog input buffer for
Channels 13 and 14. These channels accept voltages in the range of ±5V if the internal reference is
selected. If the external reference is selected and an external reference voltage is applied to Channel 3,
then the input voltage range can be from ±2.2V up to ±5.0V.
Pin 1 of this 3-pin jumper is closest to Wiring Terminal A1. Place a jumper across Pins 1 and 2 to select
the external reference applied to the terminal for Channel 3. Place the jumper across 2 and 3 to select
the internal 5V reference (factory default).

DLP-IO14

Mfr. #:
Manufacturer:
FTDI Chip
Description:
Interface Development Tools DLP Module
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet