※本產品原廠代理從國外進口,有些交期較長,下訂前請詢問!
CP2104 USB-to-Serial Adapter Carrier (PI1308) CP2104 USB轉串口適配器載
This USB-to-serial adapter lets you easily connect a TTL serial device to a PC by acting as a virtual serial port. The board is a Micro-USB carrier for the Silicon Labs CP2104 USB-to-UART bridge that provides access to all of its control signal pins and GPIO pins.
Overview
This USB-to-serial adapter is a breakout board for the Silicon Labs CP2104 USB-to-UART bridge, and it is a great solution for connecting microcontroller projects and other logic-level serial devices to a personal computer. The tiny unit measures only 0.6″ × 0.95″ including its Micro-USB connector. It offers several options for accessing the data, control, and GPIO pins on the CP2104, all of which are made available on a 0.1″ spacing.
This board uses 3.45 V signal levels by default, but the signal pins can tolerate higher voltages, allowing the adapter to be used with 5 V systems that see 3.45 V as a logic high. The green LED on the SUSPEND line indicates an active USB connection when lit.
The adapter looks like a standard virtual serial port (COM port) to the computer’s operating system, which means it can be used with any software designed to work with a serial port (even a legacy RS-232 port). The CP2104 is a full-speed USB 2.0 device and allows baud rates of up to 2 Mbps. Drivers are available from Silicon Labs for Windows XP, Windows Vista, Windows 7, Windows 8, Linux, and Mac OS X.
This product requires a USB A to Micro-B cable (not included) to connect to a computer.
For a similar adapter with a USB Mini-B connector, please see the Pololu USB-to-Serial Adapter(PI391).
Specifications 產品規格
- Dimensions: 0.6″ × 0.95″ including connector
- USB standard: USB 2.0 (full speed)
- Connector: USB Micro-B
- Logic voltage level: 3.45 V (5 V tolerant)
- Supported baud rates: 300 bps to 2 Mbps
- Supply current: 25 mA
Using the adapter 使用適配器
Pinout 引腳
Pin 針 | Type 類型 | Function 功能 |
VDD | Power 功率 | 3.45 V voltage regulator output. 穩壓輸出 |
VBUS | Power | USB bus voltage(5 V). USB總線電壓 |
GND | Power | Ground. 地面 |
RST | In | Device reset. 器件復位 |
TX | Out | Asynchronous serial data transmit. (idle high).
異步串行數據傳輸(空閒高) |
RX | In | Asynchronous serial data receive.
異步串行數據接收. |
CTS | In | “Clear to send” control input. (often used with RTS).
“清除發送”控制輸入 (常與RTS使用) |
RTS | Out | “Ready to send” control output. (often used with CTS).
“準備發送”控制輸出 (常與CTS使用) |
DSR | In | "Data set ready" control input. (active low)(often used with DTR).
“數據設備就緒”控制輸入(低電平有效)(常與DTR使用) |
DTR | Out | "Data terminal ready" control output. (active low) (often used with DSR).
“數據終端就緒”控制輸出(低電平有效)(常與DSR使用) |
DCD | In | "Data carrier detect" control input. (active low).
“數據載波檢測”控制輸入(低電平有效) |
RI | In | "Ring indicator" control input. (active low).
“環指標”控制輸入(低電平有效) |
SUSPEND
暫停 | Out | Driven high when in USB suspend state.
驅動為高電平時,在USB掛起狀態 |
SUSPEND | Out | Driven low when in USB suspend state. (connected to green LED).
驅動為低電平時,在USB掛起狀態 (連接到綠色LED) |
GPIO.0 | I/O | User-configurable inputs or outputs. (one-time programmable).
用戶可配置的輸入或輸出 (一次性可編程) |
GPIO.1 |
GPIO.2 |
GPIO.3 |
Connections 連接
All of the adapter’s pins are available in two rows spaced 0.5″ apart along the sides of the board. This allows any pin to be accessed easily while the adapter is plugged into a solderless breadboard, as shown in the left picture below.
Alternatively, a 1×6 header can be soldered to the end of the board, as shown in the right picture below. This gives access to six signals (RTS, RX, TX, VBUS, CTS, and GND) that are commonly found on FTDI cables and other similar USB-to-serial adapters. As a result, this CP2104 adapter board can be used as a drop-in replacement for an FTDI cable in many applications, such as programming Arduino-compatible boards.
The carrier board ships with a 1×25 straight male header strip, a 1×6 right-angle male header strip, and a 1×6 right-angle female header as shown below. You can also solder wires directly to the pads for the smallest installation.
Using a different VIO 使用不同的VIO
This carrier board connects the VIO pin of the CP2104 to VDD by default, setting its logic voltage level to the 3.45 V provided by the IC’s built-in voltage regulator. If you want to use a lower logic voltage, you can disconnect VIO from VDD by cutting the thin trace between the two pads of the surface-mount jumper shown to the right. You can then solder a thin wire to the exposed via labeled “VIO” and connect it to a separate voltage supply (as low as 1.8 V).
Schematic diagram 示意圖
This schematic is also available as a downloadable PDF (188k pdf).
Advanced features 高級功能
You do not need to be familiar with details of the CP2104 to use this board as a basic USB-to-serial adapter, but the CP2104 also has specialized features including four general-purpose I/O (GPIO) pins and the ability to be customized via its one-time programmable ROM. For advanced users interested in these features, we recommend careful reading of the CP2104 datasheet(224k pdf). Additional resources, including application notes referenced by the datasheet, can also be found on the CP21xx product page of the Silicon Labs website.