USB to TTL / UART Module Model: IEC-M011 A. 產品描述 : 傳統的工業控制產品往往透過 RS232/RS485/RS422 介面傳輸相關資料到主機 近來, 因電腦上面的 RS232 埠已取消, 僅剩 USB 介面接孔 此模組採用旺玖科技提供的 PL2303HXD(PL2303 的第五代晶片 ) 做為 USB 和 UART 之間的轉換工具 使用者無需大變動原來軟硬體設計, 只需與此硬體案連接圖完成, 軟體部份此模組以提供完整的 USB Driver, 使用者在不需要變動原本的應用程式, 即可直接使用, 這可降低使用者更換建制開發成本 B. 產品應用 : USB to Serial TTL Level Converter Upgrading Legacy Peripherals to USB Interface Microcontroller UART or I/O to USB Interface FPGA / PLD to USB Replace SP213 type level shifters allowing for direct connection of products to PC via USB USB Instrumentation PC interface USB Industrial Control USB Software / Hardware Encryption Dongles C. 產品可支援的作業系統 : Windows 98, 98SE, ME, 2000, Server 2003, XP and Server 2008 Windows XP and XP 64-bit Windows Vista and Vista 64-bit Windows XP Embedded and POSReady 2009 Windows CE 4.2, 5.0 and 6.0 Mac OS 8/9, OS-X Linux 2.4.31 and greater D. 產品規格 : Fully Compliant with USB Specification v2.0 (Full-Speed) On Chip USB 1.1 transceiver, 5V->3.3V regulator On-chip 96MHz clock generator Supports RS-422/RS-485 like serial interface (TXD, DTR_N, and RTS_N pins should be externally pulled-up to 5V) 1
Supports RS232-like Serial Interface Full-duplex transmitter and receiver (TXD and RXD) Six MODEM control pins (RTS, CTS, DTR, DSR, DCD, and RI) 5, 6, 7 or 8 data bits Odd, Even, Mark, Space, or None parity mode One, one and a half, or two stop bits Parity error, frame error, and serial break detection Programmable baud rate from 75 bps to 12M bps Independent power source for serial interface Extensive Flow Control Mechanism Adjustable high/low watermark level Automatic hardware flow control with CTS/RTS or DSR/DTR Automatic software flow control with XON/XOFF Inbound data buffer overflow detection Configurable 512-byte bi-directional data buffer 256-byte outbound buffer and 256-byte inbound buffer; or 128-byte outbound buffer and 384-byte inbound buffer Supports remote wake-up from MODEM input signals Four (4) General Purpose I/O (GP0, GP1, GP2, & GP3) pins On-chip OTP (One Time Programming) ROM for startup device configurations Hardware backward compatible with PL-2303H USB-IF Logo Compliant with TID 40000100 模組尺寸 : 3.2 cm ( 不含 USB Connector, 含 USB Connector 是 4.2cm) x 2 cm x 1 cm ( 含 Pin 的高度 ) E. 模組圖片 2
F. USB to TTL / UART Module PinDefine Pin Number Pin Name Type Desctiption 1 Tx Output 5 DTR Output 3 RTS Output Transmitted Data, 其準位預設是 3.3V, 可以透過板子上預留的 Header 自行調整為 1.8V~3.3V Data Terminal Ready, 其準位預設是 3.3V, 可以透過板子上預留的 Header 自行調整為 1.8V~3.3V Request To Send, 其準位預設是 3.3V, 可以透過板子上預留的 Header 自行調整為 1.8V~3.3V 2 Rx Received Data, 可以接受的準位最高可到 5V 7 RI Ring Indicator, 可以接受的準位最高可到 5V 6 DSR Data Set Ready, 可以接受的準位最高可到 5V 8 DCD Data Carrier Detect, 可以接受的準位最高可到 5V 4 CTS Clear To Send, 可以接受的準位最高可到 5V 0 1 2 / 為一般的 GPIO, 可以當成輸入腳 (input), 3
9 10 11 12 3 Output 也可以當成輸出腳 (output) 輸出腳其準位是 3.3V, 應用時除了當成一 般 LED 的指示燈外, 也可以當成繼電器的開 關, 進一步控制一般的電器用品 15 v1 VO33 Output / 可以提供 3.3V 100mA, 以供外部的線路使用 16 VO5 Output / 可以提供 5V 100mA, 以供外部的線路使用 如需要 5V 500mA 請事先提出 V2 VD232 Iutput / 可用來控制 Tx DTR RTS 的輸出電壓準位 (1.8V~3.3V) Note 1**: 13 14 GND GND 地線 Note 1**: VD232 可用來控制 Tx DTR 及 RTS 的輸出電壓準位 (1.8V~3.3V), 目前預設是用 R7 來控制 VD232 為 3.3V 如要自行調整 TTL 電壓時, 請將 R7 移掉後 : 1. 如從 VD232 處輸入 1.8V 時, 那 Tx DTR 及 RTS 的輸出電壓準位就會為 1.8V 2. 如從 VD232 處輸入 2.5V 時, 那 Tx DTR 及 RTS 的輸出電壓準位就會為 2.5V 3. 如從 VD232 處輸入 3.3V 時, 那 Tx DTR 及 RTS 的輸出電壓準位就會為 3.3V 日後如要恢復回 3.3V 的 TTL, 有下列兩種方式可以選擇, 只要選擇一種即可 : 1. 將 R7 的位置再用 0 歐姆電阻串起來 R7 的位置在板子的背面 2. 在 J3 的位置使用 2 pin 的排針 (Header), 並用 JUMP 將 VO33(v1) 及 VD232(v2) 給短路 G. 出貨額外說明 : 1. 可訂製 可固定 com port address 的功能 2. 可訂製 5V 500mA 的輸出功能 4
H. 以下兩個下載處, 不需要帳號及密碼就可以進去進行下載檔案的動作 各種作業系統的驅動程式下載處 : http://www.prolific.com.tw/eng/downloads.asp?id=31 4 GPIO sample Code 下載處 : http://www.prolific.com.tw/eng/downloads.asp?id=32 5