Deditec USB-RS232-TTL-STICK Hardware-Description

USB-RS232-TTL-STICK
Hardware-Description
2010
Oktober
INDEX
1. Introduction 4
1.1. General remarks 4
1.2. Customer satisfaction 4
1.3. Customer response 4
2. Hardware description 6
2.1. Technical data 7
2.2. 3pin connection cable 8
2.3. LED's 8
3. Software 10
3.1. “VCP Driver (Virtual COM-Port)” Installation 10
4. Appendix 13
4.1. Product information 13
4.2. Revisions 14
4.3. Copyrights and trademarks 15
Index | 2Seite
Introduction
Introduction | Seite 3
1. Introduction
1.1. General remarks
First of all, we would like to congratulate you to the purchase of a high quality DEDITEC product.
Our products are being developed by our engineers according to quality requirements of high standard. Already during design and development we take care that our products have -besides quality- a long availability and an optimal flexibility.
Modular design
The modular design of our products reduces the time and the cost of development. Therefor we can offer you high quality products at a competitive price.
Availability
Because of the modular design of our products, we have to redesign only a module instead of the whole product, in case a specific component is no longer available.
1.2. Customer satisfaction
Our philosophy: a content customer will come again. Therefor customer satisfaction is in first place for us.
If by any chance, you are not content with the performance of our product, please contact us by phone or mail immediately.
We take care of the problem.
1.3. Customer response
Our best products are co-developments together with our customers. Therefor we are thankful for comments and suggestions.
Introduction | Seite 4
Hardware description
II
Hardware description |Seite 5
2. Hardware description
This USB to RS-232 converter (TTL-Level) is suitable for e.g. debugging on microcontroller circuits. Also your processor board will be protected by galvanic isolation.
This little USB-Stick transmits serial data with TTL-Level (e.g. debugging informations) on the USB port. Normally there are only TTL-Signals available on serial ports by processors. With this tool these signals can be comfortably displayed on your PC or notebook. The “sensitive TTL-Signals” will be savely connected by galvanic isolation to a PC.
Hardware description |Seite 6
2.1. Technical data
+5V power supply (USB-BUS) USB to RS-232 (TTL-Level) A LED for TX and RX Galvanically isolated 50 Baud ..3MBaud (configurable per software) Windows VCP (Virtual COM Port) Linux Driver inclusive Dimensions: 84,5 x 21 x 12,5/9,5 mm (without cable)
Hardware description |Seite 7
2.2. 3pin connection cable
Pin
Brown
RX
White
TX
Green
GND
The connection to the stick on the RS-232 side will be made by a 3pin connection cable. The ends of the wires are labeled with "RX", "TX" and "GND".
RS-232 Pin Assignment
2.3. LED's
Two LED’s visualisation of transmit and receivedata.
1*TX (transmit) 1*RX (receive)
Hardware description |Seite 8
Software
III
Software | Seite 9
3. Software
3.1. “VCP Driver (Virtual COM-Port)” Installation
Insert the DEDITEC driver CD in your CD drive and start “vcp_driver_install. exe”. The “VCP driver (Virtual COM-Port)” software is also available at http://
www.deditec.de/en/entwicklungstools/download.html.
Press “Install”.
Software | Seite 10
The driver will be installed.
The “VCP Driver (Virtual COM-Port)” Software has been installed now. Press “Close” to finish installation.
Software | Seite 11
Appendix
IV
Appendix | Seite 12
4. Appendix
4.1. Product information
Ord.no.: USB-RS232-TTL-STICK
Product: USB-RS-232 (TTL-Level)-converter for the connection
to serial ports (TTL-Level) to PC by USB
Productlink: http://www.deditec.de/en/entwicklungstools/prod/usb-rs232-ttl-
stick.html
Appendix | Seite 13
4.2. Revisions
Rev 1.00 First issue Rev 2.00 Design change
Appendix | Seite 14
4.3. Copyrights and trademarks
Linux is registered trade-mark of Linus Torvalds.
Windows CE is registered trade-mark of Microsoft Corporation.
USB is registered trade-mark of USB Implementers Forum Inc.
LabVIEW is registered trade-mark of National Instruments.
Intel is registered trade-mark of Intel Corporation
AMD is registered trade-mark of Advanced Micro Devices, Inc.
Appendix | Seite 15
RO-USB-INTERFACE
Hardware-Description
2010
Oktober
INDEX
1. Introduction 5
1.1. General remarks 5
1.2. Customer satisfaction 5
1.3. Customer response 5
2. Hardware description 7
2.1. Overview screen 7
2.2. Technical data 8
2.3. Plug-in connector of the module 9
2.3.1. Power supply
2.3.2. USB interface
2.4. Control LEDs 10
2.4.1. Definition of the LEDs
10
3. Software 12
3.1. Using our products 12
3.1.1. Access via graphical applications
3.1.2. Access via the DELIB driver library
3.1.3. Access via protocol
3.1.4. Access via provided test programs
3.2. DELIB driver library 14
3.2.1. Overview
3.2.2. Supported operating systems
3.2.3. Supported programming languages
3.2.4. Installation DELIB driver library
3.2.5. DELIB Configuration Utility
3.3. Test programs 20
12 12 12 13
14 16 16
17 19
9 9
3.3.1. Digital Input-Output Demo
3.3.2. Analog Input-Output Demo
3.3.3. Stepper Demo
20
21
22
Index | 2Seite
INDEX
4. Appendix 24
4.1. Revisions 24
4.2. Copyrights and trademarks 25
Index | 3Seite
Introduction
Introduction | Seite 4
1. Introduction
1.1. General remarks
First of all, we would like to congratulate you to the purchase of a high quality DEDITEC product.
Our products are being developed by our engineers according to quality requirements of high standard. Already during design and development we take care that our products have -besides quality- a long availability and an optimal flexibility.
Modular design
The modular design of our products reduces the time and the cost of development. Therefor we can offer you high quality products at a competitive price.
Availability
Because of the modular design of our products, we have to redesign only a module instead of the whole product, in case a specific component is no longer available.
1.2. Customer satisfaction
Our philosophy: a content customer will come again. Therefor customer satisfaction is in first place for us.
If by any chance, you are not content with the performance of our product, please contact us by phone or mail immediately.
We take care of the problem.
1.3. Customer response
Our best products are co-developments together with our customers. Therefor we are thankful for comments and suggestions.
Introduction | Seite 5
Hardware description
II
Hardware description |Seite 6
2. Hardware description
2.1. Overview screen
The figure below shows the control module with USB-interface (left side) combined with an input/output module (right side). For a connection to the USB bus, an adequate adapter module in form of a USB-stick is included.
The figure below shows the control module with USB interface (left side) combined with a flexible conntector input/output module (right side). For a connection to the USB bus, an adequate adapter module in form of a USB-stick is included with.
Hardware description |Seite 7
2.2. Technical data
Single power supply +7V..+24V DC 7 control LEDs USB interface Transmission range up to 100m! USB 2.0 and USB 1.1 Data transfer speed: 12 MBit/s or 1,5 MBit/s Galvanically isolated interface using optocouplers 9 pol. D-SUB connector Timeout feature providing ability to disconnect outputs for safety reasons Comfortable connector system with ejection mechanism Expandable in 16 gradations Can be combined without any problem to other modules of the RO series
Hardware description |Seite 8
2.3. Plug-in connector of the module
2.3.1. Power supply
The input-power-supply-range lies between +7V and +24V DC. Power supply can be realized with a standard AC/DC adaptor with 1A output current. A suitable plug-in connector is included.
2.3.2. USB interface
module in form of a USB stick with a connection cable. The stick has two optocouplers ensuring a galvanical isolation to the PC.
The other end of the adapater is a 9 pol. D-SUB connector which is connected to the RO-module.
Hardware description |Seite 9
2.4. Control LEDs
LED
Description
3,3V
Internal 3,3V power supply
5V
Internal 5V power supply
Interface Activity
Active communication- over the USB bus
ERROR
Error during USB-transfer (for details see document ”USB protocol”)
Inputs: Change
State change between 2 read-out cylces detected
Outputs: Auto-Off
Due to timeout, all outputs are switched-off for safety reasons
I/O Access
CPU-access on the inputs and outputs of the connected modules
The USB module has a series of control LEDs. They are used for easy visual indication of various state functions.
While switching-on the module, it should signalize the following sequence:
all five LEDs flashing briefly right LED (I/O access) flashing briefly all five LEDs flashing briefly
2.4.1. Definition of the LEDs
Hardware description |Seite 10
Software
III
Software | Seite 11
3. Software
3.1. Using our products
3.1.1. Access via graphical applications
We provide driverinterfaces e.g. for LabVIEW and ProfiLab. The DELIB driver library is the basis, which can be directly activated by ProfiLAB.
For LabVIEW, we provide a simple driver connection with examples!
3.1.2. Access via the DELIB driver library
In the appendix, you can find the complete function reference for the integration of our API-functions in your software. In addition we provide examples for the following programming languages:
C C++ C# Delphi VisualBasic VB.NET MS-Office
3.1.3. Access via protocol
The protocol for the activation of our products is open source. So you are able to use our products on systems without Windows or Linux.
Software | Seite 12
3.1.4. Access via provided test programs
We provide simple handling test programs for the most important functions of our products. These will be installed automatically by the installation of the DELIB driver library.
So you can test directly e.g. relays or you can check the voltage of an A/D converter.
Software | Seite 13
3.2. DELIB driver library
3.2.1. Overview
The following figure explains the structure of the DELIB driver library
The DELIB driver library allows an uniform response of DEDITEC hardware with particular consideration of the following viewpoints:
Independent of operating system Independent of programming language Independent of the product
Program under diverse operating systems
The DELIB driver library allows an uniform response of our products on diverse operating systems.
We has made sure, that all of our products can be responded by a few commands. Whatever which operating system you use. - Therefore the DELIB cares!
Software | Seite 14
Program with diverse programming languages
We provide uniform commands to create own applications. This will be solved by the DELIB driver library.
You choose the programming language!
It can be simply developed applications under C++, C, Visual Basic, Delphi or LabVIEW®.
Program independent of the interface
Write your application independent of the interface ! Program an apllication for an USB product of us. - Also, it will work with an
ethernet or RS-232 product of us !
SDK-Kit for Programmer
Integrate the DELIB in your application. On demand you receive an installation script for free, which allows you, to integrate the DELIB installation in your apllication.
Software | Seite 15
Loading...
+ 247 hidden pages