Rev. 1.6 (October 2010) 7 © DLP Design, Inc.
A/D Setup
u
0x75 No Analogs A/D Converter disabled
v
0x76 CH1 Only A/D active on Channel 1 only
w
0x77 CH1 and CH2 A/D active on Channels 1 and 2
x
0x78 CH1,2,3 A/D active on Channels 1 through 3
y
0x79 CH1,2,3,4 A/D active on Channels 1 through 4
z
0x7A CH1,2,3,4,5 A/D active on Channels 1 through 5
#
0x23 CH1,2,3,4,5,6 A/D active on Channels 1 through 6
$
0x24 CH1 – CH7 A/D active on Channels 1 through 7
%
0x25 CH1 – CH8 A/D active on Channels 1 through 8
LED Commands
{
0x7B LED Off
}
0x7D LED On
Note 1 – Data is returned in either the form of ASCII characters (ex: 1.25V, 78.2°F) or binary (raw data)
depending upon the current mode. The power-up default mode is ASCII such that data is easily read using a
terminal emulator program.
Note 2 – Requires DS18B20 digital temperature sensor (purchased separately). See Section 8.0 of this
document for connection details.
8.0 TEMPERATURE
Up to 14 DS18B20 digital temperature sensors can be connected to the DLP-232PC. For best
performance, use Category 5 type computer cable to connect the sensors to the DLP-232PC. Two
pairs of wires in the Cat 5 cable are required for the connection. The first pair is for Power (5V) and
Ground, and the second pair is designated as Data and Ground. In addition, a pull-up resistor is
required for the data line in the range if 1.5K-4.7K Ohms. Figure 1 shows an example of this
connection using I/O Channel 11:
FIGURE 1
1. GND
2. DATA
3. VCC
Pin 1
DS18B20
DLP-232PC
1
.
5
K
-
4
.
7
K
O
h
m
9
1
0
1
1
The first time temperature data is requested, a value of 999.99° (0xFF x 2 if in Binary Mode) is
returned. Subsequent reads will return valid temperature data if a temperature sensor is properly
configured and connected to the specified I/O port. If no sensor is connected, a Temperature
command will always return 999.99°. Please note that the PAR versions of the sensor
(DS18B20+PAR) will not work with the 232PC firmware.