DAQ system USB-LT02 User manual

USB-LT02 Users Manual (Rev 1.0)
-1- http://www.daqsystem.com
USB-LT02
User’s Manual
Windows, Windows2000, Windows NT and Windows XP are trademarks of Microsoft. We acknowledge that the trademarks or
service names of all other organizations mentioned in this document as their own property.
Information furnished by DAQ system is believed to be accurate and reliable. However, no responsibility is assumed by DAQ
system for its use, nor for any infringements of patents or other rights of third parties which may result from its use. No license is
granted by implication or otherwise under any patent or copyrights of DAQ system.
The information in this document is subject to change without notice and no part of this document may be copied or
reproduced without the prior written consent.
Copyrights 2005 DAQ system, All rights reserved.

USB-LT02 Users Manual (Rev 1.0)
-2- http://www.daqsystem.com
-- Contents --
1. Introduction
2. USB-LT02 Function
3. Installation
3.1 Confirm Product Contents
3.2 Installation Process
4. USB-LT02 Board
4.1 USB-LT02 Description
4.2 Memory Map
4.3 Connector Pin-out
4.4 Sample Program
5. Test
5.1 Input Test
5.2 Output Test
Appendix
A.1 Dimension
A.2 Schematic
A.3 Application Circuit(Isolation I/O)
A.4 USB-LT02(B)
Reference

USB-LT02 Users Manual (Rev 1.0)
-3- http://www.daqsystem.com
1. Introduction
USB-LT02 can control external device through simple provided API using even the
developer who can never know USB.
Connection with the outside uses a screw terminal and it can easily connect. There is special
all-around board which it is prepared a TEST POINT. A simple circuit installs it to own board.
You don’t need to use separately power supply for simple test because USB-LT02 uses PC
power.
Specially, an automation system and the input/output circuit which can operate are composed.
Just usable to the automation control module that it don’t damage to external equipment and
own module.
Figure 1-1 shows that simple test to control 220V lamp with USB-LT02.
[Figure 1-1. USB-LT02 Action]
(Notice) 1. It can control the maximum AC/DC 350V in case of port 54 ~ 57, can use continuously
the minimum 130mA under. (Refer to Figure 3-1.)
2. It can control the maximum AC/DC 60V in case of port 50 ~ 53 and port 40 ~ 47, can use
continuously the minimum 550mA under. (Refer to Figure 3-1.)

USB-LT02 Users Manual (Rev 1.0)
-4- http://www.daqsystem.com
2. USB-LT02 Function
The USB-LT02 has simple structure for easy I/O connection as like Figure 1-1. To
connection USB and I/O take charge of the 8Bit Micro Controller, the command set equally use
the 8051 command set. Each I/O port can set up whether or not there is what a user uses by
input or output.
I/O Port1
USB-LT02
USB Low Speed
Device 2.0
Specification
SIE
USB
Interface
Input/
Output
I/O Port4
I/O Port5
I/O Port6
I/O Port7
16Byte
USB FIFO
Two 16Bit
Timer/Counter
ROM(OTP)
16KByte
RAM
256Byte
8Bit CPU
8051 Compatible
Program Instruction
Isolated Photo
coupler Input
Isolated Solid State
Relay Output
Isolated Solid State
Relay Output
Isolated Photo
coupler Input
Isolated Photo
coupler Input
[Figure 2-1. USB-LT02 Functional Block Diagram]
Internal program memory is taken possession of programmed firmware, program memory is
OTP (One Time Programmable) type.
GENERAL DESCRIPTION
Low Speed device 1.5Mbps
USB HID Interface
8051 Compatible Instruction set
4 clocks per Instruction cycle
16K EPROM, 256Bytes RAM
USB Bus Powered

USB-LT02 Users Manual (Rev 1.0)
-5- http://www.daqsystem.com
APPLICATION
Factory Automation, Home Automation
USB Data acquisition(Temperature/Humidity/voltage/current
USB I/O Control, Remote Control
Factory Control Module
Light Illumination Control
SPECIFICATION
▣Interface
▪USB Powered through USB-B connector MAX 500mA
▪+5V Single Power Operation
▪16 Isolated Photo-coupler Input
▪16 Isolated Solid state Relay Output
▣Functions(Micro-Controller)
▪Two 16bit Timer/Counter
▪User configuration I/O
Schmitt trigger input
Schmitt trigger input with pull –up
N-Ch open drain output
N-Ch open drain output with pull-up
▪One Control endpoint
▪Two Data endpoint
▪30 external interrupt source
▣External connection
▪4pin USB B-type connector
▪28pin DIP form-factor Pin-out
▪6 Test Point
▪40 screw terminal
SOFTWARE
▣Operating System
▪Windows 2000/XP
▣Application Programming Interface
▪Windows Client DLL API
▣Software Development
▪Windows Application by User
▪Custom USB Device Firmware
▪Custom Windows Client DLL

USB-LT02 Users Manual (Rev 1.0)
-6- http://www.daqsystem.com
3. Installation
You confirm whether or not the packing contents are in good order before installation.
3.1 Confirm Product Contents
[Figure 3-1. USB-LT02 Product Contents]
Product Contents
1. USB-LT02 Board
2. USB(A-B) Cable
3. CD (Manual/Source etc.)

USB-LT02 Users Manual (Rev 1.0)
-7- http://www.daqsystem.com
3.2 Installation Process
For USB-LT02 board installation to PC is as follows. There isn’t a Jumper to especially
to set up for board installation in case of USB boards as it is Plug & Play devices.
Also, there is no need to install of device driver because of HID (Human Interface Device)
connection in case of USB-LT02.
(1) First, open the box and connect to PC through USB cable.
(2) The opposite side of USB cable connects to USB-LT02 board.
(3) If cable connection succeeds, LED light on for indication of board supply.
(4) It confirms a driver normally installation in the following ways.
Do the following steps to show up the “Device Manager”window.
[My Computer -> Properties -> Hardware -> Device Manager -> Human Interface
Devices -> “HID-compliant device”
[Figure 3-1. “System Properties” window]

USB-LT02 Users Manual (Rev 1.0)
-8- http://www.daqsystem.com
[Figure 3-2. “System Properties” window]

USB-LT02 Users Manual (Rev 1.0)
-9- http://www.daqsystem.com
[Figure 3-3. Device Manager Window]

USB-LT02 Users Manual (Rev 1.0)
-10- http://www.daqsystem.com
4. USB-LT02 Board
In this chapter, the primary functions of the board are described briefly. For more
information, refer to the device specification.
4.1 USB-LT02 Description
SW1
USB B type
Connector
USB-LT02 Board
28
1 2 3 4 95 6 87 10 11 12 13 14
27 26 25 2024 23 2122 19 18 17 16 15
P57 P56 P55 P54 P5C2 P53 P52 P51 P50 P5C1 P47 P46 P45 P44 P4C2 P43 P42 P41 P40 P4C1
P70 P71 P12 P13 P1C1 P14 P15 P16 P17 P1C2 P60 P61 P62 P63 P6C1 P64 P65 P66 P67 P6C2
DAQ systemUSB-LT02 www.daqsystem.com LED1
LED2
Micom
6.00
[Figure 4-1. USB-LT02 Out-side View]
In case of USB-LT02 as above picture, can easily use I/O, simple circuit is composed it
to own all-around USB-LT02 board. Each component explanation is as follows.
(1) USB B type Connector
The USB-LT02 board connects to the PC through the USB A-B cable. The power
supply and data gives and takes through this cable.

USB-LT02 Users Manual (Rev 1.0)
-11- http://www.daqsystem.com
(2) LED1
It can confirm whether or not there is a stability of a board.
(3) LED2
It confirms supply power to board.
(4) MICOM
It is 8bit Micro Controller which has the 8051 compatible command set. It takes
charge of I/O and USB data communication.
(5) SW1
Board reset button.
(6) P70, P71, P12, P13, P1C1
It is a Photo-coupler Input Terminal. The input voltage can use 12V ~ 24V, no power
polarity in design.
P1C1
P70
Port 7.0
2.4K
VCC
P71
Port 7.1
VCC
P12
Port 1.2
VCC
P13
Port 1.3
VCC
2.4K
2.4K
2.4K
From
External To
Micom Port
[Figure 4-2. Photo-coupler Input Circuit]

USB-LT02 Users Manual (Rev 1.0)
-12- http://www.daqsystem.com
(7) P14, P15, P16, P17, P1C2
It is a Photo-coupler Input Terminal. The input voltage can use 12V ~ 24V, no power
polarity in design. The circuit is same like Figure 4-2.
(8) P60, P61, P62, P63, P6C1
It is a Photo-coupler Input Terminal. The input voltage can use 12V ~ 24V, no power
polarity in design. The circuit is same like Figure 4-2.
(9) P64, P65, P66, P67, P6C2
It is a Photo-coupler Input Terminal. The input voltage can use 12V ~ 24V, no power
polarity in design. The circuit is same like Figure 4-2.
(10) P57, P56, P55, P54, P5C2
It is a Photo Morse (Semiconductor Relay) Output Terminal. The maximum control
voltage is 350V, continuously current is 130mA.
VCC
000
000
000
From
Micom Port To
External
Port 4.0
Port 4.1
Port 4.2
Port 4.3
P4C1
P40
P41
P42
P43
000
[Figure 4-3. Photo Morse (Semiconductor Relay) Output Circuit]

USB-LT02 Users Manual (Rev 1.0)
-13- http://www.daqsystem.com
(11) P53, P52, P51, P50, P5C1
It is a Photo Morse (Semiconductor Relay) Output Terminal. The maximum control
voltage is 60V, continuously current is 5500mA. The circuit is same like Figure 4-3.
(12) P47, P46, P45, P44, P4C2
It is a Photo Morse (Semiconductor Relay) Output Terminal. The maximum control
voltage is 60V, continuously current is 5500mA. The circuit is same like Figure 4-3.
(13) P43, P42, P41, P40, P4C1
It is a Photo Morse (Semiconductor Relay) Output Terminal. The maximum control
voltage is 60V, continuously current is 5500mA. The circuit is same like Figure 4-3.
(Notice) You shall certainly use it within prescribed voltage and current.
Otherwise, a product can be damaged.

USB-LT02 Users Manual (Rev 1.0)
-14- http://www.daqsystem.com
4.2 Memory Map
The board has a program memory and data memory as like general 8051. The program
memory area is OTP type. User can not reprogram it because of the board was
programmed to supply in case of shipment.
So, if you want special program, (You need more speedy response and private
application) please contact to DAQ system.
Program
Memory
Data
Memory
16KByte
256Byte
[Figure 4-4. Memory Map]

USB-LT02 Users Manual (Rev 1.0)
-15- http://www.daqsystem.com
4.3 Connector Pin-out
The board has two connectors. There are the USB-B connector for USB
communication, the PIN-OUT of DIP IC type connector for external I/O and power. And
there is several test points.
USB-B type is a connector for High speed USB connection. Figure 4-5 and Table 1
shows the connector and its pin description.
USB B type
Connector
12
3 4
[Figure 4-5. USB-B Connector(Front View)]
[Table 1. USB-B Connector]
No.
Name
Description
Remark
1
VCC
USB Power +5V
2
D-
USB Signal Minus(Negative)
3
D+
USB Signal Plus(Positive)
4
GND
USB Power GND

USB-LT02 Users Manual (Rev 1.0)
-16- http://www.daqsystem.com
LE
D2
SW1
USB B type
Connector
USB-LT02 Board
MICOM
LE
D1
28
1 2 3 4 95 6 87 10 11 12 13 14
27 26 25 2024 23 2122 19 18 17 16 15
P57 P56 P55 P54 P5C2 P53 P52 P51 P50 P5C1 P47 P46 P45 P44 P4C2 P43 P42 P41 P40 P4C1
P70 P71 P12 P13 P1C1 P14 P15 P16 P17 P1C2 P60 P61 P62 P63 P6C1 P64 P65 P66 P67 P6C2
DAQ systemUSB-LT02 Www.daqsystem.com
[Figure 4-6. PIN-OUT of Screw Terminal Type]
[Table 2. Screw Terminal PIN-OUT]
Name
Description
Remark
P70
Port 7.0 Photo Coupler Input
Refer to Figure 4-2.
P71
Port 7.1 Photo Coupler Input
Refer to Figure 4-2.
P12
Port 1.2 Photo Coupler Input
Refer to Figure 4-2.
P13
Port 1.3 Photo Coupler Input
Refer to Figure 4-2.
P1C1
P70, P71, P12, P13 Common Input
Refer to Figure 4-2.
P14
Port 1.4 Photo Coupler Input
Refer to Figure 4-2.
P15
Port 1.5 Photo Coupler Input
Refer to Figure 4-2.
P16
Port 1.6 Photo Coupler Input
Refer to Figure 4-2.
P17
Port 1.7 Photo Coupler Input
Refer to Figure 4-2.

USB-LT02 Users Manual (Rev 1.0)
-17- http://www.daqsystem.com
P1C2
P14, P15, P16, P17 Common Input
Refer to Figure 4-2.
P60
Port 6.0 Photo Coupler Input
Refer to Figure 4-2.
P61
Port 6.1 Photo Coupler Input
Refer to Figure 4-2.
P62
Port 6.2 Photo Coupler Input
Refer to Figure 4-2.
P63
Port 6.3 Photo Coupler Input
Refer to Figure 4-2.
P6C1
P60, P61, P62, P63 Common Input
Refer to Figure 4-2.
P64
Port 6.4 Photo Coupler Input
Refer to Figure 4-2.
P65
Port 6.5 Photo Coupler Input
Refer to Figure 4-2.
P66
Port 6.6 Photo Coupler Input
Refer to Figure 4-2.
P67
Port 6.7 Photo Coupler Input
Refer to Figure 4-2.
P6C2
P64, P65, P66, P67 Common Input
Refer to Figure 4-2.
P57
Port 5.7 Photo Morse(Semiconductor Relay) Output
Refer to Figure 4-3.
P56
Port 5.6 Photo Morse(Semiconductor Relay) Output
Refer to Figure 4-3.
P55
Port 5.5 Photo Morse(Semiconductor Relay) Output
Refer to Figure 4-3.
P54
Port 5.4 Photo Morse(Semiconductor Relay) Output
Refer to Figure 4-3.
P5C2
P54, P55, P56, P57 Common Output
Refer to Figure 4-3.
P53
Port 5.3 Photo Morse(Semiconductor Relay) Output
Refer to Figure 4-3.
P52
Port 5.2 Photo Morse(Semiconductor Relay) Output
Refer to Figure 4-3.
P51
Port 5.1 Photo Morse(Semiconductor Relay) Output
Refer to Figure 4-3.
P50
Port 5.0 Photo Morse(Semiconductor Relay) Output
Refer to Figure 4-3.
P5C1
P53, P52, P51, P50 Common Output
Refer to Figure 4-3.
P47
Port 4.7 Photo Morse(Semiconductor Relay) Output
Refer to Figure 4-3.
P46
Port 4.6 Photo Morse(Semiconductor Relay) Output
Refer to Figure 4-3.
P45
Port 4.5 Photo Morse(Semiconductor Relay) Output
Refer to Figure 4-3.
P44
Port 4.4 Photo Morse(Semiconductor Relay) Output
Refer to Figure 4-3.
P4C2
P44, P45, P46, P47 Common Output
Refer to Figure 4-3.
P43
Port 4.3 Photo Morse(Semiconductor Relay) Output
Refer to Figure 4-3.
P42
Port 4.2 Photo Morse(Semiconductor Relay) Output
Refer to Figure 4-3.
P41
Port 4.1 Photo Morse(Semiconductor Relay) Output
Refer to Figure 4-3.
P40
Port 4.0 Photo Morse(Semiconductor Relay) Output
Refer to Figure 4-3.
P4C1
P43, P42, P41, P40 Common Output
Refer to Figure 4-3.
(Notice) 1. It can control the maximum AC/DC 350V in case of port 54 ~ 57, can use continuously the
minimum 130mA under.
2. It can control the maximum AC/DC 60V in case of port 50 ~ 53 and port 40 ~ 47, can use
continuously the minimum 550mA under.

USB-LT02 Users Manual (Rev 1.0)
-18- http://www.daqsystem.com
[Table 3. DIP IC PIN-OUT]
Pin No.
Name
Description
Remark
1
P53
Bit 3 of Port 5
2
P52
Bit 2 of Port 5
3
P51
Bit 1 of Port 5
4
P50
Bit 0 of Port 5
5
P47
Bit 7 of Port 4
6
P46
Bit 6 of Port 4
7
P45
Bit 5 of Port 4
8
P44
Bit 4 of Port 4
9
P43
Bit 3 of Port 4
10
P42
Bit 2 of Port 4
11
P41
Bit 1 of Port 4
12
P40
Bit 0 of Port 4
13
P66
Bit 6 of Port 6
2
14
GND
Power Ground, Supply power to external board.
15
P65
Bit 5 of Port 6
16
P17
Bit 7 of Port 1
3
17
P16
Bit 6 of Port 1
3
18
P15
Bit 5 of Port 1
3
19
P14
Bit 4 of Port 1
3
20
P13
Bit 3 of Port 1
3
21
P12
Bit 2 of Port 1
3
22
P71
Bit 1 of Port 7
23
P70
Bit 0 of Port 7
24
P57
Bit 7 of Port 5
25
P56
Bit 6 of Port 5
26
P55
Bit 5 of Port 5
27
P54
Bit 4 of Port 5
28
+5V
USB power +5V, Supply power to external board.

USB-LT02 Users Manual (Rev 1.0)
-19- http://www.daqsystem.com
[Table 4. Test Point PIN-OUT]
Name
Description
Remark
TP0
Bit 0 of Port 6
2
TP1
Bit 1 of Port 6
2
TP2
Bit 2 of Port 6
2
TP3
Bit 3 of Port 6
2
TP4
Bit 4 of Port 6
2
(Remark)
1. A bit 7 of Port6 is connected to LED2, this bit is set up to output. If output is “Low” and “ 0V”,
LED2 light on.
2. There is a circuit to limit current to internal in case of Port6. If LED light on, there is no need to
limit special current resistor to external.
3. The port1 has same specification of port1 of standard 8051. In other words, it can set up weak
pull-up only.
4.4 Sample Program
A sample program is provided to make the user get familiar with the board operation.
There is no installation of special driver because USB HID device is used to driver with
supported Windows system.
The sample program has two programs. One is a program to decision whether the board
is strange action or not. The other is a program to set up I/O of each port and to control
output.
[Figure 4-7. Sample Program 1]

USB-LT02 Users Manual (Rev 1.0)
-20- http://www.daqsystem.com
[Figure 4-8. Sample Program 2, When “All Input”Click]
To run the sample application program, you need to use API (Application Programming
Interface), which is a form of client DLL. To compile the sample source to make its
executable file, you have to use Import Library files and Header files. You can find them in
the CDROM.
On --- LED On of each port.
Off --- LED Off of each port.
All Input --- The LED lights on all ports as [Figure 4-8].
All Output --- The LED goes out all ports as [Figure 4-9].
Table of contents