DLP-UTH8

DLP-UTH8
LEAD-FREE
8-CHANNEL DATA COLLECTION HUB
1.0 INTRODUCTION
The DLP-UTH8 is a low-cost, easy-to-use active hub used for connecting multiple temperature and
humidity sensors to one PC featuring 4th generation USB silicon from FTDI. All operational power is
taken from the host PC via the USB port. The temperature and humidity sensor modules (shown
below) connect to the DLP-UTH8 using standard Cat-5 intranet cable.
The software running in the hub continuously checks all ports for the presence of sensor modules and
automatically reads the data from all connected sensors. The most current data is held in memory
until requested by the host PC.
2.0 SPECIFICATIONS
The DLP-UTH8 is compatible with two sensor modules: the DLP-THS-T and DLP-THS-H. The
specifications for each module are shown here.
Module
Temperature
Humidity
Accuracy (T)
Accuracy (H)
DLP-THS-T
(Temperature Only)
-55 to 125°C (-67 to 257°F)
DLP-THS-H
(Temperature and Humidity)
-40 to 123.8°C (-40 to 254.9°F)
0 to 100% RH
±2.0°C (-30 to 80°C)
±3%RH (20 to 80%), ±5%RH (0 to 100%)
±0.5°C (-10 to 85°C)
Rev. 1.4 (August 2008)
1
© DLP Design, Inc.
3.0 ABSOLUTE MAXIMUM RATINGS
Stresses above those listed here may cause permanent damage to the DLP-UTH8 hub:
¾ Operating Temperature: 0-70°C
Only DLP-THS sensor modules are compatible with the DLP-UTH8 hub. Connecting any other type
device may cause permanent damage to the hub.
4.0 USB DRIVERS
USB drivers for the following operating systems are available for download from the DLP Design
website:
Mac OSX
Mac OS9
Mac OS8
L in u x
Windows XP x64
Windows Server 2003
Windows 2000
Windows 98, ME
These drivers are available for download from the following page: http://www.dlpdesign.com/DNLD8/.
NOTE: If you are using the dual-mode drivers from FTDI (CDM2.00.00) and wish to use the Virtual
COM Port (VCP) drivers instead, then it may be necessary to disable the D2XX drivers first via Device
Manager. Right click on the entry under USB Controllers that appears when the DLP-UTH8 is
connected, select Properties, select the Advanced tab, check the option for “Load VCP” and click OK.
Once you unplug and then replug the DLP-UTH8, a COM port should appear in Device Manager
under Ports (COM & LPT).
5.0 USING THE DLP-UTH8
Simply connect the DLP-UTH8 to the PC to initiate the loading of drivers. Once the drivers are
loaded, the DLP-UTH8 is ready for use. All commands are single-byte commands.
You can either utilize a simple terminal-emulator program or write your own program in your language
of choice. Begin by opening the COM port, set the baud rate to 9600 (1 start bit, no parity, 8 data bits,
1 stop bit), and send single-byte commands as shown below. The Ping command can be used to
locate the correct COM port to be used for communicating with the DLP-UTH8, or you can look in
Device Manager to see which port Windows has assigned to the DLP-UTH8.
NOTE: If a COM port is not present after installing the CDM drivers, connect the USB device and
open Control Panel > System > Device Manager. Right click on DLP-UTH8 under USB Controllers
and select Properties, then the Advanced tab. Check the box marked "Load VCP" then click OK.
Unplug and re-plug the DLP-UTH8 and the COM port will be added.
Rev. 1.4 (August 2008)
2
© DLP Design, Inc.
COMMAND
DESCRIPTION
DATA RETURNED
‘ (27h)
? (3Fh)
] (5Dh)
\ (5Ch)
L (4Ch)
; (3Bh)
Ping
Help
Select ASCII data return
Select Binary data return
Select Degrees F
Select Degrees C
Z (5Ah)
ASCII help text (Terminal Emulator required)
None
None
None
None
1 (31h)
2 (32h)
3 (33h)
4 (34h)
5 (35h)
6 (36h)
7 (37h)
8 (38h)
Return CH1 temperature data
Return CH2 temperature data
Return CH3 temperature data
Return CH4 temperature data
Return CH5 temperature data
Return CH6 temperature data
Return CH7 temperature data
Return CH8 temperature data
ASCII or Binary data
ASCII or Binary data
ASCII or Binary data
ASCII or Binary data
ASCII or Binary data
ASCII or Binary data
ASCII or Binary data
ASCII or Binary data
Q (51h)
W (57h)
E (45h)
R (52h)
T (54h)
Y (59h)
U (55h)
I (49h)
Return CH1 humidity data
Return CH2 humidity data
Return CH3 humidity data
Return CH4 humidity data
Return CH5 humidity data
Return CH6 humidity data
Return CH7 humidity data
Return CH8 humidity data
ASCII or Binary data
ASCII or Binary data
ASCII or Binary data
ASCII or Binary data
ASCII or Binary data
ASCII or Binary data
ASCII or Binary data
ASCII or Binary data
6.0 RETURN DATA TYPES
By default, the DLP-UTH8 returns data to the host PC in the form of ASCII text such that it can be
easily displayed using a simple terminal emulator. Alternatively, data can be returned in binary form
requiring the user’s host application to calculate the current temperature.
Rev. 1.4 (August 2008)
3
© DLP Design, Inc.
7.0 CALCULATION METHODS
The following example code shows how to calculate temperature and humidity if returning data in the
binary mode:
void calctemp(int mode, int MSByte, int LSByte, float *degc)
{
int degc_temp;
int isnegative;
if(mode == 0) // Humidity Sensor
{
degc_temp = LSByte | (MSByte << 8);
*degc = (float)(( -40.00 + (0.01 * (double)degc_temp)));
}
if(mode == 1) // Temperature only sensor
{
degc_temp = MSByte | (LSByte << 8);
isnegative=0;
if( (degc_temp & 0x8000) == 0x8000 )//if MSBit is set then negative temperature
{
degc_temp &= 0x07ff;
isnegative=1;
degc_temp = 0x800 - degc_temp;
}
degc_temp &= 0x07ff;
*degc = (float)((float)degc_temp/16.0);
if(isnegative)
*degc *= -1.0;
}
}
double calchum(int MSByte, int LSByte, float degc)
{
//the degc parameter is the temperature from the humidity sensor
int hum_temp;
double rhtrue, rhlin;
double tempC;
hum_temp = LSByte | (MSByte << 8);
tempC = (float)(( -40.00 + (0.01 * (double)degc)));
rhlin = -4.0 + (.0405*(float)hum_temp) + (-2.8e-6*(float)hum_temp*(float)hum_temp);
rhtrue = (tempC - 25.0) * (.01 + .00008 * hum_temp) + rhlin;
return rhtrue;
}
Rev. 1.4 (August 2008)
4
© DLP Design, Inc.
8.0 DISCLAIMER
© DLP Design, Inc., 2008
Neither the whole nor any part of the information contained herein nor the product described in this
manual may be adapted or reproduced in any material or electronic form without the prior written
consent of the copyright holder.
This product and its documentation are supplied on an as-is basis, and no warranty as to their
suitability for any particular purpose is either made or implied. DLP Design, Inc. will not accept any
claim for damages whatsoever arising as a result of the use or failure of this product. Your statutory
rights are not affected. This product or any variant of it is not intended for use in any medical
appliance, device, or system in which the failure of the product might reasonably be expected to result
in personal injury.
This document provides preliminary information that may be subject to change without notice.
12.0 CONTACT INFORMATION
DLP Design, Inc.
1605 Roma Lane
Allen, TX 75013
Phone: 469-964-8027
Fax:
415-901-4859
Email Sales:
sales@dlpdesign.com
Email Support: support@dlpdesign.com
Website URL: http://www.dlpdesign.com
Rev. 1.4 (August 2008)
5
© DLP Design, Inc.
D
1
2
3
4
C17
.01
5
1
FB1
240-1018-1
C6
47pF
2
C2
10/10 Tant
C5
.1uF
C10
.1uF
C7
47pF
20
16
15
8
19
24
27
28
17
4
3
U1
IN
COUT
OUT
U3
PQ1L333M2SP
CIN
VCC5 IN
USBDM
USBDP
VCCIN/NC
RESET#
AVCC/NC
OSCI
OSCO
3V3OUT
FT232R
C15
.1
18
31
30
44
1
SW3V3
TOHST
FRMHST
R3
47K
17
16
C16
.1
RB7/PGD
RB6/PGC
Vpp/MCLR
OSC2
OSC1
RC6/TX
RC7/RX
5
1
28
7
23
CN1
Type A
C1
.47uF
C8
.1uF
C13
18pF
Y1
10MHz
C14
18pF
1A
2A
3A
4A
5A
6A
VDD
VDD
VDDCORE
4
4
4
VCCIO
GND
2
13
12
34
33
Vss
Vss
C
RESET
SW3V3
J?A
Target Programming Header
5
AGND
GND
GND
GND
TEST
25
7
18
21
26
NC
NC
NC
NC
29
6
B
A
5
23
22
13
14
12
1
5
3
11
2
9
10
6
E0
E1
E2
B1
B2
B3
B4
B5
C0
C1
C2
C3
C4
C5
D0
D1
D2
D3
D4
D5
A0
A1
A2
A3
A5
R1
30K
Q2
IRLML6402CT P
C12
.1uF
FRMHST
TOHST
C3
10/10 Tant
3.3V
C9
.01uF/0603
TXD
RXD
RTS#
CTS#
DTR#
DSR#
DCD#
RI#
19
20
21
22
24
8
9
10
11
14
15
32
35
36
37
42
43
38
39
40
41
2
3
4
5
25
26
27
C4
10/10 Tant
CBUS0
CBUS1
CBUS2
CBUS3
CBUS4
RA0
RA1
RA2
RA3
RA5
RB0
RB1
RB2
RB3
RB4
RB5
RC0
RC1
RC2
RC3
RC4
RC5
RD0
RD1
RD2
RD3
RD4
RD5
RD6
RD7
E0
E1
E2
U2
18F44J10 TQFP
R2
47K
C11
.1uF
SW3V3
RESET
Q1
MMBT3904
3
C0
C2
C1
C3
D1
D0
D2
C4
D3
C5
D5
D4
E0
E2
E1
A2
A5
A3
B5
A1
A0
B2
B4
B3
SW3V3
3
R5
1K
R6
1K
R7
1K
R8
1K
R9
1K
R10
1K
R11
1K
R12
1K
Digikey # A31451-ND
Mouser # 571-557562-1
1A
2A
3A
4A
5A
6A
7A
8A
1A
2A
3A
4A
5A
6A
7A
8A
GND
VCC
GND
GND
SHclk Sensor 3
SHdata
GND
DSdata
GND
VCC
GND
GND
SHclk Sensor 2
SHdata
GND
DSdata
GND
VCC
GND
GND
SHclk Sensor 1
SHdata
GND
DSdata
2
1A
2A
3A
4A
5A
6A
7A
8A
GND
VCC
GND
GND
SHclk Sensor 4
SHdata
GND
DSdata
CN2
1A
2A
3A
4A
5A
6A
7A
8A
RJ-45 x 4
1A
2A
3A
4A
5A
6A
7A
8A
1A
2A
3A
4A
5A
6A
7A
8A
GND
VCC
GND
GND
SHclk Sensor 7
SHdata
GND
DSdata
GND
VCC
GND
GND
SHclk Sensor 6
SHdata
GND
DSdata
GND
VCC
GND
GND
SHclk Sensor 5
SHdata
GND
DSdata
CN2
Digikey # A31451-ND
Mouser # 571-557562-1
1A
2A
3A
4A
5A
6A
7A
8A
GND
VCC
GND
GND
SHclk Sensor 8
SHdata
GND
DSdata
RJ-45 x 4
1A
2A
3A
4A
5A
6A
7A
8A
2
1
SW3V3
Red LED - 5300H1
D1
DLP-UTH8
Version 1.0
B1
R4
360
1
D
C
B
A